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 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 Amazon Web Services resources collection. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services 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' {
- cloudFormation :: Maybe [CloudFormationHealth]
- nextToken :: Maybe Text
- service :: Maybe [ServiceHealth]
- tags :: Maybe [TagHealth]
- httpStatus :: Int
- newDescribeResourceCollectionHealthResponse :: Int -> DescribeResourceCollectionHealthResponse
- describeResourceCollectionHealthResponse_cloudFormation :: Lens' DescribeResourceCollectionHealthResponse (Maybe [CloudFormationHealth])
- describeResourceCollectionHealthResponse_nextToken :: Lens' DescribeResourceCollectionHealthResponse (Maybe Text)
- describeResourceCollectionHealthResponse_service :: Lens' DescribeResourceCollectionHealthResponse (Maybe [ServiceHealth])
- describeResourceCollectionHealthResponse_tags :: Lens' DescribeResourceCollectionHealthResponse (Maybe [TagHealth])
- describeResourceCollectionHealthResponse_httpStatus :: Lens' DescribeResourceCollectionHealthResponse Int
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:
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 Amazon Web Services resource collection type. This type specifies how
analyzed Amazon Web Services resources are defined. The two types of
Amazon Web Services resource collections supported are Amazon Web
Services CloudFormation stacks and Amazon Web Services resources that
contain the same Amazon Web Services tag. DevOps Guru can be configured
to analyze the Amazon Web Services resources that are defined in the
stacks or that are tagged using the same tag key. You can specify up
to 500 Amazon Web Services 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 Amazon Web Services resource collection type. This type specifies how analyzed Amazon Web Services resources are defined. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services 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:
DescribeResourceCollectionHealthResponse
, describeResourceCollectionHealthResponse_cloudFormation
- The returned CloudFormationHealthOverview
object that contains an
InsightHealthOverview
object with the requested system health
information.
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:service:DescribeResourceCollectionHealthResponse'
, describeResourceCollectionHealthResponse_service
- An array of ServiceHealth
objects that describes the health of the
Amazon Web Services services associated with the resources in the
collection.
DescribeResourceCollectionHealthResponse
, describeResourceCollectionHealthResponse_tags
- The Amazon Web Services tags that are used by resources in the resource
collection.
Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB table resource that you assign to an Lambda function. For more information about using tags, see the Tagging best practices whitepaper.
Each Amazon Web Services tag has two parts.
- A tag key (for example,
CostCenter
,Environment
,Project
, orSecret
). Tag keys are case-sensitive. - An optional field known as a tag value (for example,
111122223333
,Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case-sensitive.
Together these are known as key-value pairs.
The string used for a key in a tag that you use to define your
resource coverage must begin with the prefix Devops-guru-
. The tag
key might be DevOps-Guru-deployment-application
or
devops-guru-rds-application
. When you create a key, the case of
characters in the key can be whatever you choose. After you create a
key, it is case-sensitive. For example, DevOps Guru works with a key
named devops-guru-rds
and a key named DevOps-Guru-RDS
, and these
act as two different keys. Possible key/value pairs in your
application might be Devops-Guru-production-application/RDS
or
Devops-Guru-production-application/containers
.
$sel:httpStatus:DescribeResourceCollectionHealthResponse'
, describeResourceCollectionHealthResponse_httpStatus
- The response's http status code.
Response Lenses
describeResourceCollectionHealthResponse_cloudFormation :: Lens' DescribeResourceCollectionHealthResponse (Maybe [CloudFormationHealth]) Source #
The returned CloudFormationHealthOverview
object that contains an
InsightHealthOverview
object with the requested system health
information.
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_service :: Lens' DescribeResourceCollectionHealthResponse (Maybe [ServiceHealth]) Source #
An array of ServiceHealth
objects that describes the health of the
Amazon Web Services services associated with the resources in the
collection.
describeResourceCollectionHealthResponse_tags :: Lens' DescribeResourceCollectionHealthResponse (Maybe [TagHealth]) Source #
The Amazon Web Services tags that are used by resources in the resource collection.
Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB table resource that you assign to an Lambda function. For more information about using tags, see the Tagging best practices whitepaper.
Each Amazon Web Services tag has two parts.
- A tag key (for example,
CostCenter
,Environment
,Project
, orSecret
). Tag keys are case-sensitive. - An optional field known as a tag value (for example,
111122223333
,Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case-sensitive.
Together these are known as key-value pairs.
The string used for a key in a tag that you use to define your
resource coverage must begin with the prefix Devops-guru-
. The tag
key might be DevOps-Guru-deployment-application
or
devops-guru-rds-application
. When you create a key, the case of
characters in the key can be whatever you choose. After you create a
key, it is case-sensitive. For example, DevOps Guru works with a key
named devops-guru-rds
and a key named DevOps-Guru-RDS
, and these
act as two different keys. Possible key/value pairs in your
application might be Devops-Guru-production-application/RDS
or
Devops-Guru-production-application/containers
.
describeResourceCollectionHealthResponse_httpStatus :: Lens' DescribeResourceCollectionHealthResponse Int Source #
The response's http status code.