| 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.DescribeOrganizationHealth
Description
Returns active insights, predictive insights, and resource hours analyzed in last hour.
Synopsis
- data DescribeOrganizationHealth = DescribeOrganizationHealth' {
- accountIds :: Maybe [Text]
- organizationalUnitIds :: Maybe [Text]
- newDescribeOrganizationHealth :: DescribeOrganizationHealth
- describeOrganizationHealth_accountIds :: Lens' DescribeOrganizationHealth (Maybe [Text])
- describeOrganizationHealth_organizationalUnitIds :: Lens' DescribeOrganizationHealth (Maybe [Text])
- data DescribeOrganizationHealthResponse = DescribeOrganizationHealthResponse' {}
- newDescribeOrganizationHealthResponse :: Int -> Int -> Int -> Int -> Integer -> DescribeOrganizationHealthResponse
- describeOrganizationHealthResponse_httpStatus :: Lens' DescribeOrganizationHealthResponse Int
- describeOrganizationHealthResponse_openReactiveInsights :: Lens' DescribeOrganizationHealthResponse Int
- describeOrganizationHealthResponse_openProactiveInsights :: Lens' DescribeOrganizationHealthResponse Int
- describeOrganizationHealthResponse_metricsAnalyzed :: Lens' DescribeOrganizationHealthResponse Int
- describeOrganizationHealthResponse_resourceHours :: Lens' DescribeOrganizationHealthResponse Integer
Creating a Request
data DescribeOrganizationHealth Source #
See: newDescribeOrganizationHealth smart constructor.
Constructors
| DescribeOrganizationHealth' | |
Fields
| |
Instances
newDescribeOrganizationHealth :: DescribeOrganizationHealth Source #
Create a value of DescribeOrganizationHealth 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:accountIds:DescribeOrganizationHealth', describeOrganizationHealth_accountIds - The ID of the Amazon Web Services account.
$sel:organizationalUnitIds:DescribeOrganizationHealth', describeOrganizationHealth_organizationalUnitIds - The ID of the organizational unit.
Request Lenses
describeOrganizationHealth_accountIds :: Lens' DescribeOrganizationHealth (Maybe [Text]) Source #
The ID of the Amazon Web Services account.
describeOrganizationHealth_organizationalUnitIds :: Lens' DescribeOrganizationHealth (Maybe [Text]) Source #
The ID of the organizational unit.
Destructuring the Response
data DescribeOrganizationHealthResponse Source #
See: newDescribeOrganizationHealthResponse smart constructor.
Constructors
| DescribeOrganizationHealthResponse' | |
Fields
| |
Instances
newDescribeOrganizationHealthResponse Source #
Create a value of DescribeOrganizationHealthResponse 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:httpStatus:DescribeOrganizationHealthResponse', describeOrganizationHealthResponse_httpStatus - The response's http status code.
DescribeOrganizationHealthResponse, describeOrganizationHealthResponse_openReactiveInsights - An integer that specifies the number of open reactive insights in your
Amazon Web Services account.
DescribeOrganizationHealthResponse, describeOrganizationHealthResponse_openProactiveInsights - An integer that specifies the number of open proactive insights in your
Amazon Web Services account.
$sel:metricsAnalyzed:DescribeOrganizationHealthResponse', describeOrganizationHealthResponse_metricsAnalyzed - An integer that specifies the number of metrics that have been analyzed
in your organization.
$sel:resourceHours:DescribeOrganizationHealthResponse', describeOrganizationHealthResponse_resourceHours - The number of Amazon DevOps Guru resource analysis hours billed to the
current Amazon Web Services account in the last hour.
Response Lenses
describeOrganizationHealthResponse_httpStatus :: Lens' DescribeOrganizationHealthResponse Int Source #
The response's http status code.
describeOrganizationHealthResponse_openReactiveInsights :: Lens' DescribeOrganizationHealthResponse Int Source #
An integer that specifies the number of open reactive insights in your Amazon Web Services account.
describeOrganizationHealthResponse_openProactiveInsights :: Lens' DescribeOrganizationHealthResponse Int Source #
An integer that specifies the number of open proactive insights in your Amazon Web Services account.
describeOrganizationHealthResponse_metricsAnalyzed :: Lens' DescribeOrganizationHealthResponse Int Source #
An integer that specifies the number of metrics that have been analyzed in your organization.
describeOrganizationHealthResponse_resourceHours :: Lens' DescribeOrganizationHealthResponse Integer Source #
The number of Amazon DevOps Guru resource analysis hours billed to the current Amazon Web Services account in the last hour.