amazonka-cloudwatch-2.0: Amazon CloudWatch 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.CloudWatch.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2010-08-01 of the Amazon CloudWatch SDK configuration.

Errors

_ConcurrentModificationException :: AsError a => Fold a ServiceError Source #

More than one process tried to modify a resource at the same time.

_DashboardInvalidInputError :: AsError a => Fold a ServiceError Source #

Some part of the dashboard data is invalid.

_DashboardNotFoundError :: AsError a => Fold a ServiceError Source #

The specified dashboard does not exist.

_InternalServiceFault :: AsError a => Fold a ServiceError Source #

Request processing has failed due to some unknown error, exception, or failure.

_InvalidFormatFault :: AsError a => Fold a ServiceError Source #

Data was not syntactically valid JSON.

_InvalidNextToken :: AsError a => Fold a ServiceError Source #

The next token specified is invalid.

_InvalidParameterCombinationException :: AsError a => Fold a ServiceError Source #

Parameters were used together that cannot be used together.

_InvalidParameterValueException :: AsError a => Fold a ServiceError Source #

The value of an input parameter is bad or out-of-range.

_LimitExceededException :: AsError a => Fold a ServiceError Source #

The operation exceeded one or more limits.

_LimitExceededFault :: AsError a => Fold a ServiceError Source #

The quota for alarms for this customer has already been reached.

_MissingRequiredParameterException :: AsError a => Fold a ServiceError Source #

An input parameter that is required is missing.

_ResourceNotFound :: AsError a => Fold a ServiceError Source #

The named resource does not exist.

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

The named resource does not exist.

ActionsSuppressedBy

newtype ActionsSuppressedBy Source #

Instances

Instances details
FromJSON ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

FromJSONKey ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

ToJSON ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

ToJSONKey ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

ToByteString ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

ToHeader ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

ToLog ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

ToQuery ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

FromText ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

ToText ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

FromXML ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

ToXML ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

Generic ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

Associated Types

type Rep ActionsSuppressedBy :: Type -> Type #

Read ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

Show ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

NFData ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

Methods

rnf :: ActionsSuppressedBy -> () #

Eq ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

Ord ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

Hashable ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

type Rep ActionsSuppressedBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ActionsSuppressedBy

