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 |
Returns the name of the label.
Synopsis
- data DescribeLabel = DescribeLabel' {
- labelGroupName :: Text
- labelId :: Text
- newDescribeLabel :: Text -> Text -> DescribeLabel
- describeLabel_labelGroupName :: Lens' DescribeLabel Text
- describeLabel_labelId :: Lens' DescribeLabel Text
- data DescribeLabelResponse = DescribeLabelResponse' {}
- newDescribeLabelResponse :: Int -> DescribeLabelResponse
- describeLabelResponse_createdAt :: Lens' DescribeLabelResponse (Maybe UTCTime)
- describeLabelResponse_endTime :: Lens' DescribeLabelResponse (Maybe UTCTime)
- describeLabelResponse_equipment :: Lens' DescribeLabelResponse (Maybe Text)
- describeLabelResponse_faultCode :: Lens' DescribeLabelResponse (Maybe Text)
- describeLabelResponse_labelGroupArn :: Lens' DescribeLabelResponse (Maybe Text)
- describeLabelResponse_labelGroupName :: Lens' DescribeLabelResponse (Maybe Text)
- describeLabelResponse_labelId :: Lens' DescribeLabelResponse (Maybe Text)
- describeLabelResponse_notes :: Lens' DescribeLabelResponse (Maybe Text)
- describeLabelResponse_rating :: Lens' DescribeLabelResponse (Maybe LabelRating)
- describeLabelResponse_startTime :: Lens' DescribeLabelResponse (Maybe UTCTime)
- describeLabelResponse_httpStatus :: Lens' DescribeLabelResponse Int
Creating a Request
data DescribeLabel Source #
See: newDescribeLabel
smart constructor.
DescribeLabel' | |
|
Instances
Create a value of DescribeLabel
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:
DescribeLabel
, describeLabel_labelGroupName
- Returns the name of the group containing the label.
DescribeLabel
, describeLabel_labelId
- Returns the ID of the label.
Request Lenses
describeLabel_labelGroupName :: Lens' DescribeLabel Text Source #
Returns the name of the group containing the label.
describeLabel_labelId :: Lens' DescribeLabel Text Source #
Returns the ID of the label.
Destructuring the Response
data DescribeLabelResponse Source #
See: newDescribeLabelResponse
smart constructor.
DescribeLabelResponse' | |
|
Instances
newDescribeLabelResponse Source #
Create a value of DescribeLabelResponse
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:
DescribeLabelResponse
, describeLabelResponse_createdAt
- The time at which the label was created.
DescribeLabelResponse
, describeLabelResponse_endTime
- The end time of the requested label.
DescribeLabelResponse
, describeLabelResponse_equipment
- Indicates that a label pertains to a particular piece of equipment.
DescribeLabelResponse
, describeLabelResponse_faultCode
- Indicates the type of anomaly associated with the label.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
DescribeLabelResponse
, describeLabelResponse_labelGroupArn
- The ARN of the requested label group.
DescribeLabel
, describeLabelResponse_labelGroupName
- The name of the requested label group.
DescribeLabel
, describeLabelResponse_labelId
- The ID of the requested label.
$sel:notes:DescribeLabelResponse'
, describeLabelResponse_notes
- Metadata providing additional information about the label.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
DescribeLabelResponse
, describeLabelResponse_rating
- Indicates whether a labeled event represents an anomaly.
DescribeLabelResponse
, describeLabelResponse_startTime
- The start time of the requested label.
$sel:httpStatus:DescribeLabelResponse'
, describeLabelResponse_httpStatus
- The response's http status code.
Response Lenses
describeLabelResponse_createdAt :: Lens' DescribeLabelResponse (Maybe UTCTime) Source #
The time at which the label was created.
describeLabelResponse_endTime :: Lens' DescribeLabelResponse (Maybe UTCTime) Source #
The end time of the requested label.
describeLabelResponse_equipment :: Lens' DescribeLabelResponse (Maybe Text) Source #
Indicates that a label pertains to a particular piece of equipment.
describeLabelResponse_faultCode :: Lens' DescribeLabelResponse (Maybe Text) Source #
Indicates the type of anomaly associated with the label.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
describeLabelResponse_labelGroupArn :: Lens' DescribeLabelResponse (Maybe Text) Source #
The ARN of the requested label group.
describeLabelResponse_labelGroupName :: Lens' DescribeLabelResponse (Maybe Text) Source #
The name of the requested label group.
describeLabelResponse_labelId :: Lens' DescribeLabelResponse (Maybe Text) Source #
The ID of the requested label.
describeLabelResponse_notes :: Lens' DescribeLabelResponse (Maybe Text) Source #
Metadata providing additional information about the label.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
describeLabelResponse_rating :: Lens' DescribeLabelResponse (Maybe LabelRating) Source #
Indicates whether a labeled event represents an anomaly.
describeLabelResponse_startTime :: Lens' DescribeLabelResponse (Maybe UTCTime) Source #
The start time of the requested label.
describeLabelResponse_httpStatus :: Lens' DescribeLabelResponse Int Source #
The response's http status code.