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 |
Creates a new application assessment for an application.
Synopsis
- data StartAppAssessment = StartAppAssessment' {
- clientToken :: Maybe Text
- tags :: Maybe (Sensitive (HashMap Text Text))
- appArn :: Text
- appVersion :: Text
- assessmentName :: Text
- newStartAppAssessment :: Text -> Text -> Text -> StartAppAssessment
- startAppAssessment_clientToken :: Lens' StartAppAssessment (Maybe Text)
- startAppAssessment_tags :: Lens' StartAppAssessment (Maybe (HashMap Text Text))
- startAppAssessment_appArn :: Lens' StartAppAssessment Text
- startAppAssessment_appVersion :: Lens' StartAppAssessment Text
- startAppAssessment_assessmentName :: Lens' StartAppAssessment Text
- data StartAppAssessmentResponse = StartAppAssessmentResponse' {}
- newStartAppAssessmentResponse :: Int -> AppAssessment -> StartAppAssessmentResponse
- startAppAssessmentResponse_httpStatus :: Lens' StartAppAssessmentResponse Int
- startAppAssessmentResponse_assessment :: Lens' StartAppAssessmentResponse AppAssessment
Creating a Request
data StartAppAssessment Source #
See: newStartAppAssessment
smart constructor.
StartAppAssessment' | |
|
Instances
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.
startAppAssessment_appVersion :: Lens' StartAppAssessment Text Source #
The version of the application.
startAppAssessment_assessmentName :: Lens' StartAppAssessment Text Source #
The name for the assessment.
Destructuring the Response
data StartAppAssessmentResponse Source #
See: newStartAppAssessmentResponse
smart constructor.
StartAppAssessmentResponse' | |
|
Instances
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
startAppAssessmentResponse_httpStatus :: Lens' StartAppAssessmentResponse Int Source #
The response's http status code.
startAppAssessmentResponse_assessment :: Lens' StartAppAssessmentResponse AppAssessment Source #
The assessment created.