type Rep ActionsSuppressedBy = D1 ('MetaData "ActionsSuppressedBy" "Amazonka.CloudWatch.Types.ActionsSuppressedBy" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'True) (C1 ('MetaCons "ActionsSuppressedBy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromActionsSuppressedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AlarmType

newtype AlarmType Source #

Constructors

AlarmType' 

Fields

Bundled Patterns

pattern AlarmType_CompositeAlarm :: AlarmType 
pattern AlarmType_MetricAlarm :: AlarmType 

Instances

Instances details
FromJSON AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

FromJSONKey AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

ToJSON AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

ToJSONKey AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

ToByteString AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

Methods

toBS :: AlarmType -> ByteString #

ToHeader AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

ToLog AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

ToQuery AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

FromText AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

ToText AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

Methods

toText :: AlarmType -> Text #

FromXML AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

ToXML AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

Methods

toXML :: AlarmType -> XML #

Generic AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

Associated Types

type Rep AlarmType :: Type -> Type #

Read AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

Show AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

NFData AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

Methods

rnf :: AlarmType -> () #

Eq AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

Ord AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

Hashable AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

type Rep AlarmType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmType

type Rep AlarmType = D1 ('MetaData "AlarmType" "Amazonka.CloudWatch.Types.AlarmType" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'True) (C1 ('MetaCons "AlarmType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAlarmType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AnomalyDetectorStateValue

newtype AnomalyDetectorStateValue Source #

Instances

Instances details
FromJSON AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

FromJSONKey AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

ToJSON AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

ToJSONKey AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

ToByteString AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

ToHeader AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

ToLog AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

ToQuery AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

FromText AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

ToText AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

FromXML AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

ToXML AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

Generic AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

Associated Types

type Rep AnomalyDetectorStateValue :: Type -> Type #

Read AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

Show AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

NFData AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

Eq AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

Ord AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

Hashable AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

type Rep AnomalyDetectorStateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorStateValue

type Rep AnomalyDetectorStateValue = D1 ('MetaData "AnomalyDetectorStateValue" "Amazonka.CloudWatch.Types.AnomalyDetectorStateValue" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'True) (C1 ('MetaCons "AnomalyDetectorStateValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAnomalyDetectorStateValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AnomalyDetectorType

newtype AnomalyDetectorType Source #

Instances

Instances details
FromJSON AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

FromJSONKey AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

ToJSON AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

ToJSONKey AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

ToByteString AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

ToHeader AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

ToLog AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

ToQuery AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

FromText AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

ToText AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

FromXML AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

ToXML AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

Generic AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

Associated Types

type Rep AnomalyDetectorType :: Type -> Type #

Read AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

Show AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

NFData AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

Methods

rnf :: AnomalyDetectorType -> () #

Eq AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

Ord AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

Hashable AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

type Rep AnomalyDetectorType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorType

type Rep AnomalyDetectorType = D1 ('MetaData "AnomalyDetectorType" "Amazonka.CloudWatch.Types.AnomalyDetectorType" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'True) (C1 ('MetaCons "AnomalyDetectorType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAnomalyDetectorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ComparisonOperator

newtype ComparisonOperator Source #

Instances

Instances details
FromJSON ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

FromJSONKey ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

ToJSON ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

ToJSONKey ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

ToByteString ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

ToHeader ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

ToLog ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

ToQuery ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

FromText ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

ToText ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

FromXML ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

ToXML ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

Generic ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

Associated Types

type Rep ComparisonOperator :: Type -> Type #

Read ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

Show ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

NFData ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

Methods

rnf :: ComparisonOperator -> () #

Eq ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

Ord ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

Hashable ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

type Rep ComparisonOperator Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ComparisonOperator

type Rep ComparisonOperator = D1 ('MetaData "ComparisonOperator" "Amazonka.CloudWatch.Types.ComparisonOperator" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'True) (C1 ('MetaCons "ComparisonOperator'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromComparisonOperator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EvaluationState

newtype EvaluationState Source #

Constructors

EvaluationState' 

Bundled Patterns

pattern EvaluationState_PARTIAL_DATA :: EvaluationState 

Instances

Instances details
FromJSON EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

FromJSONKey EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

ToJSON EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

ToJSONKey EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

ToByteString EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

ToHeader EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

ToLog EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

ToQuery EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

FromText EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

ToText EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

FromXML EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

ToXML EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

Methods

toXML :: EvaluationState -> XML #

Generic EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

Associated Types

type Rep EvaluationState :: Type -> Type #

Read EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

Show EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

NFData EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

Methods

rnf :: EvaluationState -> () #

Eq EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

Ord EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

Hashable EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

type Rep EvaluationState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.EvaluationState

type Rep EvaluationState = D1 ('MetaData "EvaluationState" "Amazonka.CloudWatch.Types.EvaluationState" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'True) (C1 ('MetaCons "EvaluationState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEvaluationState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

HistoryItemType

newtype HistoryItemType Source #

Constructors

HistoryItemType' 

Instances

Instances details
FromJSON HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

FromJSONKey HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

ToJSON HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

ToJSONKey HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

ToByteString HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

ToHeader HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

ToLog HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

ToQuery HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

FromText HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

ToText HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

FromXML HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

ToXML HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

Methods

toXML :: HistoryItemType -> XML #

Generic HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

Associated Types

type Rep HistoryItemType :: Type -> Type #

Read HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

Show HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

NFData HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

Methods

rnf :: HistoryItemType -> () #

Eq HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

Ord HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

Hashable HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

type Rep HistoryItemType Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.HistoryItemType

type Rep HistoryItemType = D1 ('MetaData "HistoryItemType" "Amazonka.CloudWatch.Types.HistoryItemType" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'True) (C1 ('MetaCons "HistoryItemType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromHistoryItemType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

MetricStreamOutputFormat

newtype MetricStreamOutputFormat Source #

Instances

Instances details
FromJSON MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

FromJSONKey MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

ToJSON MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

ToJSONKey MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

ToByteString MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

ToHeader MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

ToLog MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

ToQuery MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

FromText MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

ToText MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

FromXML MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

ToXML MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

Generic MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

Associated Types

type Rep MetricStreamOutputFormat :: Type -> Type #

Read MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

Show MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

NFData MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

Eq MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

Ord MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

Hashable MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

type Rep MetricStreamOutputFormat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamOutputFormat

type Rep MetricStreamOutputFormat = D1 ('MetaData "MetricStreamOutputFormat" "Amazonka.CloudWatch.Types.MetricStreamOutputFormat" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'True) (C1 ('MetaCons "MetricStreamOutputFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromMetricStreamOutputFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RecentlyActive

newtype RecentlyActive Source #

Constructors

RecentlyActive' 

Bundled Patterns

pattern RecentlyActive_PT3H :: RecentlyActive 

Instances

Instances details
FromJSON RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

FromJSONKey RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

ToJSON RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

ToJSONKey RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

ToByteString RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

ToHeader RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

ToLog RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

ToQuery RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

FromText RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

ToText RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

FromXML RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

ToXML RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

Methods

toXML :: RecentlyActive -> XML #

Generic RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

Associated Types

type Rep RecentlyActive :: Type -> Type #

Read RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

Show RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

NFData RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

Methods

rnf :: RecentlyActive -> () #

Eq RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

Ord RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

Hashable RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

type Rep RecentlyActive Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.RecentlyActive

type Rep RecentlyActive = D1 ('MetaData "RecentlyActive" "Amazonka.CloudWatch.Types.RecentlyActive" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'True) (C1 ('MetaCons "RecentlyActive'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRecentlyActive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ScanBy

newtype ScanBy Source #

Constructors

ScanBy' 

Fields

Bundled Patterns

pattern ScanBy_TimestampAscending :: ScanBy 
pattern ScanBy_TimestampDescending :: ScanBy 

Instances

Instances details
FromJSON ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

FromJSONKey ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

ToJSON ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

ToJSONKey ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

ToByteString ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

Methods

toBS :: ScanBy -> ByteString #

ToHeader ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

Methods

toHeader :: HeaderName -> ScanBy -> [Header] #

ToLog ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

ToQuery ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

FromText ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

ToText ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

Methods

toText :: ScanBy -> Text #

FromXML ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

ToXML ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

Methods

toXML :: ScanBy -> XML #

Generic ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

Associated Types

type Rep ScanBy :: Type -> Type #

Methods

from :: ScanBy -> Rep ScanBy x #

to :: Rep ScanBy x -> ScanBy #

Read ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

Show ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

NFData ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

Methods

rnf :: ScanBy -> () #

Eq ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

Methods

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

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

Ord ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

Hashable ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

Methods

hashWithSalt :: Int -> ScanBy -> Int #

hash :: ScanBy -> Int #

type Rep ScanBy Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ScanBy

type Rep ScanBy = D1 ('MetaData "ScanBy" "Amazonka.CloudWatch.Types.ScanBy" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'True) (C1 ('MetaCons "ScanBy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromScanBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StandardUnit

newtype StandardUnit Source #

Constructors

StandardUnit' 

Instances

Instances details
FromJSON StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

FromJSONKey StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

ToJSON StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

ToJSONKey StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

ToByteString StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

ToHeader StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

ToLog StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

ToQuery StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

FromText StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

ToText StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

Methods

toText :: StandardUnit -> Text #

FromXML StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

ToXML StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

Methods

toXML :: StandardUnit -> XML #

Generic StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

Associated Types

type Rep StandardUnit :: Type -> Type #

Read StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

Show StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

NFData StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

Methods

rnf :: StandardUnit -> () #

Eq StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

Ord StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

Hashable StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

type Rep StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StandardUnit

type Rep StandardUnit = D1 ('MetaData "StandardUnit" "Amazonka.CloudWatch.Types.StandardUnit" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'True) (C1 ('MetaCons "StandardUnit'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStandardUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StateValue

newtype StateValue Source #

Constructors

StateValue' 

Fields

Bundled Patterns

pattern StateValue_ALARM :: StateValue 
pattern StateValue_INSUFFICIENT_DATA :: StateValue 
pattern StateValue_OK :: StateValue 

Instances

Instances details
FromJSON StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

FromJSONKey StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

ToJSON StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

ToJSONKey StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

ToByteString StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

ToHeader StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

ToLog StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

ToQuery StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

FromText StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

ToText StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

Methods

toText :: StateValue -> Text #

FromXML StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

ToXML StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

Methods

toXML :: StateValue -> XML #

Generic StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

Associated Types

type Rep StateValue :: Type -> Type #

Read StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

Show StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

NFData StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

Methods

rnf :: StateValue -> () #

Eq StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

Ord StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

Hashable StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

type Rep StateValue Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StateValue

type Rep StateValue = D1 ('MetaData "StateValue" "Amazonka.CloudWatch.Types.StateValue" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'True) (C1 ('MetaCons "StateValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStateValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Statistic

newtype Statistic Source #

Constructors

Statistic' 

Fields

Instances

Instances details
FromJSON Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

FromJSONKey Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

ToJSON Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

ToJSONKey Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

ToByteString Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

Methods

toBS :: Statistic -> ByteString #

ToHeader Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

ToLog Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

ToQuery Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

FromText Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

ToText Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

Methods

toText :: Statistic -> Text #

FromXML Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

ToXML Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

Methods

toXML :: Statistic -> XML #

Generic Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

Associated Types

type Rep Statistic :: Type -> Type #

Read Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

Show Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

NFData Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

Methods

rnf :: Statistic -> () #

Eq Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

Ord Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

Hashable Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

type Rep Statistic Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Statistic

type Rep Statistic = D1 ('MetaData "Statistic" "Amazonka.CloudWatch.Types.Statistic" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'True) (C1 ('MetaCons "Statistic'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStatistic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StatusCode

newtype StatusCode Source #

Constructors

StatusCode' 

Fields

Instances

Instances details
FromJSON StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

FromJSONKey StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

ToJSON StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

ToJSONKey StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

ToByteString StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

ToHeader StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

ToLog StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

ToQuery StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

FromText StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

ToText StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

Methods

toText :: StatusCode -> Text #

FromXML StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

ToXML StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

Methods

toXML :: StatusCode -> XML #

Generic StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

Associated Types

type Rep StatusCode :: Type -> Type #

Read StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

Show StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

NFData StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

Methods

rnf :: StatusCode -> () #

Eq StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

Ord StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

Hashable StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

type Rep StatusCode Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatusCode

type Rep StatusCode = D1 ('MetaData "StatusCode" "Amazonka.CloudWatch.Types.StatusCode" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'True) (C1 ('MetaCons "StatusCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStatusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AlarmHistoryItem

data AlarmHistoryItem Source #

Represents the history of a specific alarm.

See: newAlarmHistoryItem smart constructor.

Constructors

AlarmHistoryItem' 

Fields

Instances

Instances details
FromXML AlarmHistoryItem Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmHistoryItem

Generic AlarmHistoryItem Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmHistoryItem

Associated Types

type Rep AlarmHistoryItem :: Type -> Type #

Read AlarmHistoryItem Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmHistoryItem

Show AlarmHistoryItem Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmHistoryItem

NFData AlarmHistoryItem Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmHistoryItem

Methods

rnf :: AlarmHistoryItem -> () #

Eq AlarmHistoryItem Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmHistoryItem

Hashable AlarmHistoryItem Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmHistoryItem

type Rep AlarmHistoryItem Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AlarmHistoryItem

type Rep AlarmHistoryItem = D1 ('MetaData "AlarmHistoryItem" "Amazonka.CloudWatch.Types.AlarmHistoryItem" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "AlarmHistoryItem'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "alarmName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "alarmType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AlarmType)) :*: S1 ('MetaSel ('Just "historyData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "historyItemType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HistoryItemType)) :*: (S1 ('MetaSel ('Just "historySummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))))))

newAlarmHistoryItem :: AlarmHistoryItem Source #

Create a value of AlarmHistoryItem 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:alarmName:AlarmHistoryItem', alarmHistoryItem_alarmName - The descriptive name for the alarm.

$sel:alarmType:AlarmHistoryItem', alarmHistoryItem_alarmType - The type of alarm, either metric alarm or composite alarm.

$sel:historyData:AlarmHistoryItem', alarmHistoryItem_historyData - Data about the alarm, in JSON format.

$sel:historyItemType:AlarmHistoryItem', alarmHistoryItem_historyItemType - The type of alarm history item.

$sel:historySummary:AlarmHistoryItem', alarmHistoryItem_historySummary - A summary of the alarm history, in text format.

$sel:timestamp:AlarmHistoryItem', alarmHistoryItem_timestamp - The time stamp for the alarm history item.

alarmHistoryItem_alarmName :: Lens' AlarmHistoryItem (Maybe Text) Source #

The descriptive name for the alarm.

alarmHistoryItem_alarmType :: Lens' AlarmHistoryItem (Maybe AlarmType) Source #

The type of alarm, either metric alarm or composite alarm.

alarmHistoryItem_historyData :: Lens' AlarmHistoryItem (Maybe Text) Source #

Data about the alarm, in JSON format.

alarmHistoryItem_historySummary :: Lens' AlarmHistoryItem (Maybe Text) Source #

A summary of the alarm history, in text format.

alarmHistoryItem_timestamp :: Lens' AlarmHistoryItem (Maybe UTCTime) Source #

The time stamp for the alarm history item.

AnomalyDetector

data AnomalyDetector Source #

An anomaly detection model associated with a particular CloudWatch metric, statistic, or metric math expression. You can use the model to display a band of expected, normal values when the metric is graphed.

See: newAnomalyDetector smart constructor.

Constructors

AnomalyDetector' 

Fields

Instances

Instances details
FromXML AnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetector

Generic AnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetector

Associated Types

type Rep AnomalyDetector :: Type -> Type #

Read AnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetector

Show AnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetector

NFData AnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetector

Methods

rnf :: AnomalyDetector -> () #

Eq AnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetector

Hashable AnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetector

type Rep AnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetector

newAnomalyDetector :: AnomalyDetector Source #

Create a value of AnomalyDetector 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:configuration:AnomalyDetector', anomalyDetector_configuration - The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude from use for training the model, and the time zone to use for the metric.

AnomalyDetector, anomalyDetector_dimensions - The metric dimensions associated with the anomaly detection model.

$sel:metricMathAnomalyDetector:AnomalyDetector', anomalyDetector_metricMathAnomalyDetector - The CloudWatch metric math expression for this anomaly detector.

AnomalyDetector, anomalyDetector_metricName - The name of the metric associated with the anomaly detection model.

AnomalyDetector, anomalyDetector_namespace - The namespace of the metric associated with the anomaly detection model.

$sel:singleMetricAnomalyDetector:AnomalyDetector', anomalyDetector_singleMetricAnomalyDetector - The CloudWatch metric and statistic for this anomaly detector.

AnomalyDetector, anomalyDetector_stat - The statistic associated with the anomaly detection model.

$sel:stateValue:AnomalyDetector', anomalyDetector_stateValue - The current status of the anomaly detector's training. The possible values are TRAINED | PENDING_TRAINING | TRAINED_INSUFFICIENT_DATA

anomalyDetector_configuration :: Lens' AnomalyDetector (Maybe AnomalyDetectorConfiguration) Source #

The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude from use for training the model, and the time zone to use for the metric.

anomalyDetector_dimensions :: Lens' AnomalyDetector (Maybe [Dimension]) Source #

The metric dimensions associated with the anomaly detection model.

anomalyDetector_metricMathAnomalyDetector :: Lens' AnomalyDetector (Maybe MetricMathAnomalyDetector) Source #

The CloudWatch metric math expression for this anomaly detector.

anomalyDetector_metricName :: Lens' AnomalyDetector (Maybe Text) Source #

The name of the metric associated with the anomaly detection model.

anomalyDetector_namespace :: Lens' AnomalyDetector (Maybe Text) Source #

The namespace of the metric associated with the anomaly detection model.

anomalyDetector_singleMetricAnomalyDetector :: Lens' AnomalyDetector (Maybe SingleMetricAnomalyDetector) Source #

The CloudWatch metric and statistic for this anomaly detector.

anomalyDetector_stat :: Lens' AnomalyDetector (Maybe Text) Source #

The statistic associated with the anomaly detection model.

anomalyDetector_stateValue :: Lens' AnomalyDetector (Maybe AnomalyDetectorStateValue) Source #

The current status of the anomaly detector's training. The possible values are TRAINED | PENDING_TRAINING | TRAINED_INSUFFICIENT_DATA

AnomalyDetectorConfiguration

data AnomalyDetectorConfiguration Source #

The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude from use for training the model and the time zone to use for the metric.

See: newAnomalyDetectorConfiguration smart constructor.

Constructors

AnomalyDetectorConfiguration' 

Fields

  • excludedTimeRanges :: Maybe [Range]

    An array of time ranges to exclude from use when the anomaly detection model is trained. Use this to make sure that events that could cause unusual values for the metric, such as deployments, aren't used when CloudWatch creates the model.

  • metricTimezone :: Maybe Text

    The time zone to use for the metric. This is useful to enable the model to automatically account for daylight savings time changes if the metric is sensitive to such time changes.

    To specify a time zone, use the name of the time zone as specified in the standard tz database. For more information, see tz database.

Instances

Instances details
ToQuery AnomalyDetectorConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorConfiguration

FromXML AnomalyDetectorConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorConfiguration

Generic AnomalyDetectorConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorConfiguration

Associated Types

type Rep AnomalyDetectorConfiguration :: Type -> Type #

Read AnomalyDetectorConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorConfiguration

Show AnomalyDetectorConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorConfiguration

NFData AnomalyDetectorConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorConfiguration

Eq AnomalyDetectorConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorConfiguration

Hashable AnomalyDetectorConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorConfiguration

type Rep AnomalyDetectorConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.AnomalyDetectorConfiguration

type Rep AnomalyDetectorConfiguration = D1 ('MetaData "AnomalyDetectorConfiguration" "Amazonka.CloudWatch.Types.AnomalyDetectorConfiguration" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "AnomalyDetectorConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "excludedTimeRanges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Range])) :*: S1 ('MetaSel ('Just "metricTimezone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAnomalyDetectorConfiguration :: AnomalyDetectorConfiguration Source #

Create a value of AnomalyDetectorConfiguration 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:excludedTimeRanges:AnomalyDetectorConfiguration', anomalyDetectorConfiguration_excludedTimeRanges - An array of time ranges to exclude from use when the anomaly detection model is trained. Use this to make sure that events that could cause unusual values for the metric, such as deployments, aren't used when CloudWatch creates the model.

$sel:metricTimezone:AnomalyDetectorConfiguration', anomalyDetectorConfiguration_metricTimezone - The time zone to use for the metric. This is useful to enable the model to automatically account for daylight savings time changes if the metric is sensitive to such time changes.

To specify a time zone, use the name of the time zone as specified in the standard tz database. For more information, see tz database.

anomalyDetectorConfiguration_excludedTimeRanges :: Lens' AnomalyDetectorConfiguration (Maybe [Range]) Source #

An array of time ranges to exclude from use when the anomaly detection model is trained. Use this to make sure that events that could cause unusual values for the metric, such as deployments, aren't used when CloudWatch creates the model.

anomalyDetectorConfiguration_metricTimezone :: Lens' AnomalyDetectorConfiguration (Maybe Text) Source #

The time zone to use for the metric. This is useful to enable the model to automatically account for daylight savings time changes if the metric is sensitive to such time changes.

To specify a time zone, use the name of the time zone as specified in the standard tz database. For more information, see tz database.

CompositeAlarm

data CompositeAlarm Source #

The details about a composite alarm.

See: newCompositeAlarm smart constructor.

Constructors

CompositeAlarm' 

Fields

  • actionsEnabled :: Maybe Bool

    Indicates whether actions should be executed during any changes to the alarm state.

  • actionsSuppressedBy :: Maybe ActionsSuppressedBy

    When the value is ALARM, it means that the actions are suppressed because the suppressor alarm is in ALARM When the value is WaitPeriod, it means that the actions are suppressed because the composite alarm is waiting for the suppressor alarm to go into into the ALARM state. The maximum waiting time is as specified in ActionsSuppressorWaitPeriod. After this time, the composite alarm performs its actions. When the value is ExtensionPeriod, it means that the actions are suppressed because the composite alarm is waiting after the suppressor alarm went out of the ALARM state. The maximum waiting time is as specified in ActionsSuppressorExtensionPeriod. After this time, the composite alarm performs its actions.

  • actionsSuppressedReason :: Maybe Text

    Captures the reason for action suppression.

  • actionsSuppressor :: Maybe Text

    Actions will be suppressed if the suppressor alarm is in the ALARM state. ActionsSuppressor can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm.

  • actionsSuppressorExtensionPeriod :: Maybe Int

    The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the ALARM state. After this time, the composite alarm performs its actions.

    ExtensionPeriod is required only when ActionsSuppressor is specified.

  • actionsSuppressorWaitPeriod :: Maybe Int

    The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the ALARM state. After this time, the composite alarm performs its actions.

    WaitPeriod is required only when ActionsSuppressor is specified.

  • alarmActions :: Maybe [Text]

    The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

  • alarmArn :: Maybe Text

    The Amazon Resource Name (ARN) of the alarm.

  • alarmConfigurationUpdatedTimestamp :: Maybe ISO8601

    The time stamp of the last update to the alarm configuration.

  • alarmDescription :: Maybe Text

    The description of the alarm.

  • alarmName :: Maybe Text

    The name of the alarm.

  • alarmRule :: Maybe Text

    The rule that this alarm uses to evaluate its alarm state.

  • insufficientDataActions :: Maybe [Text]

    The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

  • oKActions :: Maybe [Text]

    The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

  • stateReason :: Maybe Text

    An explanation for the alarm state, in text format.

  • stateReasonData :: Maybe Text

    An explanation for the alarm state, in JSON format.

  • stateTransitionedTimestamp :: Maybe ISO8601

    The timestamp of the last change to the alarm's StateValue.

  • stateUpdatedTimestamp :: Maybe ISO8601

    Tracks the timestamp of any state update, even if StateValue doesn't change.

  • stateValue :: Maybe StateValue

    The state value for the alarm.

Instances

Instances details
FromXML CompositeAlarm Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.CompositeAlarm

Generic CompositeAlarm Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.CompositeAlarm

Associated Types

type Rep CompositeAlarm :: Type -> Type #

Read CompositeAlarm Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.CompositeAlarm

Show CompositeAlarm Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.CompositeAlarm

NFData CompositeAlarm Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.CompositeAlarm

Methods

rnf :: CompositeAlarm -> () #

Eq CompositeAlarm Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.CompositeAlarm

Hashable CompositeAlarm Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.CompositeAlarm

type Rep CompositeAlarm Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.CompositeAlarm

type Rep CompositeAlarm = D1 ('MetaData "CompositeAlarm" "Amazonka.CloudWatch.Types.CompositeAlarm" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "CompositeAlarm'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "actionsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "actionsSuppressedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ActionsSuppressedBy))) :*: (S1 ('MetaSel ('Just "actionsSuppressedReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "actionsSuppressor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "actionsSuppressorExtensionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "actionsSuppressorWaitPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "alarmActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "alarmArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "alarmConfigurationUpdatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))))) :*: (((S1 ('MetaSel ('Just "alarmDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "alarmName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "alarmRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "insufficientDataActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "oKActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))) :*: ((S1 ('MetaSel ('Just "stateReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stateReasonData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "stateTransitionedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "stateUpdatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "stateValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StateValue))))))))

newCompositeAlarm :: CompositeAlarm Source #

Create a value of CompositeAlarm 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:actionsEnabled:CompositeAlarm', compositeAlarm_actionsEnabled - Indicates whether actions should be executed during any changes to the alarm state.

$sel:actionsSuppressedBy:CompositeAlarm', compositeAlarm_actionsSuppressedBy - When the value is ALARM, it means that the actions are suppressed because the suppressor alarm is in ALARM When the value is WaitPeriod, it means that the actions are suppressed because the composite alarm is waiting for the suppressor alarm to go into into the ALARM state. The maximum waiting time is as specified in ActionsSuppressorWaitPeriod. After this time, the composite alarm performs its actions. When the value is ExtensionPeriod, it means that the actions are suppressed because the composite alarm is waiting after the suppressor alarm went out of the ALARM state. The maximum waiting time is as specified in ActionsSuppressorExtensionPeriod. After this time, the composite alarm performs its actions.

$sel:actionsSuppressedReason:CompositeAlarm', compositeAlarm_actionsSuppressedReason - Captures the reason for action suppression.

$sel:actionsSuppressor:CompositeAlarm', compositeAlarm_actionsSuppressor - Actions will be suppressed if the suppressor alarm is in the ALARM state. ActionsSuppressor can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm.

$sel:actionsSuppressorExtensionPeriod:CompositeAlarm', compositeAlarm_actionsSuppressorExtensionPeriod - The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the ALARM state. After this time, the composite alarm performs its actions.

ExtensionPeriod is required only when ActionsSuppressor is specified.

$sel:actionsSuppressorWaitPeriod:CompositeAlarm', compositeAlarm_actionsSuppressorWaitPeriod - The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the ALARM state. After this time, the composite alarm performs its actions.

WaitPeriod is required only when ActionsSuppressor is specified.

$sel:alarmActions:CompositeAlarm', compositeAlarm_alarmActions - The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

$sel:alarmArn:CompositeAlarm', compositeAlarm_alarmArn - The Amazon Resource Name (ARN) of the alarm.

$sel:alarmConfigurationUpdatedTimestamp:CompositeAlarm', compositeAlarm_alarmConfigurationUpdatedTimestamp - The time stamp of the last update to the alarm configuration.

$sel:alarmDescription:CompositeAlarm', compositeAlarm_alarmDescription - The description of the alarm.

$sel:alarmName:CompositeAlarm', compositeAlarm_alarmName - The name of the alarm.

$sel:alarmRule:CompositeAlarm', compositeAlarm_alarmRule - The rule that this alarm uses to evaluate its alarm state.

$sel:insufficientDataActions:CompositeAlarm', compositeAlarm_insufficientDataActions - The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

$sel:oKActions:CompositeAlarm', compositeAlarm_oKActions - The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

$sel:stateReason:CompositeAlarm', compositeAlarm_stateReason - An explanation for the alarm state, in text format.

$sel:stateReasonData:CompositeAlarm', compositeAlarm_stateReasonData - An explanation for the alarm state, in JSON format.

$sel:stateTransitionedTimestamp:CompositeAlarm', compositeAlarm_stateTransitionedTimestamp - The timestamp of the last change to the alarm's StateValue.

$sel:stateUpdatedTimestamp:CompositeAlarm', compositeAlarm_stateUpdatedTimestamp - Tracks the timestamp of any state update, even if StateValue doesn't change.

$sel:stateValue:CompositeAlarm', compositeAlarm_stateValue - The state value for the alarm.

compositeAlarm_actionsEnabled :: Lens' CompositeAlarm (Maybe Bool) Source #

Indicates whether actions should be executed during any changes to the alarm state.

compositeAlarm_actionsSuppressedBy :: Lens' CompositeAlarm (Maybe ActionsSuppressedBy) Source #

When the value is ALARM, it means that the actions are suppressed because the suppressor alarm is in ALARM When the value is WaitPeriod, it means that the actions are suppressed because the composite alarm is waiting for the suppressor alarm to go into into the ALARM state. The maximum waiting time is as specified in ActionsSuppressorWaitPeriod. After this time, the composite alarm performs its actions. When the value is ExtensionPeriod, it means that the actions are suppressed because the composite alarm is waiting after the suppressor alarm went out of the ALARM state. The maximum waiting time is as specified in ActionsSuppressorExtensionPeriod. After this time, the composite alarm performs its actions.

compositeAlarm_actionsSuppressedReason :: Lens' CompositeAlarm (Maybe Text) Source #

Captures the reason for action suppression.

compositeAlarm_actionsSuppressor :: Lens' CompositeAlarm (Maybe Text) Source #

Actions will be suppressed if the suppressor alarm is in the ALARM state. ActionsSuppressor can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm.

compositeAlarm_actionsSuppressorExtensionPeriod :: Lens' CompositeAlarm (Maybe Int) Source #

The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the ALARM state. After this time, the composite alarm performs its actions.

ExtensionPeriod is required only when ActionsSuppressor is specified.

compositeAlarm_actionsSuppressorWaitPeriod :: Lens' CompositeAlarm (Maybe Int) Source #

The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the ALARM state. After this time, the composite alarm performs its actions.

WaitPeriod is required only when ActionsSuppressor is specified.

compositeAlarm_alarmActions :: Lens' CompositeAlarm (Maybe [Text]) Source #

The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

compositeAlarm_alarmArn :: Lens' CompositeAlarm (Maybe Text) Source #

The Amazon Resource Name (ARN) of the alarm.

compositeAlarm_alarmConfigurationUpdatedTimestamp :: Lens' CompositeAlarm (Maybe UTCTime) Source #

The time stamp of the last update to the alarm configuration.

compositeAlarm_alarmRule :: Lens' CompositeAlarm (Maybe Text) Source #

The rule that this alarm uses to evaluate its alarm state.

compositeAlarm_insufficientDataActions :: Lens' CompositeAlarm (Maybe [Text]) Source #

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

compositeAlarm_oKActions :: Lens' CompositeAlarm (Maybe [Text]) Source #

The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

compositeAlarm_stateReason :: Lens' CompositeAlarm (Maybe Text) Source #

An explanation for the alarm state, in text format.

compositeAlarm_stateReasonData :: Lens' CompositeAlarm (Maybe Text) Source #

An explanation for the alarm state, in JSON format.

compositeAlarm_stateTransitionedTimestamp :: Lens' CompositeAlarm (Maybe UTCTime) Source #

The timestamp of the last change to the alarm's StateValue.

compositeAlarm_stateUpdatedTimestamp :: Lens' CompositeAlarm (Maybe UTCTime) Source #

Tracks the timestamp of any state update, even if StateValue doesn't change.

DashboardEntry

data DashboardEntry Source #

Represents a specific dashboard.

See: newDashboardEntry smart constructor.

Constructors

DashboardEntry' 

Fields

Instances

Instances details
FromXML DashboardEntry Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DashboardEntry

Generic DashboardEntry Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DashboardEntry

Associated Types

type Rep DashboardEntry :: Type -> Type #

Read DashboardEntry Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DashboardEntry

Show DashboardEntry Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DashboardEntry

NFData DashboardEntry Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DashboardEntry

Methods

rnf :: DashboardEntry -> () #

Eq DashboardEntry Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DashboardEntry

Hashable DashboardEntry Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DashboardEntry

type Rep DashboardEntry Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DashboardEntry

type Rep DashboardEntry = D1 ('MetaData "DashboardEntry" "Amazonka.CloudWatch.Types.DashboardEntry" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "DashboardEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dashboardArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dashboardName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lastModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))

newDashboardEntry :: DashboardEntry Source #

Create a value of DashboardEntry 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:dashboardArn:DashboardEntry', dashboardEntry_dashboardArn - The Amazon Resource Name (ARN) of the dashboard.

$sel:dashboardName:DashboardEntry', dashboardEntry_dashboardName - The name of the dashboard.

$sel:lastModified:DashboardEntry', dashboardEntry_lastModified - The time stamp of when the dashboard was last modified, either by an API call or through the console. This number is expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.

$sel:size:DashboardEntry', dashboardEntry_size - The size of the dashboard, in bytes.

dashboardEntry_dashboardArn :: Lens' DashboardEntry (Maybe Text) Source #

The Amazon Resource Name (ARN) of the dashboard.

dashboardEntry_lastModified :: Lens' DashboardEntry (Maybe UTCTime) Source #

The time stamp of when the dashboard was last modified, either by an API call or through the console. This number is expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.

dashboardEntry_size :: Lens' DashboardEntry (Maybe Integer) Source #

The size of the dashboard, in bytes.

DashboardValidationMessage

data DashboardValidationMessage Source #

An error or warning for the operation.

See: newDashboardValidationMessage smart constructor.

Constructors

DashboardValidationMessage' 

Fields

Instances

Instances details
FromXML DashboardValidationMessage Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DashboardValidationMessage

Generic DashboardValidationMessage Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DashboardValidationMessage

Associated Types

type Rep DashboardValidationMessage :: Type -> Type #

Read DashboardValidationMessage Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DashboardValidationMessage

Show DashboardValidationMessage Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DashboardValidationMessage

NFData DashboardValidationMessage Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DashboardValidationMessage

Eq DashboardValidationMessage Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DashboardValidationMessage

Hashable DashboardValidationMessage Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DashboardValidationMessage

type Rep DashboardValidationMessage Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DashboardValidationMessage

type Rep DashboardValidationMessage = D1 ('MetaData "DashboardValidationMessage" "Amazonka.CloudWatch.Types.DashboardValidationMessage" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "DashboardValidationMessage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dataPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDashboardValidationMessage :: DashboardValidationMessage Source #

Create a value of DashboardValidationMessage 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:dataPath:DashboardValidationMessage', dashboardValidationMessage_dataPath - The data path related to the message.

$sel:message:DashboardValidationMessage', dashboardValidationMessage_message - A message describing the error or warning.

Datapoint

data Datapoint Source #

Encapsulates the statistical data that CloudWatch computes from metric data.

See: newDatapoint smart constructor.

Constructors

Datapoint' 

Fields

Instances

Instances details
FromXML Datapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Datapoint

Generic Datapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Datapoint

Associated Types

type Rep Datapoint :: Type -> Type #

Read Datapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Datapoint

Show Datapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Datapoint

NFData Datapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Datapoint

Methods

rnf :: Datapoint -> () #

Eq Datapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Datapoint

Hashable Datapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Datapoint

type Rep Datapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Datapoint

newDatapoint :: Datapoint Source #

Create a value of Datapoint 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:average:Datapoint', datapoint_average - The average of the metric values that correspond to the data point.

$sel:extendedStatistics:Datapoint', datapoint_extendedStatistics - The percentile statistic for the data point.

$sel:maximum:Datapoint', datapoint_maximum - The maximum metric value for the data point.

$sel:minimum:Datapoint', datapoint_minimum - The minimum metric value for the data point.

$sel:sampleCount:Datapoint', datapoint_sampleCount - The number of metric values that contributed to the aggregate value of this data point.

$sel:sum:Datapoint', datapoint_sum - The sum of the metric values for the data point.

$sel:timestamp:Datapoint', datapoint_timestamp - The time stamp used for the data point.

$sel:unit:Datapoint', datapoint_unit - The standard unit for the data point.

datapoint_average :: Lens' Datapoint (Maybe Double) Source #

The average of the metric values that correspond to the data point.

datapoint_extendedStatistics :: Lens' Datapoint (Maybe (HashMap Text Double)) Source #

The percentile statistic for the data point.

datapoint_maximum :: Lens' Datapoint (Maybe Double) Source #

The maximum metric value for the data point.

datapoint_minimum :: Lens' Datapoint (Maybe Double) Source #

The minimum metric value for the data point.

datapoint_sampleCount :: Lens' Datapoint (Maybe Double) Source #

The number of metric values that contributed to the aggregate value of this data point.

datapoint_sum :: Lens' Datapoint (Maybe Double) Source #

The sum of the metric values for the data point.

datapoint_timestamp :: Lens' Datapoint (Maybe UTCTime) Source #

The time stamp used for the data point.

datapoint_unit :: Lens' Datapoint (Maybe StandardUnit) Source #

The standard unit for the data point.

Dimension

data Dimension Source #

A dimension is a name/value pair that is part of the identity of a metric. Because dimensions are part of the unique identifier for a metric, whenever you add a unique name/value pair to one of your metrics, you are creating a new variation of that metric. For example, many Amazon EC2 metrics publish InstanceId as a dimension name, and the actual instance ID as the value for that dimension.

You can assign up to 30 dimensions to a metric.

See: newDimension smart constructor.

Constructors

Dimension' 

Fields

  • name :: Text

    The name of the dimension. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).

  • value :: Text

    The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character.

Instances

Instances details
ToQuery Dimension Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Dimension

FromXML Dimension Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Dimension

Generic Dimension Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Dimension

Associated Types

type Rep Dimension :: Type -> Type #

Read Dimension Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Dimension

Show Dimension Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Dimension

NFData Dimension Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Dimension

Methods

rnf :: Dimension -> () #

Eq Dimension Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Dimension

Hashable Dimension Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Dimension

type Rep Dimension Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Dimension

type Rep Dimension = D1 ('MetaData "Dimension" "Amazonka.CloudWatch.Types.Dimension" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "Dimension'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDimension Source #

Create a value of Dimension 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:name:Dimension', dimension_name - The name of the dimension. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).

$sel:value:Dimension', dimension_value - The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character.

dimension_name :: Lens' Dimension Text Source #

The name of the dimension. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).

dimension_value :: Lens' Dimension Text Source #

The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character.

DimensionFilter

data DimensionFilter Source #

Represents filters for a dimension.

See: newDimensionFilter smart constructor.

Constructors

DimensionFilter' 

Fields

Instances

Instances details
ToQuery DimensionFilter Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DimensionFilter

Generic DimensionFilter Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DimensionFilter

Associated Types

type Rep DimensionFilter :: Type -> Type #

Read DimensionFilter Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DimensionFilter

Show DimensionFilter Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DimensionFilter

NFData DimensionFilter Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DimensionFilter

Methods

rnf :: DimensionFilter -> () #

Eq DimensionFilter Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DimensionFilter

Hashable DimensionFilter Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DimensionFilter

type Rep DimensionFilter Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.DimensionFilter

type Rep DimensionFilter = D1 ('MetaData "DimensionFilter" "Amazonka.CloudWatch.Types.DimensionFilter" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "DimensionFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDimensionFilter Source #

Create a value of DimensionFilter 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:value:DimensionFilter', dimensionFilter_value - The value of the dimension to be matched.

$sel:name:DimensionFilter', dimensionFilter_name - The dimension name to be matched.

dimensionFilter_value :: Lens' DimensionFilter (Maybe Text) Source #

The value of the dimension to be matched.

dimensionFilter_name :: Lens' DimensionFilter Text Source #

The dimension name to be matched.

InsightRule

data InsightRule Source #

This structure contains the definition for a Contributor Insights rule. For more information about this rule, see Using Constributor Insights to analyze high-cardinality data in the Amazon CloudWatch User Guide.

See: newInsightRule smart constructor.

Constructors

InsightRule' 

Fields

  • managedRule :: Maybe Bool

    An optional built-in rule that Amazon Web Services manages.

  • name :: Text

    The name of the rule.

  • state :: Text

    Indicates whether the rule is enabled or disabled.

  • schema :: Text

    For rules that you create, this is always {"Name": "CloudWatchLogRule", "Version": 1}. For managed rules, this is {"Name": "ServiceLogRule", "Version": 1}

  • definition :: Text

    The definition of the rule, as a JSON object. The definition contains the keywords used to define contributors, the value to aggregate on if this rule returns a sum instead of a count, and the filters. For details on the valid syntax, see Contributor Insights Rule Syntax.

Instances

Instances details
FromXML InsightRule Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRule

Generic InsightRule Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRule

Associated Types

type Rep InsightRule :: Type -> Type #

Read InsightRule Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRule

Show InsightRule Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRule

NFData InsightRule Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRule

Methods

rnf :: InsightRule -> () #

Eq InsightRule Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRule

Hashable InsightRule Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRule

type Rep InsightRule Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRule

type Rep InsightRule = D1 ('MetaData "InsightRule" "Amazonka.CloudWatch.Types.InsightRule" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "InsightRule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "managedRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "schema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "definition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newInsightRule Source #

Create a value of InsightRule 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:managedRule:InsightRule', insightRule_managedRule - An optional built-in rule that Amazon Web Services manages.

$sel:name:InsightRule', insightRule_name - The name of the rule.

$sel:state:InsightRule', insightRule_state - Indicates whether the rule is enabled or disabled.

$sel:schema:InsightRule', insightRule_schema - For rules that you create, this is always {"Name": "CloudWatchLogRule", "Version": 1}. For managed rules, this is {"Name": "ServiceLogRule", "Version": 1}

$sel:definition:InsightRule', insightRule_definition - The definition of the rule, as a JSON object. The definition contains the keywords used to define contributors, the value to aggregate on if this rule returns a sum instead of a count, and the filters. For details on the valid syntax, see Contributor Insights Rule Syntax.

insightRule_managedRule :: Lens' InsightRule (Maybe Bool) Source #

An optional built-in rule that Amazon Web Services manages.

insightRule_name :: Lens' InsightRule Text Source #

The name of the rule.

insightRule_state :: Lens' InsightRule Text Source #

Indicates whether the rule is enabled or disabled.

insightRule_schema :: Lens' InsightRule Text Source #

For rules that you create, this is always {"Name": "CloudWatchLogRule", "Version": 1}. For managed rules, this is {"Name": "ServiceLogRule", "Version": 1}

insightRule_definition :: Lens' InsightRule Text Source #

The definition of the rule, as a JSON object. The definition contains the keywords used to define contributors, the value to aggregate on if this rule returns a sum instead of a count, and the filters. For details on the valid syntax, see Contributor Insights Rule Syntax.

InsightRuleContributor

data InsightRuleContributor Source #

One of the unique contributors found by a Contributor Insights rule. If the rule contains multiple keys, then a unique contributor is a unique combination of values from all the keys in the rule.

If the rule contains a single key, then each unique contributor is each unique value for this key.

For more information, see GetInsightRuleReport.

See: newInsightRuleContributor smart constructor.

Constructors

InsightRuleContributor' 

Fields

Instances

Instances details
FromXML InsightRuleContributor Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleContributor

Generic InsightRuleContributor Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleContributor

Associated Types

type Rep InsightRuleContributor :: Type -> Type #

Read InsightRuleContributor Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleContributor

Show InsightRuleContributor Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleContributor

NFData InsightRuleContributor Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleContributor

Methods

rnf :: InsightRuleContributor -> () #

Eq InsightRuleContributor Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleContributor

Hashable InsightRuleContributor Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleContributor

type Rep InsightRuleContributor Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleContributor

type Rep InsightRuleContributor = D1 ('MetaData "InsightRuleContributor" "Amazonka.CloudWatch.Types.InsightRuleContributor" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "InsightRuleContributor'" 'PrefixI 'True) (S1 ('MetaSel ('Just "keys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: (S1 ('MetaSel ('Just "approximateAggregateValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "datapoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [InsightRuleContributorDatapoint]))))

newInsightRuleContributor Source #

Create a value of InsightRuleContributor 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:keys:InsightRuleContributor', insightRuleContributor_keys - One of the log entry field keywords that is used to define contributors for this rule.

$sel:approximateAggregateValue:InsightRuleContributor', insightRuleContributor_approximateAggregateValue - An approximation of the aggregate value that comes from this contributor.

$sel:datapoints:InsightRuleContributor', insightRuleContributor_datapoints - An array of the data points where this contributor is present. Only the data points when this contributor appeared are included in the array.

insightRuleContributor_keys :: Lens' InsightRuleContributor [Text] Source #

One of the log entry field keywords that is used to define contributors for this rule.

insightRuleContributor_approximateAggregateValue :: Lens' InsightRuleContributor Double Source #

An approximation of the aggregate value that comes from this contributor.

insightRuleContributor_datapoints :: Lens' InsightRuleContributor [InsightRuleContributorDatapoint] Source #

An array of the data points where this contributor is present. Only the data points when this contributor appeared are included in the array.

InsightRuleContributorDatapoint

data InsightRuleContributorDatapoint Source #

One data point related to one contributor.

For more information, see GetInsightRuleReport and InsightRuleContributor.

See: newInsightRuleContributorDatapoint smart constructor.

Constructors

InsightRuleContributorDatapoint' 

Fields

Instances

Instances details
FromXML InsightRuleContributorDatapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleContributorDatapoint

Generic InsightRuleContributorDatapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleContributorDatapoint

Associated Types

type Rep InsightRuleContributorDatapoint :: Type -> Type #

Read InsightRuleContributorDatapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleContributorDatapoint

Show InsightRuleContributorDatapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleContributorDatapoint

NFData InsightRuleContributorDatapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleContributorDatapoint

Eq InsightRuleContributorDatapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleContributorDatapoint

Hashable InsightRuleContributorDatapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleContributorDatapoint

type Rep InsightRuleContributorDatapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleContributorDatapoint

type Rep InsightRuleContributorDatapoint = D1 ('MetaData "InsightRuleContributorDatapoint" "Amazonka.CloudWatch.Types.InsightRuleContributorDatapoint" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "InsightRuleContributorDatapoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "approximateValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)))

newInsightRuleContributorDatapoint Source #

Create a value of InsightRuleContributorDatapoint 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:timestamp:InsightRuleContributorDatapoint', insightRuleContributorDatapoint_timestamp - The timestamp of the data point.

$sel:approximateValue:InsightRuleContributorDatapoint', insightRuleContributorDatapoint_approximateValue - The approximate value that this contributor added during this timestamp.

insightRuleContributorDatapoint_approximateValue :: Lens' InsightRuleContributorDatapoint Double Source #

The approximate value that this contributor added during this timestamp.

InsightRuleMetricDatapoint

data InsightRuleMetricDatapoint Source #

One data point from the metric time series returned in a Contributor Insights rule report.

For more information, see GetInsightRuleReport.

See: newInsightRuleMetricDatapoint smart constructor.

Constructors

InsightRuleMetricDatapoint' 

Fields

  • average :: Maybe Double

    The average value from all contributors during the time period represented by that data point.

    This statistic is returned only if you included it in the Metrics array in your request.

  • maxContributorValue :: Maybe Double

    The maximum value provided by one contributor during this timestamp. Each timestamp is evaluated separately, so the identity of the max contributor could be different for each timestamp.

    This statistic is returned only if you included it in the Metrics array in your request.

  • maximum :: Maybe Double

    The maximum value from a single occurence from a single contributor during the time period represented by that data point.

    This statistic is returned only if you included it in the Metrics array in your request.

  • minimum :: Maybe Double

    The minimum value from a single contributor during the time period represented by that data point.

    This statistic is returned only if you included it in the Metrics array in your request.

  • sampleCount :: Maybe Double

    The number of occurrences that matched the rule during this data point.

    This statistic is returned only if you included it in the Metrics array in your request.

  • sum :: Maybe Double

    The sum of the values from all contributors during the time period represented by that data point.

    This statistic is returned only if you included it in the Metrics array in your request.

  • uniqueContributors :: Maybe Double

    The number of unique contributors who published data during this timestamp.

    This statistic is returned only if you included it in the Metrics array in your request.

  • timestamp :: ISO8601

    The timestamp of the data point.

Instances

Instances details
FromXML InsightRuleMetricDatapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleMetricDatapoint

Generic InsightRuleMetricDatapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleMetricDatapoint

Associated Types

type Rep InsightRuleMetricDatapoint :: Type -> Type #

Read InsightRuleMetricDatapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleMetricDatapoint

Show InsightRuleMetricDatapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleMetricDatapoint

NFData InsightRuleMetricDatapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleMetricDatapoint

Eq InsightRuleMetricDatapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleMetricDatapoint

Hashable InsightRuleMetricDatapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleMetricDatapoint

type Rep InsightRuleMetricDatapoint Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.InsightRuleMetricDatapoint

type Rep InsightRuleMetricDatapoint = D1 ('MetaData "InsightRuleMetricDatapoint" "Amazonka.CloudWatch.Types.InsightRuleMetricDatapoint" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "InsightRuleMetricDatapoint'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "average") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "maxContributorValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "maximum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "minimum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))) :*: ((S1 ('MetaSel ('Just "sampleCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "sum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "uniqueContributors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)))))

newInsightRuleMetricDatapoint Source #

Create a value of InsightRuleMetricDatapoint 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:average:InsightRuleMetricDatapoint', insightRuleMetricDatapoint_average - The average value from all contributors during the time period represented by that data point.

This statistic is returned only if you included it in the Metrics array in your request.

$sel:maxContributorValue:InsightRuleMetricDatapoint', insightRuleMetricDatapoint_maxContributorValue - The maximum value provided by one contributor during this timestamp. Each timestamp is evaluated separately, so the identity of the max contributor could be different for each timestamp.

This statistic is returned only if you included it in the Metrics array in your request.

$sel:maximum:InsightRuleMetricDatapoint', insightRuleMetricDatapoint_maximum - The maximum value from a single occurence from a single contributor during the time period represented by that data point.

This statistic is returned only if you included it in the Metrics array in your request.

$sel:minimum:InsightRuleMetricDatapoint', insightRuleMetricDatapoint_minimum - The minimum value from a single contributor during the time period represented by that data point.

This statistic is returned only if you included it in the Metrics array in your request.

$sel:sampleCount:InsightRuleMetricDatapoint', insightRuleMetricDatapoint_sampleCount - The number of occurrences that matched the rule during this data point.

This statistic is returned only if you included it in the Metrics array in your request.

$sel:sum:InsightRuleMetricDatapoint', insightRuleMetricDatapoint_sum - The sum of the values from all contributors during the time period represented by that data point.

This statistic is returned only if you included it in the Metrics array in your request.

$sel:uniqueContributors:InsightRuleMetricDatapoint', insightRuleMetricDatapoint_uniqueContributors - The number of unique contributors who published data during this timestamp.

This statistic is returned only if you included it in the Metrics array in your request.

$sel:timestamp:InsightRuleMetricDatapoint', insightRuleMetricDatapoint_timestamp - The timestamp of the data point.

insightRuleMetricDatapoint_average :: Lens' InsightRuleMetricDatapoint (Maybe Double) Source #

The average value from all contributors during the time period represented by that data point.

This statistic is returned only if you included it in the Metrics array in your request.

insightRuleMetricDatapoint_maxContributorValue :: Lens' InsightRuleMetricDatapoint (Maybe Double) Source #

The maximum value provided by one contributor during this timestamp. Each timestamp is evaluated separately, so the identity of the max contributor could be different for each timestamp.

This statistic is returned only if you included it in the Metrics array in your request.

insightRuleMetricDatapoint_maximum :: Lens' InsightRuleMetricDatapoint (Maybe Double) Source #

The maximum value from a single occurence from a single contributor during the time period represented by that data point.

This statistic is returned only if you included it in the Metrics array in your request.

insightRuleMetricDatapoint_minimum :: Lens' InsightRuleMetricDatapoint (Maybe Double) Source #

The minimum value from a single contributor during the time period represented by that data point.

This statistic is returned only if you included it in the Metrics array in your request.

insightRuleMetricDatapoint_sampleCount :: Lens' InsightRuleMetricDatapoint (Maybe Double) Source #

The number of occurrences that matched the rule during this data point.

This statistic is returned only if you included it in the Metrics array in your request.

insightRuleMetricDatapoint_sum :: Lens' InsightRuleMetricDatapoint (Maybe Double) Source #

The sum of the values from all contributors during the time period represented by that data point.

This statistic is returned only if you included it in the Metrics array in your request.

insightRuleMetricDatapoint_uniqueContributors :: Lens' InsightRuleMetricDatapoint (Maybe Double) Source #

The number of unique contributors who published data during this timestamp.

This statistic is returned only if you included it in the Metrics array in your request.

LabelOptions

data LabelOptions Source #

This structure includes the Timezone parameter, which you can use to specify your time zone so that the labels that are associated with returned metrics display the correct time for your time zone.

The Timezone value affects a label only if you have a time-based dynamic expression in the label. For more information about dynamic expressions in labels, see Using Dynamic Labels.

See: newLabelOptions smart constructor.

Constructors

LabelOptions' 

Fields

  • timezone :: Maybe Text

    The time zone to use for metric data return in this operation. The format is + or - followed by four digits. The first two digits indicate the number of hours ahead or behind of UTC, and the final two digits are the number of minutes. For example, +0130 indicates a time zone that is 1 hour and 30 minutes ahead of UTC. The default is +0000.

Instances

Instances details
ToQuery LabelOptions Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.LabelOptions

Generic LabelOptions Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.LabelOptions

Associated Types

type Rep LabelOptions :: Type -> Type #

Read LabelOptions Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.LabelOptions

Show LabelOptions Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.LabelOptions

NFData LabelOptions Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.LabelOptions

Methods

rnf :: LabelOptions -> () #

Eq LabelOptions Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.LabelOptions

Hashable LabelOptions Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.LabelOptions

type Rep LabelOptions Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.LabelOptions

type Rep LabelOptions = D1 ('MetaData "LabelOptions" "Amazonka.CloudWatch.Types.LabelOptions" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "LabelOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timezone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newLabelOptions :: LabelOptions Source #

Create a value of LabelOptions 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:timezone:LabelOptions', labelOptions_timezone - The time zone to use for metric data return in this operation. The format is + or - followed by four digits. The first two digits indicate the number of hours ahead or behind of UTC, and the final two digits are the number of minutes. For example, +0130 indicates a time zone that is 1 hour and 30 minutes ahead of UTC. The default is +0000.

labelOptions_timezone :: Lens' LabelOptions (Maybe Text) Source #

The time zone to use for metric data return in this operation. The format is + or - followed by four digits. The first two digits indicate the number of hours ahead or behind of UTC, and the final two digits are the number of minutes. For example, +0130 indicates a time zone that is 1 hour and 30 minutes ahead of UTC. The default is +0000.

ManagedRule

data ManagedRule Source #

Contains the information that's required to enable a managed Contributor Insights rule for an Amazon Web Services resource.

See: newManagedRule smart constructor.

Constructors

ManagedRule' 

Fields

  • tags :: Maybe [Tag]

    A list of key-value pairs that you can associate with a managed Contributor Insights rule. You can associate as many as 50 tags with a rule. Tags can help you organize and categorize your resources. You also can use them to scope user permissions by granting a user permission to access or change only the resources that have certain tag values. To associate tags with a rule, you must have the cloudwatch:TagResource permission in addition to the cloudwatch:PutInsightRule permission. If you are using this operation to update an existing Contributor Insights rule, any tags that you specify in this parameter are ignored. To change the tags of an existing rule, use TagResource.

  • templateName :: Text

    The template name for the managed Contributor Insights rule, as returned by ListManagedInsightRules.

  • resourceARN :: Text

    The ARN of an Amazon Web Services resource that has managed Contributor Insights rules.

Instances

Instances details
ToQuery ManagedRule Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRule

Generic ManagedRule Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRule

Associated Types

type Rep ManagedRule :: Type -> Type #

Read ManagedRule Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRule

Show ManagedRule Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRule

NFData ManagedRule Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRule

Methods

rnf :: ManagedRule -> () #

Eq ManagedRule Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRule

Hashable ManagedRule Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRule

type Rep ManagedRule Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRule

type Rep ManagedRule = D1 ('MetaData "ManagedRule" "Amazonka.CloudWatch.Types.ManagedRule" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "ManagedRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newManagedRule Source #

Create a value of ManagedRule 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:tags:ManagedRule', managedRule_tags - A list of key-value pairs that you can associate with a managed Contributor Insights rule. You can associate as many as 50 tags with a rule. Tags can help you organize and categorize your resources. You also can use them to scope user permissions by granting a user permission to access or change only the resources that have certain tag values. To associate tags with a rule, you must have the cloudwatch:TagResource permission in addition to the cloudwatch:PutInsightRule permission. If you are using this operation to update an existing Contributor Insights rule, any tags that you specify in this parameter are ignored. To change the tags of an existing rule, use TagResource.

$sel:templateName:ManagedRule', managedRule_templateName - The template name for the managed Contributor Insights rule, as returned by ListManagedInsightRules.

$sel:resourceARN:ManagedRule', managedRule_resourceARN - The ARN of an Amazon Web Services resource that has managed Contributor Insights rules.

managedRule_tags :: Lens' ManagedRule (Maybe [Tag]) Source #

A list of key-value pairs that you can associate with a managed Contributor Insights rule. You can associate as many as 50 tags with a rule. Tags can help you organize and categorize your resources. You also can use them to scope user permissions by granting a user permission to access or change only the resources that have certain tag values. To associate tags with a rule, you must have the cloudwatch:TagResource permission in addition to the cloudwatch:PutInsightRule permission. If you are using this operation to update an existing Contributor Insights rule, any tags that you specify in this parameter are ignored. To change the tags of an existing rule, use TagResource.

managedRule_templateName :: Lens' ManagedRule Text Source #

The template name for the managed Contributor Insights rule, as returned by ListManagedInsightRules.

managedRule_resourceARN :: Lens' ManagedRule Text Source #

The ARN of an Amazon Web Services resource that has managed Contributor Insights rules.

ManagedRuleDescription

data ManagedRuleDescription Source #

Contains information about managed Contributor Insights rules, as returned by ListManagedInsightRules.

See: newManagedRuleDescription smart constructor.

Constructors

ManagedRuleDescription' 

Fields

  • resourceARN :: Maybe Text

    If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.

  • ruleState :: Maybe ManagedRuleState

    Describes the state of a managed rule. If present, it contains information about the Contributor Insights rule that contains information about the related Amazon Web Services resource.

  • templateName :: Maybe Text

    The template name for the managed rule. Used to enable managed rules using PutManagedInsightRules.

Instances

Instances details
FromXML ManagedRuleDescription Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleDescription

Generic ManagedRuleDescription Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleDescription

Associated Types

type Rep ManagedRuleDescription :: Type -> Type #

Read ManagedRuleDescription Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleDescription

Show ManagedRuleDescription Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleDescription

NFData ManagedRuleDescription Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleDescription

Methods

rnf :: ManagedRuleDescription -> () #

Eq ManagedRuleDescription Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleDescription

Hashable ManagedRuleDescription Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleDescription

type Rep ManagedRuleDescription Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleDescription

type Rep ManagedRuleDescription = D1 ('MetaData "ManagedRuleDescription" "Amazonka.CloudWatch.Types.ManagedRuleDescription" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "ManagedRuleDescription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "ruleState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ManagedRuleState)) :*: S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newManagedRuleDescription :: ManagedRuleDescription Source #

Create a value of ManagedRuleDescription 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:resourceARN:ManagedRuleDescription', managedRuleDescription_resourceARN - If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.

$sel:ruleState:ManagedRuleDescription', managedRuleDescription_ruleState - Describes the state of a managed rule. If present, it contains information about the Contributor Insights rule that contains information about the related Amazon Web Services resource.

$sel:templateName:ManagedRuleDescription', managedRuleDescription_templateName - The template name for the managed rule. Used to enable managed rules using PutManagedInsightRules.

managedRuleDescription_resourceARN :: Lens' ManagedRuleDescription (Maybe Text) Source #

If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.

managedRuleDescription_ruleState :: Lens' ManagedRuleDescription (Maybe ManagedRuleState) Source #

Describes the state of a managed rule. If present, it contains information about the Contributor Insights rule that contains information about the related Amazon Web Services resource.

managedRuleDescription_templateName :: Lens' ManagedRuleDescription (Maybe Text) Source #

The template name for the managed rule. Used to enable managed rules using PutManagedInsightRules.

ManagedRuleState

data ManagedRuleState Source #

The status of a managed Contributor Insights rule.

See: newManagedRuleState smart constructor.

Constructors

ManagedRuleState' 

Fields

  • ruleName :: Text

    The name of the Contributor Insights rule that contains data for the specified Amazon Web Services resource.

  • state :: Text

    Indicates whether the rule is enabled or disabled.

Instances

Instances details
FromXML ManagedRuleState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleState

Generic ManagedRuleState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleState

Associated Types

type Rep ManagedRuleState :: Type -> Type #

Read ManagedRuleState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleState

Show ManagedRuleState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleState

NFData ManagedRuleState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleState

Methods

rnf :: ManagedRuleState -> () #

Eq ManagedRuleState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleState

Hashable ManagedRuleState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleState

type Rep ManagedRuleState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleState

type Rep ManagedRuleState = D1 ('MetaData "ManagedRuleState" "Amazonka.CloudWatch.Types.ManagedRuleState" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "ManagedRuleState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newManagedRuleState Source #

Create a value of ManagedRuleState 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:ruleName:ManagedRuleState', managedRuleState_ruleName - The name of the Contributor Insights rule that contains data for the specified Amazon Web Services resource.

$sel:state:ManagedRuleState', managedRuleState_state - Indicates whether the rule is enabled or disabled.

managedRuleState_ruleName :: Lens' ManagedRuleState Text Source #

The name of the Contributor Insights rule that contains data for the specified Amazon Web Services resource.

managedRuleState_state :: Lens' ManagedRuleState Text Source #

Indicates whether the rule is enabled or disabled.

MessageData

data MessageData Source #

A message returned by the GetMetricDataAPI, including a code and a description.

If a cross-Region GetMetricData operation fails with a code of Forbidden and a value of Authentication too complex to retrieve cross region data, you can correct the problem by running the GetMetricData operation in the same Region where the metric data is.

See: newMessageData smart constructor.

Constructors

MessageData' 

Fields

Instances

Instances details
FromXML MessageData Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MessageData

Generic MessageData Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MessageData

Associated Types

type Rep MessageData :: Type -> Type #

Read MessageData Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MessageData

Show MessageData Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MessageData

NFData MessageData Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MessageData

Methods

rnf :: MessageData -> () #

Eq MessageData Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MessageData

Hashable MessageData Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MessageData

type Rep MessageData Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MessageData

type Rep MessageData = D1 ('MetaData "MessageData" "Amazonka.CloudWatch.Types.MessageData" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "MessageData'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newMessageData :: MessageData Source #

Create a value of MessageData 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:code:MessageData', messageData_code - The error code or status code associated with the message.

$sel:value:MessageData', messageData_value - The message text.

messageData_code :: Lens' MessageData (Maybe Text) Source #

The error code or status code associated with the message.

Metric

data Metric Source #

Represents a specific metric.

See: newMetric smart constructor.

Constructors

Metric' 

Fields

Instances

Instances details
ToQuery Metric Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Metric

FromXML Metric Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Metric

Generic Metric Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Metric

Associated Types

type Rep Metric :: Type -> Type #

Methods

from :: Metric -> Rep Metric x #

to :: Rep Metric x -> Metric #

Read Metric Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Metric

Show Metric Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Metric

NFData Metric Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Metric

Methods

rnf :: Metric -> () #

Eq Metric Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Metric

Methods

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

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

Hashable Metric Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Metric

Methods

hashWithSalt :: Int -> Metric -> Int #

hash :: Metric -> Int #

type Rep Metric Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Metric

type Rep Metric = D1 ('MetaData "Metric" "Amazonka.CloudWatch.Types.Metric" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "Metric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Dimension])) :*: (S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newMetric :: Metric Source #

Create a value of Metric 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:dimensions:Metric', metric_dimensions - The dimensions for the metric.

$sel:metricName:Metric', metric_metricName - The name of the metric. This is a required field.

$sel:namespace:Metric', metric_namespace - The namespace of the metric.

metric_dimensions :: Lens' Metric (Maybe [Dimension]) Source #

The dimensions for the metric.

metric_metricName :: Lens' Metric (Maybe Text) Source #

The name of the metric. This is a required field.

metric_namespace :: Lens' Metric (Maybe Text) Source #

The namespace of the metric.

MetricAlarm

data MetricAlarm Source #

The details about a metric alarm.

See: newMetricAlarm smart constructor.

Constructors

MetricAlarm' 

Fields

Instances

Instances details
FromXML MetricAlarm Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricAlarm

Generic MetricAlarm Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricAlarm

Associated Types

type Rep MetricAlarm :: Type -> Type #

Read MetricAlarm Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricAlarm

Show MetricAlarm Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricAlarm

NFData MetricAlarm Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricAlarm

Methods

rnf :: MetricAlarm -> () #

Eq MetricAlarm Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricAlarm

Hashable MetricAlarm Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricAlarm

type Rep MetricAlarm Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricAlarm

type Rep MetricAlarm = D1 ('MetaData "MetricAlarm" "Amazonka.CloudWatch.Types.MetricAlarm" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "MetricAlarm'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "actionsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "alarmActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "alarmArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "alarmConfigurationUpdatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "alarmDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "alarmName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "comparisonOperator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComparisonOperator))))) :*: ((S1 ('MetaSel ('Just "datapointsToAlarm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Dimension])) :*: S1 ('MetaSel ('Just "evaluateLowSampleCountPercentile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "evaluationPeriods") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "evaluationState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EvaluationState))) :*: (S1 ('MetaSel ('Just "extendedStatistic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "insufficientDataActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))) :*: (((S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "metrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricDataQuery])) :*: S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "oKActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "period") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "stateReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stateReasonData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "stateTransitionedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "stateUpdatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))) :*: (S1 ('MetaSel ('Just "stateValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StateValue)) :*: S1 ('MetaSel ('Just "statistic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Statistic)))) :*: ((S1 ('MetaSel ('Just "threshold") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "thresholdMetricId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "treatMissingData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StandardUnit))))))))

newMetricAlarm :: MetricAlarm Source #

Create a value of MetricAlarm 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:actionsEnabled:MetricAlarm', metricAlarm_actionsEnabled - Indicates whether actions should be executed during any changes to the alarm state.

$sel:alarmActions:MetricAlarm', metricAlarm_alarmActions - The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

$sel:alarmArn:MetricAlarm', metricAlarm_alarmArn - The Amazon Resource Name (ARN) of the alarm.

$sel:alarmConfigurationUpdatedTimestamp:MetricAlarm', metricAlarm_alarmConfigurationUpdatedTimestamp - The time stamp of the last update to the alarm configuration.

$sel:alarmDescription:MetricAlarm', metricAlarm_alarmDescription - The description of the alarm.

$sel:alarmName:MetricAlarm', metricAlarm_alarmName - The name of the alarm.

$sel:comparisonOperator:MetricAlarm', metricAlarm_comparisonOperator - The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.

$sel:datapointsToAlarm:MetricAlarm', metricAlarm_datapointsToAlarm - The number of data points that must be breaching to trigger the alarm.

$sel:dimensions:MetricAlarm', metricAlarm_dimensions - The dimensions for the metric associated with the alarm.

$sel:evaluateLowSampleCountPercentile:MetricAlarm', metricAlarm_evaluateLowSampleCountPercentile - Used only for alarms based on percentiles. If ignore, the alarm state does not change during periods with too few data points to be statistically significant. If evaluate or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available.

$sel:evaluationPeriods:MetricAlarm', metricAlarm_evaluationPeriods - The number of periods over which data is compared to the specified threshold.

$sel:evaluationState:MetricAlarm', metricAlarm_evaluationState - If the value of this field is PARTIAL_DATA, the alarm is being evaluated based on only partial data. This happens if the query used for the alarm returns more than 10,000 metrics. For more information, see Create alarms on Metrics Insights queries.

$sel:extendedStatistic:MetricAlarm', metricAlarm_extendedStatistic - The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.

$sel:insufficientDataActions:MetricAlarm', metricAlarm_insufficientDataActions - The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

$sel:metricName:MetricAlarm', metricAlarm_metricName - The name of the metric associated with the alarm, if this is an alarm based on a single metric.

$sel:metrics:MetricAlarm', metricAlarm_metrics - An array of MetricDataQuery structures, used in an alarm based on a metric math expression. Each structure either retrieves a metric or performs a math expression. One item in the Metrics array is the math expression that the alarm watches. This expression by designated by having ReturnData set to true.

$sel:namespace:MetricAlarm', metricAlarm_namespace - The namespace of the metric associated with the alarm.

$sel:oKActions:MetricAlarm', metricAlarm_oKActions - The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

MetricAlarm, metricAlarm_period - The period, in seconds, over which the statistic is applied.

$sel:stateReason:MetricAlarm', metricAlarm_stateReason - An explanation for the alarm state, in text format.

$sel:stateReasonData:MetricAlarm', metricAlarm_stateReasonData - An explanation for the alarm state, in JSON format.

$sel:stateTransitionedTimestamp:MetricAlarm', metricAlarm_stateTransitionedTimestamp - The date and time that the alarm's StateValue most recently changed.

$sel:stateUpdatedTimestamp:MetricAlarm', metricAlarm_stateUpdatedTimestamp - The time stamp of the last update to the value of either the StateValue or EvaluationState parameters.

$sel:stateValue:MetricAlarm', metricAlarm_stateValue - The state value for the alarm.

$sel:statistic:MetricAlarm', metricAlarm_statistic - The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ExtendedStatistic.

$sel:threshold:MetricAlarm', metricAlarm_threshold - The value to compare with the specified statistic.

$sel:thresholdMetricId:MetricAlarm', metricAlarm_thresholdMetricId - In an alarm based on an anomaly detection model, this is the ID of the ANOMALY_DETECTION_BAND function used as the threshold for the alarm.

$sel:treatMissingData:MetricAlarm', metricAlarm_treatMissingData - Sets how this alarm is to handle missing data points. The valid values are breaching, notBreaching, ignore, and missing. For more information, see Configuring how CloudWatch alarms treat missing data.

If this parameter is omitted, the default behavior of missing is used.

$sel:unit:MetricAlarm', metricAlarm_unit - The unit of the metric associated with the alarm.

metricAlarm_actionsEnabled :: Lens' MetricAlarm (Maybe Bool) Source #

Indicates whether actions should be executed during any changes to the alarm state.

metricAlarm_alarmActions :: Lens' MetricAlarm (Maybe [Text]) Source #

The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

metricAlarm_alarmArn :: Lens' MetricAlarm (Maybe Text) Source #

The Amazon Resource Name (ARN) of the alarm.

metricAlarm_alarmConfigurationUpdatedTimestamp :: Lens' MetricAlarm (Maybe UTCTime) Source #

The time stamp of the last update to the alarm configuration.

metricAlarm_alarmDescription :: Lens' MetricAlarm (Maybe Text) Source #

The description of the alarm.

metricAlarm_comparisonOperator :: Lens' MetricAlarm (Maybe ComparisonOperator) Source #

The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.

metricAlarm_datapointsToAlarm :: Lens' MetricAlarm (Maybe Natural) Source #

The number of data points that must be breaching to trigger the alarm.

metricAlarm_dimensions :: Lens' MetricAlarm (Maybe [Dimension]) Source #

The dimensions for the metric associated with the alarm.

metricAlarm_evaluateLowSampleCountPercentile :: Lens' MetricAlarm (Maybe Text) Source #

Used only for alarms based on percentiles. If ignore, the alarm state does not change during periods with too few data points to be statistically significant. If evaluate or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available.

metricAlarm_evaluationPeriods :: Lens' MetricAlarm (Maybe Natural) Source #

The number of periods over which data is compared to the specified threshold.

metricAlarm_evaluationState :: Lens' MetricAlarm (Maybe EvaluationState) Source #

If the value of this field is PARTIAL_DATA, the alarm is being evaluated based on only partial data. This happens if the query used for the alarm returns more than 10,000 metrics. For more information, see Create alarms on Metrics Insights queries.

metricAlarm_extendedStatistic :: Lens' MetricAlarm (Maybe Text) Source #

The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.

metricAlarm_insufficientDataActions :: Lens' MetricAlarm (Maybe [Text]) Source #

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

metricAlarm_metricName :: Lens' MetricAlarm (Maybe Text) Source #

The name of the metric associated with the alarm, if this is an alarm based on a single metric.

metricAlarm_metrics :: Lens' MetricAlarm (Maybe [MetricDataQuery]) Source #

An array of MetricDataQuery structures, used in an alarm based on a metric math expression. Each structure either retrieves a metric or performs a math expression. One item in the Metrics array is the math expression that the alarm watches. This expression by designated by having ReturnData set to true.

metricAlarm_namespace :: Lens' MetricAlarm (Maybe Text) Source #

The namespace of the metric associated with the alarm.

metricAlarm_oKActions :: Lens' MetricAlarm (Maybe [Text]) Source #

The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

metricAlarm_period :: Lens' MetricAlarm (Maybe Natural) Source #

The period, in seconds, over which the statistic is applied.

metricAlarm_stateReason :: Lens' MetricAlarm (Maybe Text) Source #

An explanation for the alarm state, in text format.

metricAlarm_stateReasonData :: Lens' MetricAlarm (Maybe Text) Source #

An explanation for the alarm state, in JSON format.

metricAlarm_stateTransitionedTimestamp :: Lens' MetricAlarm (Maybe UTCTime) Source #

The date and time that the alarm's StateValue most recently changed.

metricAlarm_stateUpdatedTimestamp :: Lens' MetricAlarm (Maybe UTCTime) Source #

The time stamp of the last update to the value of either the StateValue or EvaluationState parameters.

metricAlarm_stateValue :: Lens' MetricAlarm (Maybe StateValue) Source #

The state value for the alarm.

metricAlarm_statistic :: Lens' MetricAlarm (Maybe Statistic) Source #

The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ExtendedStatistic.

metricAlarm_threshold :: Lens' MetricAlarm (Maybe Double) Source #

The value to compare with the specified statistic.

metricAlarm_thresholdMetricId :: Lens' MetricAlarm (Maybe Text) Source #

In an alarm based on an anomaly detection model, this is the ID of the ANOMALY_DETECTION_BAND function used as the threshold for the alarm.

metricAlarm_treatMissingData :: Lens' MetricAlarm (Maybe Text) Source #

Sets how this alarm is to handle missing data points. The valid values are breaching, notBreaching, ignore, and missing. For more information, see Configuring how CloudWatch alarms treat missing data.

If this parameter is omitted, the default behavior of missing is used.

metricAlarm_unit :: Lens' MetricAlarm (Maybe StandardUnit) Source #

The unit of the metric associated with the alarm.

MetricDataQuery

data MetricDataQuery Source #

This structure is used in both GetMetricData and PutMetricAlarm. The supported use of this structure is different for those two operations.

When used in GetMetricData, it indicates the metric data to return, and whether this call is just retrieving a batch set of data for one metric, or is performing a Metrics Insights query or a math expression. A single GetMetricData call can include up to 500 MetricDataQuery structures.

When used in PutMetricAlarm, it enables you to create an alarm based on a metric math expression. Each MetricDataQuery in the array specifies either a metric to retrieve, or a math expression to be performed on retrieved metrics. A single PutMetricAlarm call can include up to 20 MetricDataQuery structures in the array. The 20 structures can include as many as 10 structures that contain a MetricStat parameter to retrieve a metric, and as many as 10 structures that contain the Expression parameter to perform a math expression. Of those Expression structures, one must have true as the value for ReturnData. The result of this expression is the value the alarm watches.

Any expression used in a PutMetricAlarm operation must return a single time series. For more information, see Metric Math Syntax and Functions in the Amazon CloudWatch User Guide.

Some of the parameters of this structure also have different uses whether you are using this structure in a GetMetricData operation or a PutMetricAlarm operation. These differences are explained in the following parameter list.

See: newMetricDataQuery smart constructor.

Constructors

MetricDataQuery' 

Fields

  • accountId :: Maybe Text

    The ID of the account where the metrics are located.

    If you are performing a GetMetricData operation in a monitoring account, use this to specify which account to retrieve this metric from.

    If you are performing a PutMetricAlarm operation, use this to specify which account contains the metric that the alarm is watching.

  • expression :: Maybe Text

    This field can contain either a Metrics Insights query, or a metric math expression to be performed on the returned data. For more information about Metrics Insights queries, see Metrics Insights query components and syntax in the Amazon CloudWatch User Guide.

    A math expression can use the Id of the other metrics or queries to refer to those metrics, and can also use the Id of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the Amazon CloudWatch User Guide.

    Within each MetricDataQuery object, you must specify either Expression or MetricStat but not both.

  • label :: Maybe Text

    A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown. If Label is omitted, CloudWatch generates a default.

    You can put dynamic expressions into a label, so that it is more descriptive. For more information, see Using Dynamic Labels.

  • metricStat :: Maybe MetricStat

    The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.

    Within one MetricDataQuery object, you must specify either Expression or MetricStat but not both.

  • period :: Maybe Natural

    The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricData operation that includes a StorageResolution of 1 second.

  • returnData :: Maybe Bool

    When used in GetMetricData, this option indicates whether to return the timestamps and raw data values of this metric. If you are performing this call just to do math expressions and do not also need the raw data returned, you can specify false. If you omit this, the default of true is used.

    When used in PutMetricAlarm, specify true for the one expression result to use as the alarm. For all other metrics and expressions in the same PutMetricAlarm operation, specify ReturnData as False.

  • id :: Text

    A short name used to tie this object to the results in the response. This name must be unique within a single call to GetMetricData. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.

Instances

Instances details
ToQuery MetricDataQuery Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDataQuery

FromXML MetricDataQuery Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDataQuery

Generic MetricDataQuery Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDataQuery

Associated Types

type Rep MetricDataQuery :: Type -> Type #

Read MetricDataQuery Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDataQuery

Show MetricDataQuery Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDataQuery

NFData MetricDataQuery Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDataQuery

Methods

rnf :: MetricDataQuery -> () #

Eq MetricDataQuery Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDataQuery

Hashable MetricDataQuery Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDataQuery

type Rep MetricDataQuery Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDataQuery

newMetricDataQuery Source #

Create a value of MetricDataQuery 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:accountId:MetricDataQuery', metricDataQuery_accountId - The ID of the account where the metrics are located.

If you are performing a GetMetricData operation in a monitoring account, use this to specify which account to retrieve this metric from.

If you are performing a PutMetricAlarm operation, use this to specify which account contains the metric that the alarm is watching.

$sel:expression:MetricDataQuery', metricDataQuery_expression - This field can contain either a Metrics Insights query, or a metric math expression to be performed on the returned data. For more information about Metrics Insights queries, see Metrics Insights query components and syntax in the Amazon CloudWatch User Guide.

A math expression can use the Id of the other metrics or queries to refer to those metrics, and can also use the Id of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the Amazon CloudWatch User Guide.

Within each MetricDataQuery object, you must specify either Expression or MetricStat but not both.

$sel:label:MetricDataQuery', metricDataQuery_label - A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown. If Label is omitted, CloudWatch generates a default.

You can put dynamic expressions into a label, so that it is more descriptive. For more information, see Using Dynamic Labels.

$sel:metricStat:MetricDataQuery', metricDataQuery_metricStat - The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.

Within one MetricDataQuery object, you must specify either Expression or MetricStat but not both.

MetricDataQuery, metricDataQuery_period - The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricData operation that includes a StorageResolution of 1 second.

$sel:returnData:MetricDataQuery', metricDataQuery_returnData - When used in GetMetricData, this option indicates whether to return the timestamps and raw data values of this metric. If you are performing this call just to do math expressions and do not also need the raw data returned, you can specify false. If you omit this, the default of true is used.

When used in PutMetricAlarm, specify true for the one expression result to use as the alarm. For all other metrics and expressions in the same PutMetricAlarm operation, specify ReturnData as False.

$sel:id:MetricDataQuery', metricDataQuery_id - A short name used to tie this object to the results in the response. This name must be unique within a single call to GetMetricData. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.

metricDataQuery_accountId :: Lens' MetricDataQuery (Maybe Text) Source #

The ID of the account where the metrics are located.

If you are performing a GetMetricData operation in a monitoring account, use this to specify which account to retrieve this metric from.

If you are performing a PutMetricAlarm operation, use this to specify which account contains the metric that the alarm is watching.

metricDataQuery_expression :: Lens' MetricDataQuery (Maybe Text) Source #

This field can contain either a Metrics Insights query, or a metric math expression to be performed on the returned data. For more information about Metrics Insights queries, see Metrics Insights query components and syntax in the Amazon CloudWatch User Guide.

A math expression can use the Id of the other metrics or queries to refer to those metrics, and can also use the Id of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the Amazon CloudWatch User Guide.

Within each MetricDataQuery object, you must specify either Expression or MetricStat but not both.

metricDataQuery_label :: Lens' MetricDataQuery (Maybe Text) Source #

A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown. If Label is omitted, CloudWatch generates a default.

You can put dynamic expressions into a label, so that it is more descriptive. For more information, see Using Dynamic Labels.

metricDataQuery_metricStat :: Lens' MetricDataQuery (Maybe MetricStat) Source #

The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.

Within one MetricDataQuery object, you must specify either Expression or MetricStat but not both.

metricDataQuery_period :: Lens' MetricDataQuery (Maybe Natural) Source #

The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricData operation that includes a StorageResolution of 1 second.

metricDataQuery_returnData :: Lens' MetricDataQuery (Maybe Bool) Source #

When used in GetMetricData, this option indicates whether to return the timestamps and raw data values of this metric. If you are performing this call just to do math expressions and do not also need the raw data returned, you can specify false. If you omit this, the default of true is used.

When used in PutMetricAlarm, specify true for the one expression result to use as the alarm. For all other metrics and expressions in the same PutMetricAlarm operation, specify ReturnData as False.

metricDataQuery_id :: Lens' MetricDataQuery Text Source #

A short name used to tie this object to the results in the response. This name must be unique within a single call to GetMetricData. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.

MetricDataResult

data MetricDataResult Source #

A GetMetricData call returns an array of MetricDataResult structures. Each of these structures includes the data points for that metric, along with the timestamps of those data points and other identifying information.

See: newMetricDataResult smart constructor.

Constructors

MetricDataResult' 

Fields

  • id :: Maybe Text

    The short name you specified to represent this metric.

  • label :: Maybe Text

    The human-readable label associated with the data.

  • messages :: Maybe [MessageData]

    A list of messages with additional information about the data returned.

  • statusCode :: Maybe StatusCode

    The status of the returned data. Complete indicates that all data points in the requested time range were returned. PartialData means that an incomplete set of data points were returned. You can use the NextToken value that was returned and repeat your request to get more data points. NextToken is not returned if you are performing a math expression. InternalError indicates that an error occurred. Retry your request using NextToken, if present.

  • timestamps :: Maybe [ISO8601]

    The timestamps for the data points, formatted in Unix timestamp format. The number of timestamps always matches the number of values and the value for Timestamps[x] is Values[x].

  • values :: Maybe [Double]

    The data points for the metric corresponding to Timestamps. The number of values always matches the number of timestamps and the timestamp for Values[x] is Timestamps[x].

Instances

Instances details
FromXML MetricDataResult Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDataResult

Generic MetricDataResult Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDataResult

Associated Types

type Rep MetricDataResult :: Type -> Type #

Read MetricDataResult Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDataResult

Show MetricDataResult Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDataResult

NFData MetricDataResult Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDataResult

Methods

rnf :: MetricDataResult -> () #

Eq MetricDataResult Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDataResult

Hashable MetricDataResult Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDataResult

type Rep MetricDataResult Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDataResult

type Rep MetricDataResult = D1 ('MetaData "MetricDataResult" "Amazonka.CloudWatch.Types.MetricDataResult" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "MetricDataResult'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "messages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MessageData])))) :*: (S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StatusCode)) :*: (S1 ('MetaSel ('Just "timestamps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ISO8601])) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Double]))))))

newMetricDataResult :: MetricDataResult Source #

Create a value of MetricDataResult 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:id:MetricDataResult', metricDataResult_id - The short name you specified to represent this metric.

$sel:label:MetricDataResult', metricDataResult_label - The human-readable label associated with the data.

$sel:messages:MetricDataResult', metricDataResult_messages - A list of messages with additional information about the data returned.

$sel:statusCode:MetricDataResult', metricDataResult_statusCode - The status of the returned data. Complete indicates that all data points in the requested time range were returned. PartialData means that an incomplete set of data points were returned. You can use the NextToken value that was returned and repeat your request to get more data points. NextToken is not returned if you are performing a math expression. InternalError indicates that an error occurred. Retry your request using NextToken, if present.

$sel:timestamps:MetricDataResult', metricDataResult_timestamps - The timestamps for the data points, formatted in Unix timestamp format. The number of timestamps always matches the number of values and the value for Timestamps[x] is Values[x].

$sel:values:MetricDataResult', metricDataResult_values - The data points for the metric corresponding to Timestamps. The number of values always matches the number of timestamps and the timestamp for Values[x] is Timestamps[x].

metricDataResult_id :: Lens' MetricDataResult (Maybe Text) Source #

The short name you specified to represent this metric.

metricDataResult_label :: Lens' MetricDataResult (Maybe Text) Source #

The human-readable label associated with the data.

metricDataResult_messages :: Lens' MetricDataResult (Maybe [MessageData]) Source #

A list of messages with additional information about the data returned.

metricDataResult_statusCode :: Lens' MetricDataResult (Maybe StatusCode) Source #

The status of the returned data. Complete indicates that all data points in the requested time range were returned. PartialData means that an incomplete set of data points were returned. You can use the NextToken value that was returned and repeat your request to get more data points. NextToken is not returned if you are performing a math expression. InternalError indicates that an error occurred. Retry your request using NextToken, if present.

metricDataResult_timestamps :: Lens' MetricDataResult (Maybe [UTCTime]) Source #

The timestamps for the data points, formatted in Unix timestamp format. The number of timestamps always matches the number of values and the value for Timestamps[x] is Values[x].

metricDataResult_values :: Lens' MetricDataResult (Maybe [Double]) Source #

The data points for the metric corresponding to Timestamps. The number of values always matches the number of timestamps and the timestamp for Values[x] is Timestamps[x].

MetricDatum

data MetricDatum Source #

Encapsulates the information sent to either create a metric or add new values to be aggregated into an existing metric.

See: newMetricDatum smart constructor.

Constructors

MetricDatum' 

Fields

  • counts :: Maybe [Double]

    Array of numbers that is used along with the Values array. Each number in the Count array is the number of times the corresponding value in the Values array occurred during the period.

    If you omit the Counts array, the default of 1 is used as the value for each count. If you include a Counts array, it must include the same amount of values as the Values array.

  • dimensions :: Maybe [Dimension]

    The dimensions associated with the metric.

  • statisticValues :: Maybe StatisticSet

    The statistical values for the metric.

  • storageResolution :: Maybe Natural

    Valid values are 1 and 60. Setting this to 1 specifies this metric as a high-resolution metric, so that CloudWatch stores the metric with sub-minute resolution down to one second. Setting this to 60 specifies this metric as a regular-resolution metric, which CloudWatch stores at 1-minute resolution. Currently, high resolution is available only for custom metrics. For more information about high-resolution metrics, see High-Resolution Metrics in the Amazon CloudWatch User Guide.

    This field is optional, if you do not specify it the default of 60 is used.

  • timestamp :: Maybe ISO8601

    The time the metric data was received, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.

  • unit :: Maybe StandardUnit

    When you are using a Put operation, this defines what unit you want to use when storing the metric.

    In a Get operation, this displays the unit that is used for the metric.

  • value :: Maybe Double

    The value for the metric.

    Although the parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported.

  • values :: Maybe [Double]

    Array of numbers representing the values for the metric during the period. Each unique value is listed just once in this array, and the corresponding number in the Counts array specifies the number of times that value occurred during the period. You can include up to 150 unique values in each PutMetricData action that specifies a Values array.

    Although the Values array accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported.

  • metricName :: Text

    The name of the metric.

Instances

Instances details
ToQuery MetricDatum Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDatum

Generic MetricDatum Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDatum

Associated Types

type Rep MetricDatum :: Type -> Type #

Read MetricDatum Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDatum

Show MetricDatum Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDatum

NFData MetricDatum Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDatum

Methods

rnf :: MetricDatum -> () #

Eq MetricDatum Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDatum

Hashable MetricDatum Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDatum

type Rep MetricDatum Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricDatum

newMetricDatum Source #

Create a value of MetricDatum 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:counts:MetricDatum', metricDatum_counts - Array of numbers that is used along with the Values array. Each number in the Count array is the number of times the corresponding value in the Values array occurred during the period.

If you omit the Counts array, the default of 1 is used as the value for each count. If you include a Counts array, it must include the same amount of values as the Values array.

$sel:dimensions:MetricDatum', metricDatum_dimensions - The dimensions associated with the metric.

$sel:statisticValues:MetricDatum', metricDatum_statisticValues - The statistical values for the metric.

$sel:storageResolution:MetricDatum', metricDatum_storageResolution - Valid values are 1 and 60. Setting this to 1 specifies this metric as a high-resolution metric, so that CloudWatch stores the metric with sub-minute resolution down to one second. Setting this to 60 specifies this metric as a regular-resolution metric, which CloudWatch stores at 1-minute resolution. Currently, high resolution is available only for custom metrics. For more information about high-resolution metrics, see High-Resolution Metrics in the Amazon CloudWatch User Guide.

This field is optional, if you do not specify it the default of 60 is used.

$sel:timestamp:MetricDatum', metricDatum_timestamp - The time the metric data was received, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.

$sel:unit:MetricDatum', metricDatum_unit - When you are using a Put operation, this defines what unit you want to use when storing the metric.

In a Get operation, this displays the unit that is used for the metric.

MetricDatum, metricDatum_value - The value for the metric.

Although the parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported.

$sel:values:MetricDatum', metricDatum_values - Array of numbers representing the values for the metric during the period. Each unique value is listed just once in this array, and the corresponding number in the Counts array specifies the number of times that value occurred during the period. You can include up to 150 unique values in each PutMetricData action that specifies a Values array.

Although the Values array accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported.

$sel:metricName:MetricDatum', metricDatum_metricName - The name of the metric.

metricDatum_counts :: Lens' MetricDatum (Maybe [Double]) Source #

Array of numbers that is used along with the Values array. Each number in the Count array is the number of times the corresponding value in the Values array occurred during the period.

If you omit the Counts array, the default of 1 is used as the value for each count. If you include a Counts array, it must include the same amount of values as the Values array.

metricDatum_dimensions :: Lens' MetricDatum (Maybe [Dimension]) Source #

The dimensions associated with the metric.

metricDatum_statisticValues :: Lens' MetricDatum (Maybe StatisticSet) Source #

The statistical values for the metric.

metricDatum_storageResolution :: Lens' MetricDatum (Maybe Natural) Source #

Valid values are 1 and 60. Setting this to 1 specifies this metric as a high-resolution metric, so that CloudWatch stores the metric with sub-minute resolution down to one second. Setting this to 60 specifies this metric as a regular-resolution metric, which CloudWatch stores at 1-minute resolution. Currently, high resolution is available only for custom metrics. For more information about high-resolution metrics, see High-Resolution Metrics in the Amazon CloudWatch User Guide.

This field is optional, if you do not specify it the default of 60 is used.

metricDatum_timestamp :: Lens' MetricDatum (Maybe UTCTime) Source #

The time the metric data was received, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.

metricDatum_unit :: Lens' MetricDatum (Maybe StandardUnit) Source #

When you are using a Put operation, this defines what unit you want to use when storing the metric.

In a Get operation, this displays the unit that is used for the metric.

metricDatum_value :: Lens' MetricDatum (Maybe Double) Source #

The value for the metric.

Although the parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported.

metricDatum_values :: Lens' MetricDatum (Maybe [Double]) Source #

Array of numbers representing the values for the metric during the period. Each unique value is listed just once in this array, and the corresponding number in the Counts array specifies the number of times that value occurred during the period. You can include up to 150 unique values in each PutMetricData action that specifies a Values array.

Although the Values array accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported.

MetricMathAnomalyDetector

data MetricMathAnomalyDetector Source #

Indicates the CloudWatch math expression that provides the time series the anomaly detector uses as input. The designated math expression must return a single time series.

See: newMetricMathAnomalyDetector smart constructor.

Constructors

MetricMathAnomalyDetector' 

Fields

  • metricDataQueries :: Maybe [MetricDataQuery]

    An array of metric data query structures that enables you to create an anomaly detector based on the result of a metric math expression. Each item in MetricDataQueries gets a metric or performs a math expression. One item in MetricDataQueries is the expression that provides the time series that the anomaly detector uses as input. Designate the expression by setting ReturnData to true for this object in the array. For all other expressions and metrics, set ReturnData to false. The designated expression must return a single time series.

Instances

Instances details
ToQuery MetricMathAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricMathAnomalyDetector

FromXML MetricMathAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricMathAnomalyDetector

Generic MetricMathAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricMathAnomalyDetector

Associated Types

type Rep MetricMathAnomalyDetector :: Type -> Type #

Read MetricMathAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricMathAnomalyDetector

Show MetricMathAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricMathAnomalyDetector

NFData MetricMathAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricMathAnomalyDetector

Eq MetricMathAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricMathAnomalyDetector

Hashable MetricMathAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricMathAnomalyDetector

type Rep MetricMathAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricMathAnomalyDetector

type Rep MetricMathAnomalyDetector = D1 ('MetaData "MetricMathAnomalyDetector" "Amazonka.CloudWatch.Types.MetricMathAnomalyDetector" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "MetricMathAnomalyDetector'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metricDataQueries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricDataQuery]))))

newMetricMathAnomalyDetector :: MetricMathAnomalyDetector Source #

Create a value of MetricMathAnomalyDetector 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:metricDataQueries:MetricMathAnomalyDetector', metricMathAnomalyDetector_metricDataQueries - An array of metric data query structures that enables you to create an anomaly detector based on the result of a metric math expression. Each item in MetricDataQueries gets a metric or performs a math expression. One item in MetricDataQueries is the expression that provides the time series that the anomaly detector uses as input. Designate the expression by setting ReturnData to true for this object in the array. For all other expressions and metrics, set ReturnData to false. The designated expression must return a single time series.

metricMathAnomalyDetector_metricDataQueries :: Lens' MetricMathAnomalyDetector (Maybe [MetricDataQuery]) Source #

An array of metric data query structures that enables you to create an anomaly detector based on the result of a metric math expression. Each item in MetricDataQueries gets a metric or performs a math expression. One item in MetricDataQueries is the expression that provides the time series that the anomaly detector uses as input. Designate the expression by setting ReturnData to true for this object in the array. For all other expressions and metrics, set ReturnData to false. The designated expression must return a single time series.

MetricStat

data MetricStat Source #

This structure defines the metric to be returned, along with the statistics, period, and units.

See: newMetricStat smart constructor.

Constructors

MetricStat' 

Fields

  • unit :: Maybe StandardUnit

    When you are using a Put operation, this defines what unit you want to use when storing the metric.

    In a Get operation, if you omit Unit then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.

  • metric :: Metric

    The metric to return, including the metric name, namespace, and dimensions.

  • period :: Natural

    The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricData call that includes a StorageResolution of 1 second.

    If the StartTime parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned:

    • Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute).
    • Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes).
    • Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour).
  • stat :: Text

    The statistic to return. It can include any CloudWatch statistic or extended statistic.

Instances

Instances details
ToQuery MetricStat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStat

FromXML MetricStat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStat

Generic MetricStat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStat

Associated Types

type Rep MetricStat :: Type -> Type #

Read MetricStat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStat

Show MetricStat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStat

NFData MetricStat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStat

Methods

rnf :: MetricStat -> () #

Eq MetricStat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStat

Hashable MetricStat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStat

type Rep MetricStat Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStat

type Rep MetricStat = D1 ('MetaData "MetricStat" "Amazonka.CloudWatch.Types.MetricStat" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "MetricStat'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StandardUnit)) :*: S1 ('MetaSel ('Just "metric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Metric)) :*: (S1 ('MetaSel ('Just "period") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "stat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newMetricStat Source #

Create a value of MetricStat 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:unit:MetricStat', metricStat_unit - When you are using a Put operation, this defines what unit you want to use when storing the metric.

In a Get operation, if you omit Unit then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.

$sel:metric:MetricStat', metricStat_metric - The metric to return, including the metric name, namespace, and dimensions.

$sel:period:MetricStat', metricStat_period - The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricData call that includes a StorageResolution of 1 second.

If the StartTime parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned:

  • Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute).
  • Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes).
  • Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour).

$sel:stat:MetricStat', metricStat_stat - The statistic to return. It can include any CloudWatch statistic or extended statistic.

metricStat_unit :: Lens' MetricStat (Maybe StandardUnit) Source #

When you are using a Put operation, this defines what unit you want to use when storing the metric.

In a Get operation, if you omit Unit then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.

metricStat_metric :: Lens' MetricStat Metric Source #

The metric to return, including the metric name, namespace, and dimensions.

metricStat_period :: Lens' MetricStat Natural Source #

The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricData call that includes a StorageResolution of 1 second.

If the StartTime parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned:

  • Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute).
  • Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes).
  • Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour).

