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 |
Describes a monitor resource. In addition to listing the properties provided in the CreateMonitor request, this operation lists the following properties:
Baseline
CreationTime
LastEvaluationTime
LastEvaluationState
LastModificationTime
Message
Status
Synopsis
- data DescribeMonitor = DescribeMonitor' {
- monitorArn :: Text
- newDescribeMonitor :: Text -> DescribeMonitor
- describeMonitor_monitorArn :: Lens' DescribeMonitor Text
- data DescribeMonitorResponse = DescribeMonitorResponse' {
- baseline :: Maybe Baseline
- creationTime :: Maybe POSIX
- estimatedEvaluationTimeRemainingInMinutes :: Maybe Integer
- lastEvaluationState :: Maybe Text
- lastEvaluationTime :: Maybe POSIX
- lastModificationTime :: Maybe POSIX
- message :: Maybe Text
- monitorArn :: Maybe Text
- monitorName :: Maybe Text
- resourceArn :: Maybe Text
- status :: Maybe Text
- httpStatus :: Int
- newDescribeMonitorResponse :: Int -> DescribeMonitorResponse
- describeMonitorResponse_baseline :: Lens' DescribeMonitorResponse (Maybe Baseline)
- describeMonitorResponse_creationTime :: Lens' DescribeMonitorResponse (Maybe UTCTime)
- describeMonitorResponse_estimatedEvaluationTimeRemainingInMinutes :: Lens' DescribeMonitorResponse (Maybe Integer)
- describeMonitorResponse_lastEvaluationState :: Lens' DescribeMonitorResponse (Maybe Text)
- describeMonitorResponse_lastEvaluationTime :: Lens' DescribeMonitorResponse (Maybe UTCTime)
- describeMonitorResponse_lastModificationTime :: Lens' DescribeMonitorResponse (Maybe UTCTime)
- describeMonitorResponse_message :: Lens' DescribeMonitorResponse (Maybe Text)
- describeMonitorResponse_monitorArn :: Lens' DescribeMonitorResponse (Maybe Text)
- describeMonitorResponse_monitorName :: Lens' DescribeMonitorResponse (Maybe Text)
- describeMonitorResponse_resourceArn :: Lens' DescribeMonitorResponse (Maybe Text)
- describeMonitorResponse_status :: Lens' DescribeMonitorResponse (Maybe Text)
- describeMonitorResponse_httpStatus :: Lens' DescribeMonitorResponse Int
Creating a Request
data DescribeMonitor Source #
See: newDescribeMonitor
smart constructor.
DescribeMonitor' | |
|
Instances
Create a value of DescribeMonitor
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:
DescribeMonitor
, describeMonitor_monitorArn
- The Amazon Resource Name (ARN) of the monitor resource to describe.
Request Lenses
describeMonitor_monitorArn :: Lens' DescribeMonitor Text Source #
The Amazon Resource Name (ARN) of the monitor resource to describe.
Destructuring the Response
data DescribeMonitorResponse Source #
See: newDescribeMonitorResponse
smart constructor.
DescribeMonitorResponse' | |
|
Instances
newDescribeMonitorResponse Source #
Create a value of DescribeMonitorResponse
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:baseline:DescribeMonitorResponse'
, describeMonitorResponse_baseline
- Metrics you can use as a baseline for comparison purposes. Use these
values you interpret monitoring results for an auto predictor.
DescribeMonitorResponse
, describeMonitorResponse_creationTime
- The timestamp for when the monitor resource was created.
$sel:estimatedEvaluationTimeRemainingInMinutes:DescribeMonitorResponse'
, describeMonitorResponse_estimatedEvaluationTimeRemainingInMinutes
- The estimated number of minutes remaining before the monitor resource
finishes its current evaluation.
$sel:lastEvaluationState:DescribeMonitorResponse'
, describeMonitorResponse_lastEvaluationState
- The state of the monitor's latest evaluation.
$sel:lastEvaluationTime:DescribeMonitorResponse'
, describeMonitorResponse_lastEvaluationTime
- The timestamp of the latest evaluation completed by the monitor.
DescribeMonitorResponse
, describeMonitorResponse_lastModificationTime
- The timestamp of the latest modification to the monitor.
DescribeMonitorResponse
, describeMonitorResponse_message
- An error message, if any, for the monitor.
DescribeMonitor
, describeMonitorResponse_monitorArn
- The Amazon Resource Name (ARN) of the monitor resource described.
DescribeMonitorResponse
, describeMonitorResponse_monitorName
- The name of the monitor.
DescribeMonitorResponse
, describeMonitorResponse_resourceArn
- The Amazon Resource Name (ARN) of the auto predictor being monitored.
DescribeMonitorResponse
, describeMonitorResponse_status
- The status of the monitor resource.
$sel:httpStatus:DescribeMonitorResponse'
, describeMonitorResponse_httpStatus
- The response's http status code.
Response Lenses
describeMonitorResponse_baseline :: Lens' DescribeMonitorResponse (Maybe Baseline) Source #
Metrics you can use as a baseline for comparison purposes. Use these values you interpret monitoring results for an auto predictor.
describeMonitorResponse_creationTime :: Lens' DescribeMonitorResponse (Maybe UTCTime) Source #
The timestamp for when the monitor resource was created.
describeMonitorResponse_estimatedEvaluationTimeRemainingInMinutes :: Lens' DescribeMonitorResponse (Maybe Integer) Source #
The estimated number of minutes remaining before the monitor resource finishes its current evaluation.
describeMonitorResponse_lastEvaluationState :: Lens' DescribeMonitorResponse (Maybe Text) Source #
The state of the monitor's latest evaluation.
describeMonitorResponse_lastEvaluationTime :: Lens' DescribeMonitorResponse (Maybe UTCTime) Source #
The timestamp of the latest evaluation completed by the monitor.
describeMonitorResponse_lastModificationTime :: Lens' DescribeMonitorResponse (Maybe UTCTime) Source #
The timestamp of the latest modification to the monitor.
describeMonitorResponse_message :: Lens' DescribeMonitorResponse (Maybe Text) Source #
An error message, if any, for the monitor.
describeMonitorResponse_monitorArn :: Lens' DescribeMonitorResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the monitor resource described.
describeMonitorResponse_monitorName :: Lens' DescribeMonitorResponse (Maybe Text) Source #
The name of the monitor.
describeMonitorResponse_resourceArn :: Lens' DescribeMonitorResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the auto predictor being monitored.
describeMonitorResponse_status :: Lens' DescribeMonitorResponse (Maybe Text) Source #
The status of the monitor resource.
describeMonitorResponse_httpStatus :: Lens' DescribeMonitorResponse Int Source #
The response's http status code.