amazonka-resiliencehub-2.0: Amazon Resilience Hub SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ResilienceHub.ListAppComponentCompliances

Description

Lists the compliances for an AWS Resilience Hub component.

Synopsis

Creating a Request

data ListAppComponentCompliances Source #

See: newListAppComponentCompliances smart constructor.

Constructors

ListAppComponentCompliances' 

Fields

  • maxResults :: Maybe Natural

    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.

  • nextToken :: Maybe Text

    Null, or the token from a previous call to get the next set of results.

  • assessmentArn :: Text

    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.

Instances

Instances details
ToJSON ListAppComponentCompliances Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentCompliances

ToHeaders ListAppComponentCompliances Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentCompliances

ToPath ListAppComponentCompliances Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentCompliances

ToQuery ListAppComponentCompliances Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentCompliances

AWSRequest ListAppComponentCompliances Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentCompliances

Generic ListAppComponentCompliances Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentCompliances

Associated Types

type Rep ListAppComponentCompliances :: Type -> Type #

Read ListAppComponentCompliances Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentCompliances

Show ListAppComponentCompliances Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentCompliances

NFData ListAppComponentCompliances Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentCompliances

Eq ListAppComponentCompliances Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentCompliances

Hashable ListAppComponentCompliances Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentCompliances

type AWSResponse ListAppComponentCompliances Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentCompliances

type Rep ListAppComponentCompliances Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentCompliances

type Rep ListAppComponentCompliances = D1 ('MetaData "ListAppComponentCompliances" "Amazonka.ResilienceHub.ListAppComponentCompliances" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "ListAppComponentCompliances'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "assessmentArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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 #

Constructors

ListAppComponentCompliancesResponse' 

Fields

  • nextToken :: Maybe Text

    The token for the next set of results, or null if there are no more results.

  • httpStatus :: Int

    The response's http status code.

  • componentCompliances :: [AppComponentCompliance]

    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.

Instances

Instances details
Generic ListAppComponentCompliancesResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentCompliances

Read ListAppComponentCompliancesResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentCompliances

Show ListAppComponentCompliancesResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentCompliances

NFData ListAppComponentCompliancesResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentCompliances

Eq ListAppComponentCompliancesResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentCompliances

type Rep ListAppComponentCompliancesResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentCompliances

type Rep ListAppComponentCompliancesResponse = D1 ('MetaData "ListAppComponentCompliancesResponse" "Amazonka.ResilienceHub.ListAppComponentCompliances" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "ListAppComponentCompliancesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "componentCompliances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [AppComponentCompliance]))))

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_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.