metricStat_stat :: Lens' MetricStat Text Source #

The statistic to return. It can include any CloudWatch statistic or extended statistic.

MetricStreamEntry

data MetricStreamEntry Source #

This structure contains the configuration information about one metric stream.

See: newMetricStreamEntry smart constructor.

Constructors

MetricStreamEntry' 

Fields

Instances

Instances details
FromXML MetricStreamEntry Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamEntry

Generic MetricStreamEntry Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamEntry

Associated Types

type Rep MetricStreamEntry :: Type -> Type #

Read MetricStreamEntry Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamEntry

Show MetricStreamEntry Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamEntry

NFData MetricStreamEntry Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamEntry

Methods

rnf :: MetricStreamEntry -> () #

Eq MetricStreamEntry Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamEntry

Hashable MetricStreamEntry Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamEntry

type Rep MetricStreamEntry Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamEntry

newMetricStreamEntry :: MetricStreamEntry Source #

Create a value of MetricStreamEntry 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:arn:MetricStreamEntry', metricStreamEntry_arn - The ARN of the metric stream.

$sel:creationDate:MetricStreamEntry', metricStreamEntry_creationDate - The date that the metric stream was originally created.

$sel:firehoseArn:MetricStreamEntry', metricStreamEntry_firehoseArn - The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.

$sel:lastUpdateDate:MetricStreamEntry', metricStreamEntry_lastUpdateDate - The date that the configuration of this metric stream was most recently updated.

