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 |
Synopsis
- data App = App' {
- assessmentSchedule :: Maybe AppAssessmentScheduleType
- complianceStatus :: Maybe AppComplianceStatusType
- description :: Maybe Text
- lastAppComplianceEvaluationTime :: Maybe POSIX
- lastResiliencyScoreEvaluationTime :: Maybe POSIX
- policyArn :: Maybe Text
- resiliencyScore :: Maybe Double
- status :: Maybe AppStatusType
- tags :: Maybe (Sensitive (HashMap Text Text))
- appArn :: Text
- creationTime :: POSIX
- name :: Text
- newApp :: Text -> UTCTime -> Text -> App
- app_assessmentSchedule :: Lens' App (Maybe AppAssessmentScheduleType)
- app_complianceStatus :: Lens' App (Maybe AppComplianceStatusType)
- app_description :: Lens' App (Maybe Text)
- app_lastAppComplianceEvaluationTime :: Lens' App (Maybe UTCTime)
- app_lastResiliencyScoreEvaluationTime :: Lens' App (Maybe UTCTime)
- app_policyArn :: Lens' App (Maybe Text)
- app_resiliencyScore :: Lens' App (Maybe Double)
- app_status :: Lens' App (Maybe AppStatusType)
- app_tags :: Lens' App (Maybe (HashMap Text Text))
- app_appArn :: Lens' App Text
- app_creationTime :: Lens' App UTCTime
- app_name :: Lens' App Text
Documentation
Defines a Resilience Hub application.
See: newApp
smart constructor.
App' | |
|
Instances
Create a value of App
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:assessmentSchedule:App'
, app_assessmentSchedule
- Assessment execution schedule with 'Daily' or 'Disabled' values.
$sel:complianceStatus:App'
, app_complianceStatus
- The current status of compliance for the resiliency policy.
$sel:description:App'
, app_description
- The optional description for an app.
$sel:lastAppComplianceEvaluationTime:App'
, app_lastAppComplianceEvaluationTime
- The timestamp for the most recent compliance evaluation.
$sel:lastResiliencyScoreEvaluationTime:App'
, app_lastResiliencyScoreEvaluationTime
- The timestamp for the most recent resiliency score evaluation.
$sel:policyArn:App'
, app_policyArn
- The Amazon Resource Name (ARN) of the resiliency policy. The format for
this ARN is:
arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
.
For more information about ARNs, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
$sel:resiliencyScore:App'
, app_resiliencyScore
- The current resiliency score for the application.
$sel:status:App'
, app_status
- The status of the application.
$sel:tags:App'
, app_tags
- The tags assigned to the resource. A tag is a label that you assign to
an Amazon Web Services resource. Each tag consists of a key/value pair.
$sel:appArn:App'
, app_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.
$sel:creationTime:App'
, app_creationTime
- The timestamp for when the app was created.
$sel:name:App'
, app_name
- The name for the application.
app_assessmentSchedule :: Lens' App (Maybe AppAssessmentScheduleType) Source #
Assessment execution schedule with 'Daily' or 'Disabled' values.
app_complianceStatus :: Lens' App (Maybe AppComplianceStatusType) Source #
The current status of compliance for the resiliency policy.
app_lastAppComplianceEvaluationTime :: Lens' App (Maybe UTCTime) Source #
The timestamp for the most recent compliance evaluation.
app_lastResiliencyScoreEvaluationTime :: Lens' App (Maybe UTCTime) Source #
The timestamp for the most recent resiliency score evaluation.
app_policyArn :: Lens' App (Maybe Text) Source #
The Amazon Resource Name (ARN) of the resiliency policy. The format for
this ARN is:
arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
.
For more information about ARNs, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
app_resiliencyScore :: Lens' App (Maybe Double) Source #
The current resiliency score for the application.
app_status :: Lens' App (Maybe AppStatusType) Source #
The status of the application.
app_tags :: Lens' App (Maybe (HashMap Text Text)) Source #
The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
app_appArn :: Lens' App 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.