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

Description

 
Synopsis

Documentation

data AssessmentTarget Source #

Contains information about an Amazon Inspector application. This data type is used as the response element in the DescribeAssessmentTargets action.

See: newAssessmentTarget smart constructor.

Constructors

AssessmentTarget' 

Fields

  • resourceGroupArn :: Maybe Text

    The ARN that specifies the resource group that is associated with the assessment target.

  • arn :: Text

    The ARN that specifies the Amazon Inspector assessment target.

  • name :: Text

    The name of the Amazon Inspector assessment target.

  • createdAt :: POSIX

    The time at which the assessment target is created.

  • updatedAt :: POSIX

    The time at which UpdateAssessmentTarget is called.

Instances

Instances details
Eq AssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentTarget

Read AssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentTarget

Show AssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentTarget

Generic AssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentTarget

Associated Types

type Rep AssessmentTarget :: Type -> Type #

NFData AssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentTarget

Methods

rnf :: AssessmentTarget -> () #

Hashable AssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentTarget

FromJSON AssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentTarget

type Rep AssessmentTarget Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentTarget

type Rep AssessmentTarget = D1 ('MetaData "AssessmentTarget" "Amazonka.Inspector.Types.AssessmentTarget" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "AssessmentTarget'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resourceGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))))

newAssessmentTarget Source #

Create a value of AssessmentTarget 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:AssessmentTarget', assessmentTarget_resourceGroupArn - The ARN that specifies the resource group that is associated with the assessment target.

$sel:arn:AssessmentTarget', assessmentTarget_arn - The ARN that specifies the Amazon Inspector assessment target.

$sel:name:AssessmentTarget', assessmentTarget_name - The name of the Amazon Inspector assessment target.

$sel:createdAt:AssessmentTarget', assessmentTarget_createdAt - The time at which the assessment target is created.

$sel:updatedAt:AssessmentTarget', assessmentTarget_updatedAt - The time at which UpdateAssessmentTarget is called.

assessmentTarget_resourceGroupArn :: Lens' AssessmentTarget (Maybe Text) Source #

The ARN that specifies the resource group that is associated with the assessment target.

assessmentTarget_arn :: Lens' AssessmentTarget Text Source #

The ARN that specifies the Amazon Inspector assessment target.

assessmentTarget_name :: Lens' AssessmentTarget Text Source #

The name of the Amazon Inspector assessment target.

assessmentTarget_createdAt :: Lens' AssessmentTarget UTCTime Source #

The time at which the assessment target is created.

assessmentTarget_updatedAt :: Lens' AssessmentTarget UTCTime Source #

The time at which UpdateAssessmentTarget is called.