libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
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.MacieV2.Types.JobScopeTerm

Description

 
Synopsis

Documentation

data JobScopeTerm Source #

Specifies a property- or tag-based condition that defines criteria for including or excluding S3 objects from a classification job. A JobScopeTerm object can contain only one simpleScopeTerm object or one tagScopeTerm object.

See: newJobScopeTerm smart constructor.

Constructors

JobScopeTerm' 

Fields

  • simpleScopeTerm :: Maybe SimpleScopeTerm

    A property-based condition that defines a property, operator, and one or more values for including or excluding objects from the job.

  • tagScopeTerm :: Maybe TagScopeTerm

    A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding objects from the job.

Instances

Instances details
Eq JobScopeTerm Source # 
Instance details

Defined in Amazonka.MacieV2.Types.JobScopeTerm

Read JobScopeTerm Source # 
Instance details

Defined in Amazonka.MacieV2.Types.JobScopeTerm

Show JobScopeTerm Source # 
Instance details

Defined in Amazonka.MacieV2.Types.JobScopeTerm

Generic JobScopeTerm Source # 
Instance details

Defined in Amazonka.MacieV2.Types.JobScopeTerm

Associated Types

type Rep JobScopeTerm :: Type -> Type #

NFData JobScopeTerm Source # 
Instance details

Defined in Amazonka.MacieV2.Types.JobScopeTerm

Methods

rnf :: JobScopeTerm -> () #

Hashable JobScopeTerm Source # 
Instance details

Defined in Amazonka.MacieV2.Types.JobScopeTerm

ToJSON JobScopeTerm Source # 
Instance details

Defined in Amazonka.MacieV2.Types.JobScopeTerm

FromJSON JobScopeTerm Source # 
Instance details

Defined in Amazonka.MacieV2.Types.JobScopeTerm

type Rep JobScopeTerm Source # 
Instance details

Defined in Amazonka.MacieV2.Types.JobScopeTerm

type Rep JobScopeTerm = D1 ('MetaData "JobScopeTerm" "Amazonka.MacieV2.Types.JobScopeTerm" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "JobScopeTerm'" 'PrefixI 'True) (S1 ('MetaSel ('Just "simpleScopeTerm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SimpleScopeTerm)) :*: S1 ('MetaSel ('Just "tagScopeTerm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TagScopeTerm))))

newJobScopeTerm :: JobScopeTerm Source #

Create a value of JobScopeTerm 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:simpleScopeTerm:JobScopeTerm', jobScopeTerm_simpleScopeTerm - A property-based condition that defines a property, operator, and one or more values for including or excluding objects from the job.

$sel:tagScopeTerm:JobScopeTerm', jobScopeTerm_tagScopeTerm - A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding objects from the job.

jobScopeTerm_simpleScopeTerm :: Lens' JobScopeTerm (Maybe SimpleScopeTerm) Source #

A property-based condition that defines a property, operator, and one or more values for including or excluding objects from the job.

jobScopeTerm_tagScopeTerm :: Lens' JobScopeTerm (Maybe TagScopeTerm) Source #

A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding objects from the job.