$sel:name:MetricStreamEntry', metricStreamEntry_name - The name of the metric stream.

$sel:outputFormat:MetricStreamEntry', metricStreamEntry_outputFormat - The output format of this metric stream. Valid values are json and opentelemetry0.7.

$sel:state:MetricStreamEntry', metricStreamEntry_state - The current state of this stream. Valid values are running and stopped.

metricStreamEntry_arn :: Lens' MetricStreamEntry (Maybe Text) Source #

The ARN of the metric stream.

metricStreamEntry_creationDate :: Lens' MetricStreamEntry (Maybe UTCTime) Source #

The date that the metric stream was originally created.

metricStreamEntry_firehoseArn :: Lens' MetricStreamEntry (Maybe Text) Source #

The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.

metricStreamEntry_lastUpdateDate :: Lens' MetricStreamEntry (Maybe UTCTime) Source #

The date that the configuration of this metric stream was most recently updated.

metricStreamEntry_name :: Lens' MetricStreamEntry (Maybe Text) Source #

The name of the metric stream.

metricStreamEntry_outputFormat :: Lens' MetricStreamEntry (Maybe MetricStreamOutputFormat) Source #

The output format of this metric stream. Valid values are json and opentelemetry0.7.

metricStreamEntry_state :: Lens' MetricStreamEntry (Maybe Text) Source #

