Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates the assessment target that is specified by the ARN of the assessment target.
If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the assessment target.
Synopsis
- data UpdateAssessmentTarget = UpdateAssessmentTarget' {}
- newUpdateAssessmentTarget :: Text -> Text -> UpdateAssessmentTarget
- updateAssessmentTarget_resourceGroupArn :: Lens' UpdateAssessmentTarget (Maybe Text)
- updateAssessmentTarget_assessmentTargetArn :: Lens' UpdateAssessmentTarget Text
- updateAssessmentTarget_assessmentTargetName :: Lens' UpdateAssessmentTarget Text
- data UpdateAssessmentTargetResponse = UpdateAssessmentTargetResponse' {
- newUpdateAssessmentTargetResponse :: UpdateAssessmentTargetResponse
Creating a Request
data UpdateAssessmentTarget Source #
See: newUpdateAssessmentTarget
smart constructor.
UpdateAssessmentTarget' | |
|
Instances
newUpdateAssessmentTarget Source #
:: Text | |
-> Text | |
-> UpdateAssessmentTarget |
Create a value of UpdateAssessmentTarget
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:resourceGroupArn:UpdateAssessmentTarget'
, updateAssessmentTarget_resourceGroupArn
- The ARN of the resource group that is used to specify the new resource
group to associate with the assessment target.
$sel:assessmentTargetArn:UpdateAssessmentTarget'
, updateAssessmentTarget_assessmentTargetArn
- The ARN of the assessment target that you want to update.
$sel:assessmentTargetName:UpdateAssessmentTarget'
, updateAssessmentTarget_assessmentTargetName
- The name of the assessment target that you want to update.
Request Lenses
updateAssessmentTarget_resourceGroupArn :: Lens' UpdateAssessmentTarget (Maybe Text) Source #
The ARN of the resource group that is used to specify the new resource group to associate with the assessment target.
updateAssessmentTarget_assessmentTargetArn :: Lens' UpdateAssessmentTarget Text Source #
The ARN of the assessment target that you want to update.
updateAssessmentTarget_assessmentTargetName :: Lens' UpdateAssessmentTarget Text Source #
The name of the assessment target that you want to update.
Destructuring the Response
data UpdateAssessmentTargetResponse Source #
See: newUpdateAssessmentTargetResponse
smart constructor.
Instances
newUpdateAssessmentTargetResponse :: UpdateAssessmentTargetResponse Source #
Create a value of UpdateAssessmentTargetResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.