libZSservicesZSamazonka-inspectorZSamazonka-inspector
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Inspector.UpdateAssessmentTarget

Description

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

Creating a Request

data UpdateAssessmentTarget Source #

See: newUpdateAssessmentTarget smart constructor.

Constructors

UpdateAssessmentTarget' 

Fields

Instances

Instances details
Eq UpdateAssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.UpdateAssessmentTarget

Read UpdateAssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.UpdateAssessmentTarget

Show UpdateAssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.UpdateAssessmentTarget

Generic UpdateAssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.UpdateAssessmentTarget

Associated Types

type Rep UpdateAssessmentTarget :: Type -> Type #

NFData UpdateAssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.UpdateAssessmentTarget

Methods

rnf :: UpdateAssessmentTarget -> () #

Hashable UpdateAssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.UpdateAssessmentTarget

ToJSON UpdateAssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.UpdateAssessmentTarget

AWSRequest UpdateAssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.UpdateAssessmentTarget

Associated Types

type AWSResponse UpdateAssessmentTarget #

ToHeaders UpdateAssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.UpdateAssessmentTarget

ToPath UpdateAssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.UpdateAssessmentTarget

ToQuery UpdateAssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.UpdateAssessmentTarget

type Rep UpdateAssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.UpdateAssessmentTarget

type Rep UpdateAssessmentTarget = D1 ('MetaData "UpdateAssessmentTarget" "Amazonka.Inspector.UpdateAssessmentTarget" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "UpdateAssessmentTarget'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "assessmentTargetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "assessmentTargetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateAssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.UpdateAssessmentTarget

newUpdateAssessmentTarget Source #

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

Instances details
Eq UpdateAssessmentTargetResponse Source # 
Instance details

Defined in Amazonka.Inspector.UpdateAssessmentTarget

Read UpdateAssessmentTargetResponse Source # 
Instance details

Defined in Amazonka.Inspector.UpdateAssessmentTarget

Show UpdateAssessmentTargetResponse Source # 
Instance details

Defined in Amazonka.Inspector.UpdateAssessmentTarget

Generic UpdateAssessmentTargetResponse Source # 
Instance details

Defined in Amazonka.Inspector.UpdateAssessmentTarget

Associated Types

type Rep UpdateAssessmentTargetResponse :: Type -> Type #

NFData UpdateAssessmentTargetResponse Source # 
Instance details

Defined in Amazonka.Inspector.UpdateAssessmentTarget

type Rep UpdateAssessmentTargetResponse Source # 
Instance details

Defined in Amazonka.Inspector.UpdateAssessmentTarget

type Rep UpdateAssessmentTargetResponse = D1 ('MetaData "UpdateAssessmentTargetResponse" "Amazonka.Inspector.UpdateAssessmentTarget" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "UpdateAssessmentTargetResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUpdateAssessmentTargetResponse :: UpdateAssessmentTargetResponse Source #

Create a value of UpdateAssessmentTargetResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.