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

Amazonka.Forecast.Types.MonitorSummary

Description

 
Synopsis

Documentation

data MonitorSummary Source #

Provides a summary of the monitor properties used in the ListMonitors operation. To get a complete set of properties, call the DescribeMonitor operation, and provide the listed MonitorArn.

See: newMonitorSummary smart constructor.

Constructors

MonitorSummary' 

Fields

  • creationTime :: Maybe POSIX

    When the monitor resource was created.

  • lastModificationTime :: Maybe POSIX

    The last time the monitor resource was modified. The timestamp depends on the status of the job:

    • CREATE_PENDING - The CreationTime.
    • CREATE_IN_PROGRESS - The current timestamp.
    • STOPPED - When the resource stopped.
    • ACTIVE or CREATE_FAILED - When the monitor creation finished or failed.
  • monitorArn :: Maybe Text

    The Amazon Resource Name (ARN) of the monitor resource.

  • monitorName :: Maybe Text

    The name of the monitor resource.

  • resourceArn :: Maybe Text

    The Amazon Resource Name (ARN) of the predictor being monitored.

  • status :: Maybe Text

    The status of the monitor. States include:

    • ACTIVE
    • ACTIVE_STOPPING, ACTIVE_STOPPED
    • UPDATE_IN_PROGRESS
    • CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED
    • DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED

Instances

Instances details
FromJSON MonitorSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.MonitorSummary

Generic MonitorSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.MonitorSummary

Associated Types

type Rep MonitorSummary :: Type -> Type #

Read MonitorSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.MonitorSummary

Show MonitorSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.MonitorSummary

NFData MonitorSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.MonitorSummary

Methods

rnf :: MonitorSummary -> () #

Eq MonitorSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.MonitorSummary

Hashable MonitorSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.MonitorSummary

type Rep MonitorSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.MonitorSummary

type Rep MonitorSummary = D1 ('MetaData "MonitorSummary" "Amazonka.Forecast.Types.MonitorSummary" "amazonka-forecast-2.0-HHvJwvxGrDPBJtUcnmLBqf" 'False) (C1 ('MetaCons "MonitorSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "lastModificationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "monitorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "monitorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newMonitorSummary :: MonitorSummary Source #

Create a value of MonitorSummary 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:creationTime:MonitorSummary', monitorSummary_creationTime - When the monitor resource was created.

$sel:lastModificationTime:MonitorSummary', monitorSummary_lastModificationTime - The last time the monitor resource was modified. The timestamp depends on the status of the job:

  • CREATE_PENDING - The CreationTime.
  • CREATE_IN_PROGRESS - The current timestamp.
  • STOPPED - When the resource stopped.
  • ACTIVE or CREATE_FAILED - When the monitor creation finished or failed.

$sel:monitorArn:MonitorSummary', monitorSummary_monitorArn - The Amazon Resource Name (ARN) of the monitor resource.

$sel:monitorName:MonitorSummary', monitorSummary_monitorName - The name of the monitor resource.

$sel:resourceArn:MonitorSummary', monitorSummary_resourceArn - The Amazon Resource Name (ARN) of the predictor being monitored.

$sel:status:MonitorSummary', monitorSummary_status - The status of the monitor. States include:

  • ACTIVE
  • ACTIVE_STOPPING, ACTIVE_STOPPED
  • UPDATE_IN_PROGRESS
  • CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED
  • DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED

monitorSummary_creationTime :: Lens' MonitorSummary (Maybe UTCTime) Source #

When the monitor resource was created.

monitorSummary_lastModificationTime :: Lens' MonitorSummary (Maybe UTCTime) Source #

The last time the monitor resource was modified. The timestamp depends on the status of the job:

  • CREATE_PENDING - The CreationTime.
  • CREATE_IN_PROGRESS - The current timestamp.
  • STOPPED - When the resource stopped.
  • ACTIVE or CREATE_FAILED - When the monitor creation finished or failed.

monitorSummary_monitorArn :: Lens' MonitorSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the monitor resource.

monitorSummary_monitorName :: Lens' MonitorSummary (Maybe Text) Source #

The name of the monitor resource.

monitorSummary_resourceArn :: Lens' MonitorSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the predictor being monitored.

monitorSummary_status :: Lens' MonitorSummary (Maybe Text) Source #

The status of the monitor. States include:

  • ACTIVE
  • ACTIVE_STOPPING, ACTIVE_STOPPED
  • UPDATE_IN_PROGRESS
  • CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED
  • DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED