Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns details about an insight that you specify using its ID.
Synopsis
- data DescribeInsight = DescribeInsight' {}
- newDescribeInsight :: Text -> DescribeInsight
- describeInsight_id :: Lens' DescribeInsight Text
- data DescribeInsightResponse = DescribeInsightResponse' {}
- newDescribeInsightResponse :: Int -> DescribeInsightResponse
- describeInsightResponse_proactiveInsight :: Lens' DescribeInsightResponse (Maybe ProactiveInsight)
- describeInsightResponse_reactiveInsight :: Lens' DescribeInsightResponse (Maybe ReactiveInsight)
- describeInsightResponse_httpStatus :: Lens' DescribeInsightResponse Int
Creating a Request
data DescribeInsight Source #
See: newDescribeInsight
smart constructor.
Instances
Create a value of DescribeInsight
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:DescribeInsight'
, describeInsight_id
- The ID of the insight.
Request Lenses
describeInsight_id :: Lens' DescribeInsight Text Source #
The ID of the insight.
Destructuring the Response
data DescribeInsightResponse Source #
See: newDescribeInsightResponse
smart constructor.
DescribeInsightResponse' | |
|
Instances
newDescribeInsightResponse Source #
Create a value of DescribeInsightResponse
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:proactiveInsight:DescribeInsightResponse'
, describeInsightResponse_proactiveInsight
- A ProactiveInsight
object that represents the requested insight.
$sel:reactiveInsight:DescribeInsightResponse'
, describeInsightResponse_reactiveInsight
- A ReactiveInsight
object that represents the requested insight.
$sel:httpStatus:DescribeInsightResponse'
, describeInsightResponse_httpStatus
- The response's http status code.
Response Lenses
describeInsightResponse_proactiveInsight :: Lens' DescribeInsightResponse (Maybe ProactiveInsight) Source #
A ProactiveInsight
object that represents the requested insight.
describeInsightResponse_reactiveInsight :: Lens' DescribeInsightResponse (Maybe ReactiveInsight) Source #
A ReactiveInsight
object that represents the requested insight.
describeInsightResponse_httpStatus :: Lens' DescribeInsightResponse Int Source #
The response's http status code.