| 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 |
Amazonka.DevOpsGuru.DescribeInsight
Description
Returns details about an insight that you specify using its ID.
Synopsis
- data DescribeInsight = DescribeInsight' {}
- newDescribeInsight :: Text -> DescribeInsight
- describeInsight_accountId :: Lens' DescribeInsight (Maybe Text)
- 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.
Constructors
| DescribeInsight' | |
Instances
Arguments
| :: Text | |
| -> DescribeInsight |
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:
DescribeInsight, describeInsight_accountId - The ID of the member account in the organization.
DescribeInsight, describeInsight_id - The ID of the insight.
Request Lenses
describeInsight_accountId :: Lens' DescribeInsight (Maybe Text) Source #
The ID of the member account in the organization.
describeInsight_id :: Lens' DescribeInsight Text Source #
The ID of the insight.
Destructuring the Response
data DescribeInsightResponse Source #
See: newDescribeInsightResponse smart constructor.
Constructors
| DescribeInsightResponse' | |
Fields
| |
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.