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.SearchResourcesSimpleCriterion

Description

 
Synopsis

Documentation

data SearchResourcesSimpleCriterion Source #

Specifies a property-based filter condition that determines which Amazon Web Services resources are included or excluded from the query results.

See: newSearchResourcesSimpleCriterion smart constructor.

Constructors

SearchResourcesSimpleCriterion' 

Fields

  • values :: Maybe [Text]

    An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:

    • ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the resource.
    • S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of an S3 bucket.
    • S3_BUCKET_NAME - A string that represents the name of an S3 bucket.
    • S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of an S3 bucket.

    Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.

  • key :: Maybe SearchResourcesSimpleCriterionKey

    The property to use in the condition.

  • comparator :: Maybe SearchResourcesComparator

    The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).

Instances

Instances details
Eq SearchResourcesSimpleCriterion Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SearchResourcesSimpleCriterion

Read SearchResourcesSimpleCriterion Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SearchResourcesSimpleCriterion

Show SearchResourcesSimpleCriterion Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SearchResourcesSimpleCriterion

Generic SearchResourcesSimpleCriterion Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SearchResourcesSimpleCriterion

Associated Types

type Rep SearchResourcesSimpleCriterion :: Type -> Type #

NFData SearchResourcesSimpleCriterion Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SearchResourcesSimpleCriterion

Hashable SearchResourcesSimpleCriterion Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SearchResourcesSimpleCriterion

ToJSON SearchResourcesSimpleCriterion Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SearchResourcesSimpleCriterion

type Rep SearchResourcesSimpleCriterion Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SearchResourcesSimpleCriterion

type Rep SearchResourcesSimpleCriterion = D1 ('MetaData "SearchResourcesSimpleCriterion" "Amazonka.MacieV2.Types.SearchResourcesSimpleCriterion" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "SearchResourcesSimpleCriterion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SearchResourcesSimpleCriterionKey)) :*: S1 ('MetaSel ('Just "comparator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SearchResourcesComparator)))))

newSearchResourcesSimpleCriterion :: SearchResourcesSimpleCriterion Source #

Create a value of SearchResourcesSimpleCriterion 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:values:SearchResourcesSimpleCriterion', searchResourcesSimpleCriterion_values - An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:

  • ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the resource.
  • S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of an S3 bucket.
  • S3_BUCKET_NAME - A string that represents the name of an S3 bucket.
  • S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of an S3 bucket.

Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.

$sel:key:SearchResourcesSimpleCriterion', searchResourcesSimpleCriterion_key - The property to use in the condition.

$sel:comparator:SearchResourcesSimpleCriterion', searchResourcesSimpleCriterion_comparator - The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).

searchResourcesSimpleCriterion_values :: Lens' SearchResourcesSimpleCriterion (Maybe [Text]) Source #

An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:

  • ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the resource.
  • S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of an S3 bucket.
  • S3_BUCKET_NAME - A string that represents the name of an S3 bucket.
  • S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of an S3 bucket.

Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.

searchResourcesSimpleCriterion_comparator :: Lens' SearchResourcesSimpleCriterion (Maybe SearchResourcesComparator) Source #

The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).