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 |
Lists the compliances for an AWS Resilience Hub component.
Synopsis
- data ListAppComponentCompliances = ListAppComponentCompliances' {}
- newListAppComponentCompliances :: Text -> ListAppComponentCompliances
- listAppComponentCompliances_maxResults :: Lens' ListAppComponentCompliances (Maybe Natural)
- listAppComponentCompliances_nextToken :: Lens' ListAppComponentCompliances (Maybe Text)
- listAppComponentCompliances_assessmentArn :: Lens' ListAppComponentCompliances Text
- data ListAppComponentCompliancesResponse = ListAppComponentCompliancesResponse' {}
- newListAppComponentCompliancesResponse :: Int -> ListAppComponentCompliancesResponse
- listAppComponentCompliancesResponse_nextToken :: Lens' ListAppComponentCompliancesResponse (Maybe Text)
- listAppComponentCompliancesResponse_httpStatus :: Lens' ListAppComponentCompliancesResponse Int
- listAppComponentCompliancesResponse_componentCompliances :: Lens' ListAppComponentCompliancesResponse [AppComponentCompliance]
Creating a Request
data ListAppComponentCompliances Source #
See: newListAppComponentCompliances
smart constructor.
ListAppComponentCompliances' | |
|
Instances
newListAppComponentCompliances Source #
Create a value of ListAppComponentCompliances
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:maxResults:ListAppComponentCompliances'
, listAppComponentCompliances_maxResults
- The maximum number of results to include in the response. If more
results exist than the specified MaxResults
value, a token is included
in the response so that the remaining results can be retrieved.
ListAppComponentCompliances
, listAppComponentCompliances_nextToken
- Null, or the token from a previous call to get the next set of results.
ListAppComponentCompliances
, listAppComponentCompliances_assessmentArn
- The Amazon Resource Name (ARN) of the assessment. The format for this
ARN is:
arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
.
For more information about ARNs, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
Request Lenses
listAppComponentCompliances_maxResults :: Lens' ListAppComponentCompliances (Maybe Natural) Source #
The maximum number of results to include in the response. If more
results exist than the specified MaxResults
value, a token is included
in the response so that the remaining results can be retrieved.
listAppComponentCompliances_nextToken :: Lens' ListAppComponentCompliances (Maybe Text) Source #
Null, or the token from a previous call to get the next set of results.
listAppComponentCompliances_assessmentArn :: Lens' ListAppComponentCompliances Text Source #
The Amazon Resource Name (ARN) of the assessment. The format for this
ARN is:
arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
.
For more information about ARNs, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
Destructuring the Response
data ListAppComponentCompliancesResponse Source #
See: newListAppComponentCompliancesResponse
smart constructor.
ListAppComponentCompliancesResponse' | |
|
Instances
newListAppComponentCompliancesResponse Source #
Create a value of ListAppComponentCompliancesResponse
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:
ListAppComponentCompliances
, listAppComponentCompliancesResponse_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:httpStatus:ListAppComponentCompliancesResponse'
, listAppComponentCompliancesResponse_httpStatus
- The response's http status code.
$sel:componentCompliances:ListAppComponentCompliancesResponse'
, listAppComponentCompliancesResponse_componentCompliances
- The compliances for an AWS Resilience Hub application component,
returned as an object. This object contains component names,
compliances, costs, resiliency scores, outage scores, and more.
Response Lenses
listAppComponentCompliancesResponse_nextToken :: Lens' ListAppComponentCompliancesResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listAppComponentCompliancesResponse_httpStatus :: Lens' ListAppComponentCompliancesResponse Int Source #
The response's http status code.
listAppComponentCompliancesResponse_componentCompliances :: Lens' ListAppComponentCompliancesResponse [AppComponentCompliance] Source #
The compliances for an AWS Resilience Hub application component, returned as an object. This object contains component names, compliances, costs, resiliency scores, outage scores, and more.