Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data MonitorSummary = MonitorSummary' {}
- newMonitorSummary :: MonitorSummary
- monitorSummary_creationTime :: Lens' MonitorSummary (Maybe UTCTime)
- monitorSummary_lastModificationTime :: Lens' MonitorSummary (Maybe UTCTime)
- monitorSummary_monitorArn :: Lens' MonitorSummary (Maybe Text)
- monitorSummary_monitorName :: Lens' MonitorSummary (Maybe Text)
- monitorSummary_resourceArn :: Lens' MonitorSummary (Maybe Text)
- monitorSummary_status :: Lens' MonitorSummary (Maybe Text)
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.
MonitorSummary' | |
|
Instances
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
- TheCreationTime
.CREATE_IN_PROGRESS
- The current timestamp.STOPPED
- When the resource stopped.ACTIVE
orCREATE_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
- TheCreationTime
.CREATE_IN_PROGRESS
- The current timestamp.STOPPED
- When the resource stopped.ACTIVE
orCREATE_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