The current state of this stream. Valid values are running and stopped.

MetricStreamFilter

data MetricStreamFilter Source #

This structure contains the name of one of the metric namespaces that is listed in a filter of a metric stream.

See: newMetricStreamFilter smart constructor.

Constructors

MetricStreamFilter' 

Fields

Instances

Instances details
ToQuery MetricStreamFilter Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamFilter

FromXML MetricStreamFilter Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamFilter

Generic MetricStreamFilter Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamFilter

Associated Types

type Rep MetricStreamFilter :: Type -> Type #

Read MetricStreamFilter Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamFilter

Show MetricStreamFilter Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamFilter

NFData MetricStreamFilter Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamFilter

Methods

rnf :: MetricStreamFilter -> () #

Eq MetricStreamFilter Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamFilter

Hashable MetricStreamFilter Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamFilter

type Rep MetricStreamFilter Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamFilter

type Rep MetricStreamFilter = D1 ('MetaData "MetricStreamFilter" "Amazonka.CloudWatch.Types.MetricStreamFilter" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "MetricStreamFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newMetricStreamFilter :: MetricStreamFilter Source #

Create a value of MetricStreamFilter 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:namespace:MetricStreamFilter', metricStreamFilter_namespace - The name of the metric namespace in the filter.

metricStreamFilter_namespace :: Lens' MetricStreamFilter (Maybe Text) Source #

The name of the metric namespace in the filter.

MetricStreamStatisticsConfiguration

data MetricStreamStatisticsConfiguration Source #

By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed. This structure contains information for one metric that includes additional statistics in the stream. For more information about statistics, see CloudWatch, listed in CloudWatch statistics definitions.

See: newMetricStreamStatisticsConfiguration smart constructor.

Constructors

MetricStreamStatisticsConfiguration' 

Fields

  • includeMetrics :: [MetricStreamStatisticsMetric]

    An array of metric name and namespace pairs that stream the additional statistics listed in the value of the AdditionalStatistics parameter. There can be as many as 100 pairs in the array.

    All metrics that match the combination of metric name and namespace will be streamed with the additional statistics, no matter their dimensions.

  • additionalStatistics :: [Text]

    The list of additional statistics that are to be streamed for the metrics listed in the IncludeMetrics array in this structure. This list can include as many as 20 statistics.

    If the OutputFormat for the stream is opentelemetry0.7, the only valid values are p?? percentile statistics such as p90, p99 and so on.

    If the OutputFormat for the stream is json, the valid values include the abbreviations for all of the statistics listed in CloudWatch statistics definitions. For example, this includes tm98, wm90, PR(:300), and so on.

Instances

Instances details
ToQuery MetricStreamStatisticsConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamStatisticsConfiguration

FromXML MetricStreamStatisticsConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamStatisticsConfiguration

Generic MetricStreamStatisticsConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamStatisticsConfiguration

Read MetricStreamStatisticsConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamStatisticsConfiguration

Show MetricStreamStatisticsConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamStatisticsConfiguration

NFData MetricStreamStatisticsConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamStatisticsConfiguration

Eq MetricStreamStatisticsConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamStatisticsConfiguration

Hashable MetricStreamStatisticsConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamStatisticsConfiguration

type Rep MetricStreamStatisticsConfiguration Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamStatisticsConfiguration

type Rep MetricStreamStatisticsConfiguration = D1 ('MetaData "MetricStreamStatisticsConfiguration" "Amazonka.CloudWatch.Types.MetricStreamStatisticsConfiguration" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "MetricStreamStatisticsConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "includeMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [MetricStreamStatisticsMetric]) :*: S1 ('MetaSel ('Just "additionalStatistics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newMetricStreamStatisticsConfiguration :: MetricStreamStatisticsConfiguration Source #

Create a value of MetricStreamStatisticsConfiguration 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:includeMetrics:MetricStreamStatisticsConfiguration', metricStreamStatisticsConfiguration_includeMetrics - An array of metric name and namespace pairs that stream the additional statistics listed in the value of the AdditionalStatistics parameter. There can be as many as 100 pairs in the array.

All metrics that match the combination of metric name and namespace will be streamed with the additional statistics, no matter their dimensions.

$sel:additionalStatistics:MetricStreamStatisticsConfiguration', metricStreamStatisticsConfiguration_additionalStatistics - The list of additional statistics that are to be streamed for the metrics listed in the IncludeMetrics array in this structure. This list can include as many as 20 statistics.

If the OutputFormat for the stream is opentelemetry0.7, the only valid values are p?? percentile statistics such as p90, p99 and so on.

If the OutputFormat for the stream is json, the valid values include the abbreviations for all of the statistics listed in CloudWatch statistics definitions. For example, this includes tm98, wm90, PR(:300), and so on.

metricStreamStatisticsConfiguration_includeMetrics :: Lens' MetricStreamStatisticsConfiguration [MetricStreamStatisticsMetric] Source #

An array of metric name and namespace pairs that stream the additional statistics listed in the value of the AdditionalStatistics parameter. There can be as many as 100 pairs in the array.

All metrics that match the combination of metric name and namespace will be streamed with the additional statistics, no matter their dimensions.

metricStreamStatisticsConfiguration_additionalStatistics :: Lens' MetricStreamStatisticsConfiguration [Text] Source #

The list of additional statistics that are to be streamed for the metrics listed in the IncludeMetrics array in this structure. This list can include as many as 20 statistics.

If the OutputFormat for the stream is opentelemetry0.7, the only valid values are p?? percentile statistics such as p90, p99 and so on.

If the OutputFormat for the stream is json, the valid values include the abbreviations for all of the statistics listed in CloudWatch statistics definitions. For example, this includes tm98, wm90, PR(:300), and so on.

MetricStreamStatisticsMetric

data MetricStreamStatisticsMetric Source #

This object contains the information for one metric that is to be streamed with additional statistics.

See: newMetricStreamStatisticsMetric smart constructor.

Constructors

MetricStreamStatisticsMetric' 

Fields

Instances

Instances details
ToQuery MetricStreamStatisticsMetric Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamStatisticsMetric

FromXML MetricStreamStatisticsMetric Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamStatisticsMetric

Generic MetricStreamStatisticsMetric Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamStatisticsMetric

Associated Types

type Rep MetricStreamStatisticsMetric :: Type -> Type #

Read MetricStreamStatisticsMetric Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamStatisticsMetric

Show MetricStreamStatisticsMetric Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamStatisticsMetric

NFData MetricStreamStatisticsMetric Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamStatisticsMetric

Eq MetricStreamStatisticsMetric Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamStatisticsMetric

Hashable MetricStreamStatisticsMetric Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamStatisticsMetric

type Rep MetricStreamStatisticsMetric Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricStreamStatisticsMetric

type Rep MetricStreamStatisticsMetric = D1 ('MetaData "MetricStreamStatisticsMetric" "Amazonka.CloudWatch.Types.MetricStreamStatisticsMetric" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "MetricStreamStatisticsMetric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newMetricStreamStatisticsMetric Source #

Create a value of MetricStreamStatisticsMetric 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:namespace:MetricStreamStatisticsMetric', metricStreamStatisticsMetric_namespace - The namespace of the metric.

$sel:metricName:MetricStreamStatisticsMetric', metricStreamStatisticsMetric_metricName - The name of the metric.

PartialFailure

data PartialFailure Source #

This array is empty if the API operation was successful for all the rules specified in the request. If the operation could not process one of the rules, the following data is returned for each of those rules.

See: newPartialFailure smart constructor.

Constructors

PartialFailure' 

Fields

Instances

Instances details
FromXML PartialFailure Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.PartialFailure

Generic PartialFailure Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.PartialFailure

Associated Types

type Rep PartialFailure :: Type -> Type #

Read PartialFailure Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.PartialFailure

Show PartialFailure Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.PartialFailure

NFData PartialFailure Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.PartialFailure

Methods

rnf :: PartialFailure -> () #

Eq PartialFailure Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.PartialFailure

Hashable PartialFailure Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.PartialFailure

type Rep PartialFailure Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.PartialFailure

type Rep PartialFailure = D1 ('MetaData "PartialFailure" "Amazonka.CloudWatch.Types.PartialFailure" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "PartialFailure'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "exceptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "failureCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "failureDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "failureResource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newPartialFailure :: PartialFailure Source #

Create a value of PartialFailure 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:exceptionType:PartialFailure', partialFailure_exceptionType - The type of error.

$sel:failureCode:PartialFailure', partialFailure_failureCode - The code of the error.

$sel:failureDescription:PartialFailure', partialFailure_failureDescription - A description of the error.

$sel:failureResource:PartialFailure', partialFailure_failureResource - The specified rule that could not be deleted.

partialFailure_failureResource :: Lens' PartialFailure (Maybe Text) Source #

The specified rule that could not be deleted.

Range

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
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 #

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 #

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 #

NFData Range Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Range

Methods

rnf :: Range -> () #

Eq Range Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Range

Methods

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

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

Hashable Range Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Range

Methods

hashWithSalt :: Int -> Range -> Int #

hash :: Range -> Int #

type Rep Range Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Range

type Rep Range = D1 ('MetaData "Range" "Amazonka.CloudWatch.Types.Range" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" '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.

SingleMetricAnomalyDetector

data SingleMetricAnomalyDetector Source #

Designates the CloudWatch metric and statistic that provides the time series the anomaly detector uses as input.

See: newSingleMetricAnomalyDetector smart constructor.

Constructors

SingleMetricAnomalyDetector' 

Fields

Instances

Instances details
ToQuery SingleMetricAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.SingleMetricAnomalyDetector

FromXML SingleMetricAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.SingleMetricAnomalyDetector

Generic SingleMetricAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.SingleMetricAnomalyDetector

Associated Types

type Rep SingleMetricAnomalyDetector :: Type -> Type #

Read SingleMetricAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.SingleMetricAnomalyDetector

Show SingleMetricAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.SingleMetricAnomalyDetector

NFData SingleMetricAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.SingleMetricAnomalyDetector

Eq SingleMetricAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.SingleMetricAnomalyDetector

Hashable SingleMetricAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.SingleMetricAnomalyDetector

type Rep SingleMetricAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.SingleMetricAnomalyDetector

type Rep SingleMetricAnomalyDetector = D1 ('MetaData "SingleMetricAnomalyDetector" "Amazonka.CloudWatch.Types.SingleMetricAnomalyDetector" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "SingleMetricAnomalyDetector'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Dimension])) :*: S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newSingleMetricAnomalyDetector :: SingleMetricAnomalyDetector Source #

Create a value of SingleMetricAnomalyDetector 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:dimensions:SingleMetricAnomalyDetector', singleMetricAnomalyDetector_dimensions - The metric dimensions to create the anomaly detection model for.

$sel:metricName:SingleMetricAnomalyDetector', singleMetricAnomalyDetector_metricName - The name of the metric to create the anomaly detection model for.

$sel:namespace:SingleMetricAnomalyDetector', singleMetricAnomalyDetector_namespace - The namespace of the metric to create the anomaly detection model for.

$sel:stat:SingleMetricAnomalyDetector', singleMetricAnomalyDetector_stat - The statistic to use for the metric and anomaly detection model.

singleMetricAnomalyDetector_dimensions :: Lens' SingleMetricAnomalyDetector (Maybe [Dimension]) Source #

The metric dimensions to create the anomaly detection model for.

singleMetricAnomalyDetector_metricName :: Lens' SingleMetricAnomalyDetector (Maybe Text) Source #

The name of the metric to create the anomaly detection model for.

singleMetricAnomalyDetector_namespace :: Lens' SingleMetricAnomalyDetector (Maybe Text) Source #

The namespace of the metric to create the anomaly detection model for.

singleMetricAnomalyDetector_stat :: Lens' SingleMetricAnomalyDetector (Maybe Text) Source #

The statistic to use for the metric and anomaly detection model.

StatisticSet

data StatisticSet Source #

Represents a set of statistics that describes a specific metric.

See: newStatisticSet smart constructor.

Constructors

StatisticSet' 

Fields

Instances

Instances details
ToQuery StatisticSet Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatisticSet

Generic StatisticSet Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatisticSet

Associated Types

type Rep StatisticSet :: Type -> Type #

Read StatisticSet Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatisticSet

Show StatisticSet Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatisticSet

NFData StatisticSet Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatisticSet

Methods

rnf :: StatisticSet -> () #

Eq StatisticSet Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatisticSet

Hashable StatisticSet Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatisticSet

type Rep StatisticSet Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.StatisticSet

type Rep StatisticSet = D1 ('MetaData "StatisticSet" "Amazonka.CloudWatch.Types.StatisticSet" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "StatisticSet'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sampleCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "sum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)) :*: (S1 ('MetaSel ('Just "minimum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "maximum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double))))

newStatisticSet Source #

Create a value of StatisticSet 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:sampleCount:StatisticSet', statisticSet_sampleCount - The number of samples used for the statistic set.

$sel:sum:StatisticSet', statisticSet_sum - The sum of values for the sample set.

$sel:minimum:StatisticSet', statisticSet_minimum - The minimum value of the sample set.

$sel:maximum:StatisticSet', statisticSet_maximum - The maximum value of the sample set.

statisticSet_sampleCount :: Lens' StatisticSet Double Source #

The number of samples used for the statistic set.

statisticSet_sum :: Lens' StatisticSet Double Source #

The sum of values for the sample set.

statisticSet_minimum :: Lens' StatisticSet Double Source #

The minimum value of the sample set.

statisticSet_maximum :: Lens' StatisticSet Double Source #

The maximum value of the sample set.

Tag

data Tag Source #

A key-value pair associated with a CloudWatch resource.

See: newTag smart constructor.

Constructors

Tag' 

Fields

  • key :: Text

    A string that you can use to assign a value. The combination of tag keys and values can help you organize and categorize your resources.

  • value :: Text

    The value for the specified tag key.

Instances

Instances details
ToQuery Tag Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Tag

Methods

toQuery :: Tag -> QueryString #

FromXML Tag Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Tag

Methods

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

Generic Tag Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Read Tag Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

NFData Tag Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Tag

Methods

rnf :: Tag -> () #

Eq Tag Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Tag

Methods

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

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

Hashable Tag Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

type Rep Tag Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.CloudWatch.Types.Tag" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTag Source #

Create a value of Tag 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:key:Tag', tag_key - A string that you can use to assign a value. The combination of tag keys and values can help you organize and categorize your resources.

$sel:value:Tag', tag_value - The value for the specified tag key.

tag_key :: Lens' Tag Text Source #

A string that you can use to assign a value. The combination of tag keys and values can help you organize and categorize your resources.

tag_value :: Lens' Tag Text Source #

The value for the specified tag key.