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

Description

Lists the assessments for an AWS Resilience Hub application. You can use request parameters to refine the results for the response object.

Synopsis

Creating a Request

data ListAppAssessments Source #

See: newListAppAssessments smart constructor.

Constructors

ListAppAssessments' 

Fields

Instances

Instances details
ToHeaders ListAppAssessments Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppAssessments

ToPath ListAppAssessments Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppAssessments

ToQuery ListAppAssessments Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppAssessments

AWSRequest ListAppAssessments Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppAssessments

Associated Types

type AWSResponse ListAppAssessments #

Generic ListAppAssessments Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppAssessments

Associated Types

type Rep ListAppAssessments :: Type -> Type #

Read ListAppAssessments Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppAssessments

Show ListAppAssessments Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppAssessments

NFData ListAppAssessments Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppAssessments

Methods

rnf :: ListAppAssessments -> () #

Eq ListAppAssessments Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppAssessments

Hashable ListAppAssessments Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppAssessments

type AWSResponse ListAppAssessments Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppAssessments

type Rep ListAppAssessments Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppAssessments

newListAppAssessments :: ListAppAssessments Source #

Create a value of ListAppAssessments 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:

ListAppAssessments, listAppAssessments_appArn - The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

ListAppAssessments, listAppAssessments_assessmentName - The name for the assessment.

ListAppAssessments, listAppAssessments_assessmentStatus - The current status of the assessment for the resiliency policy.

ListAppAssessments, listAppAssessments_complianceStatus - The current status of compliance for the resiliency policy.

ListAppAssessments, listAppAssessments_invoker - Specifies the entity that invoked a specific assessment, either a User or the System.

$sel:maxResults:ListAppAssessments', listAppAssessments_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.

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

$sel:reverseOrder:ListAppAssessments', listAppAssessments_reverseOrder - The default is to sort by ascending startTime. To sort by descending startTime, set reverseOrder to true.

Request Lenses

listAppAssessments_appArn :: Lens' ListAppAssessments (Maybe Text) Source #

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

listAppAssessments_assessmentStatus :: Lens' ListAppAssessments (Maybe (NonEmpty AssessmentStatus)) Source #

The current status of the assessment for the resiliency policy.

listAppAssessments_complianceStatus :: Lens' ListAppAssessments (Maybe ComplianceStatus) Source #

The current status of compliance for the resiliency policy.

listAppAssessments_invoker :: Lens' ListAppAssessments (Maybe AssessmentInvoker) Source #

Specifies the entity that invoked a specific assessment, either a User or the System.

listAppAssessments_maxResults :: Lens' ListAppAssessments (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.

listAppAssessments_nextToken :: Lens' ListAppAssessments (Maybe Text) Source #

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

listAppAssessments_reverseOrder :: Lens' ListAppAssessments (Maybe Bool) Source #

The default is to sort by ascending startTime. To sort by descending startTime, set reverseOrder to true.

Destructuring the Response

data ListAppAssessmentsResponse Source #

See: newListAppAssessmentsResponse smart constructor.

Constructors

ListAppAssessmentsResponse' 

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.

  • assessmentSummaries :: [AppAssessmentSummary]

    The summaries for the specified assessments, returned as an object. This object includes application versions, associated Amazon Resource Numbers (ARNs), cost, messages, resiliency scores, and more.

Instances

Instances details
Generic ListAppAssessmentsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppAssessments

Associated Types

type Rep ListAppAssessmentsResponse :: Type -> Type #

Read ListAppAssessmentsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppAssessments

Show ListAppAssessmentsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppAssessments

NFData ListAppAssessmentsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppAssessments

Eq ListAppAssessmentsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppAssessments

type Rep ListAppAssessmentsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppAssessments

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

newListAppAssessmentsResponse Source #

Create a value of ListAppAssessmentsResponse 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:

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

$sel:httpStatus:ListAppAssessmentsResponse', listAppAssessmentsResponse_httpStatus - The response's http status code.

$sel:assessmentSummaries:ListAppAssessmentsResponse', listAppAssessmentsResponse_assessmentSummaries - The summaries for the specified assessments, returned as an object. This object includes application versions, associated Amazon Resource Numbers (ARNs), cost, messages, resiliency scores, and more.

Response Lenses

listAppAssessmentsResponse_nextToken :: Lens' ListAppAssessmentsResponse (Maybe Text) Source #

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

listAppAssessmentsResponse_assessmentSummaries :: Lens' ListAppAssessmentsResponse [AppAssessmentSummary] Source #

The summaries for the specified assessments, returned as an object. This object includes application versions, associated Amazon Resource Numbers (ARNs), cost, messages, resiliency scores, and more.