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

Description

Creates a new application assessment for an application.

Synopsis

Creating a Request

data StartAppAssessment Source #

See: newStartAppAssessment smart constructor.

Constructors

StartAppAssessment' 

Fields

  • clientToken :: Maybe Text

    Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.

  • tags :: Maybe (Sensitive (HashMap Text Text))

    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.

  • appArn :: Text

    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.

  • appVersion :: Text

    The version of the application.

  • assessmentName :: Text

    The name for the assessment.

Instances

Instances details
ToJSON StartAppAssessment Source # 
Instance details

Defined in Amazonka.ResilienceHub.StartAppAssessment

ToHeaders StartAppAssessment Source # 
Instance details

Defined in Amazonka.ResilienceHub.StartAppAssessment

ToPath StartAppAssessment Source # 
Instance details

Defined in Amazonka.ResilienceHub.StartAppAssessment

ToQuery StartAppAssessment Source # 
Instance details

Defined in Amazonka.ResilienceHub.StartAppAssessment

AWSRequest StartAppAssessment Source # 
Instance details

Defined in Amazonka.ResilienceHub.StartAppAssessment

Associated Types

type AWSResponse StartAppAssessment #

Generic StartAppAssessment Source # 
Instance details

Defined in Amazonka.ResilienceHub.StartAppAssessment

Associated Types

type Rep StartAppAssessment :: Type -> Type #

Show StartAppAssessment Source # 
Instance details

Defined in Amazonka.ResilienceHub.StartAppAssessment

NFData StartAppAssessment Source # 
Instance details

Defined in Amazonka.ResilienceHub.StartAppAssessment

Methods

rnf :: StartAppAssessment -> () #

Eq StartAppAssessment Source # 
Instance details

Defined in Amazonka.ResilienceHub.StartAppAssessment

Hashable StartAppAssessment Source # 
Instance details

Defined in Amazonka.ResilienceHub.StartAppAssessment

type AWSResponse StartAppAssessment Source # 
Instance details

Defined in Amazonka.ResilienceHub.StartAppAssessment

type Rep StartAppAssessment Source # 
Instance details

Defined in Amazonka.ResilienceHub.StartAppAssessment

type Rep StartAppAssessment = D1 ('MetaData "StartAppAssessment" "Amazonka.ResilienceHub.StartAppAssessment" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "StartAppAssessment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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 "appVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "assessmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newStartAppAssessment Source #

Create a value of StartAppAssessment 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:clientToken:StartAppAssessment', startAppAssessment_clientToken - Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.

StartAppAssessment, startAppAssessment_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.

StartAppAssessment, startAppAssessment_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.

StartAppAssessment, startAppAssessment_appVersion - The version of the application.

StartAppAssessment, startAppAssessment_assessmentName - The name for the assessment.

Request Lenses

startAppAssessment_clientToken :: Lens' StartAppAssessment (Maybe Text) Source #

Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.

startAppAssessment_tags :: Lens' StartAppAssessment (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.

startAppAssessment_appArn :: Lens' StartAppAssessment 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.

Destructuring the Response

data StartAppAssessmentResponse Source #

See: newStartAppAssessmentResponse smart constructor.

Constructors

StartAppAssessmentResponse' 

Fields

Instances

Instances details
Generic StartAppAssessmentResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.StartAppAssessment

Associated Types

type Rep StartAppAssessmentResponse :: Type -> Type #

Show StartAppAssessmentResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.StartAppAssessment

NFData StartAppAssessmentResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.StartAppAssessment

Eq StartAppAssessmentResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.StartAppAssessment

type Rep StartAppAssessmentResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.StartAppAssessment

type Rep StartAppAssessmentResponse = D1 ('MetaData "StartAppAssessmentResponse" "Amazonka.ResilienceHub.StartAppAssessment" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "StartAppAssessmentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "assessment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AppAssessment)))

newStartAppAssessmentResponse Source #

Create a value of StartAppAssessmentResponse 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:httpStatus:StartAppAssessmentResponse', startAppAssessmentResponse_httpStatus - The response's http status code.

$sel:assessment:StartAppAssessmentResponse', startAppAssessmentResponse_assessment - The assessment created.

Response Lenses