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.Types.App

Description

 
Synopsis

Documentation

data App Source #

Defines a Resilience Hub application.

See: newApp smart constructor.

Constructors

App' 

Fields

Instances

Instances details
FromJSON App Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.App

Generic App Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.App

Associated Types

type Rep App :: Type -> Type #

Methods

from :: App -> Rep App x #

to :: Rep App x -> App #

Show App Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.App

Methods

showsPrec :: Int -> App -> ShowS #

show :: App -> String #

showList :: [App] -> ShowS #

NFData App Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.App

Methods

rnf :: App -> () #

Eq App Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.App

Methods

(==) :: App -> App -> Bool #

(/=) :: App -> App -> Bool #

Hashable App Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.App

Methods

hashWithSalt :: Int -> App -> Int #

hash :: App -> Int #

type Rep App Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.App

type Rep App = D1 ('MetaData "App" "Amazonka.ResilienceHub.Types.App" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "App'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "assessmentSchedule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AppAssessmentScheduleType)) :*: (S1 ('MetaSel ('Just "complianceStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AppComplianceStatusType)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "lastAppComplianceEvaluationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "lastResiliencyScoreEvaluationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "policyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "resiliencyScore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AppStatusType)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text Text)))))) :*: (S1 ('MetaSel ('Just "appArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newApp Source #

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_description :: Lens' App (Maybe Text) Source #

The optional description for an app.

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.

app_creationTime :: Lens' App UTCTime Source #

The timestamp for when the app was created.

app_name :: Lens' App Text Source #

The name for the application.