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 the number of open proactive insights, open reactive insights, and the Mean Time to Recover (MTTR) for all closed insights in resource collections in your account. You specify the type of AWS resources collection. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks.
This operation returns paginated results.
Synopsis
- data DescribeResourceCollectionHealth = DescribeResourceCollectionHealth' {}
- newDescribeResourceCollectionHealth :: ResourceCollectionType -> DescribeResourceCollectionHealth
- describeResourceCollectionHealth_nextToken :: Lens' DescribeResourceCollectionHealth (Maybe Text)
- describeResourceCollectionHealth_resourceCollectionType :: Lens' DescribeResourceCollectionHealth ResourceCollectionType
- data DescribeResourceCollectionHealthResponse = DescribeResourceCollectionHealthResponse' {}
- newDescribeResourceCollectionHealthResponse :: Int -> DescribeResourceCollectionHealthResponse
- describeResourceCollectionHealthResponse_service :: Lens' DescribeResourceCollectionHealthResponse (Maybe [ServiceHealth])
- describeResourceCollectionHealthResponse_nextToken :: Lens' DescribeResourceCollectionHealthResponse (Maybe Text)
- describeResourceCollectionHealthResponse_httpStatus :: Lens' DescribeResourceCollectionHealthResponse Int
- describeResourceCollectionHealthResponse_cloudFormation :: Lens' DescribeResourceCollectionHealthResponse [CloudFormationHealth]
Creating a Request
data DescribeResourceCollectionHealth Source #
See: newDescribeResourceCollectionHealth
smart constructor.
DescribeResourceCollectionHealth' | |
|
Instances
newDescribeResourceCollectionHealth Source #
:: ResourceCollectionType |
|
-> DescribeResourceCollectionHealth |
Create a value of DescribeResourceCollectionHealth
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:nextToken:DescribeResourceCollectionHealth'
, describeResourceCollectionHealth_nextToken
- The pagination token to use to retrieve the next page of results for
this operation. If this value is null, it retrieves the first page.
$sel:resourceCollectionType:DescribeResourceCollectionHealth'
, describeResourceCollectionHealth_resourceCollectionType
- An AWS resource collection type. This type specifies how analyzed AWS
resources are defined. The one type of AWS resource collection supported
is AWS CloudFormation stacks. DevOps Guru can be configured to analyze
only the AWS resources that are defined in the stacks. You can specify
up to 500 AWS CloudFormation stacks.
Request Lenses
describeResourceCollectionHealth_nextToken :: Lens' DescribeResourceCollectionHealth (Maybe Text) Source #
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
describeResourceCollectionHealth_resourceCollectionType :: Lens' DescribeResourceCollectionHealth ResourceCollectionType Source #
An AWS resource collection type. This type specifies how analyzed AWS resources are defined. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks.
Destructuring the Response
data DescribeResourceCollectionHealthResponse Source #
See: newDescribeResourceCollectionHealthResponse
smart constructor.
DescribeResourceCollectionHealthResponse' | |
|
Instances
newDescribeResourceCollectionHealthResponse Source #
Create a value of DescribeResourceCollectionHealthResponse
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:service:DescribeResourceCollectionHealthResponse'
, describeResourceCollectionHealthResponse_service
- An array of ServiceHealth
objects that describes the health of the AWS
services associated with the resources in the collection.
$sel:nextToken:DescribeResourceCollectionHealth'
, describeResourceCollectionHealthResponse_nextToken
- The pagination token to use to retrieve the next page of results for
this operation. If there are no more pages, this value is null.
$sel:httpStatus:DescribeResourceCollectionHealthResponse'
, describeResourceCollectionHealthResponse_httpStatus
- The response's http status code.
$sel:cloudFormation:DescribeResourceCollectionHealthResponse'
, describeResourceCollectionHealthResponse_cloudFormation
- The returned CloudFormationHealthOverview
object that contains an
InsightHealthOverview
object with the requested system health
information.
Response Lenses
describeResourceCollectionHealthResponse_service :: Lens' DescribeResourceCollectionHealthResponse (Maybe [ServiceHealth]) Source #
An array of ServiceHealth
objects that describes the health of the AWS
services associated with the resources in the collection.
describeResourceCollectionHealthResponse_nextToken :: Lens' DescribeResourceCollectionHealthResponse (Maybe Text) Source #
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
describeResourceCollectionHealthResponse_httpStatus :: Lens' DescribeResourceCollectionHealthResponse Int Source #
The response's http status code.
describeResourceCollectionHealthResponse_cloudFormation :: Lens' DescribeResourceCollectionHealthResponse [CloudFormationHealth] Source #
The returned CloudFormationHealthOverview
object that contains an
InsightHealthOverview
object with the requested system health
information.