amazonka-maciev2-2.0: Amazon Macie 2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MacieV2.Types.BucketSortCriteria

Description

 
Synopsis

Documentation

data BucketSortCriteria Source #

Specifies criteria for sorting the results of a query for information about S3 buckets.

See: newBucketSortCriteria smart constructor.

Constructors

BucketSortCriteria' 

Fields

  • attributeName :: Maybe Text

    The name of the bucket property to sort the results by. This value can be one of the following properties that Amazon Macie defines as bucket metadata: accountId, bucketName, classifiableObjectCount, classifiableSizeInBytes, objectCount, sensitivityScore, or sizeInBytes.

  • orderBy :: Maybe OrderBy

    The sort order to apply to the results, based on the value specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

Instances

Instances details
ToJSON BucketSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketSortCriteria

Generic BucketSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketSortCriteria

Associated Types

type Rep BucketSortCriteria :: Type -> Type #

Read BucketSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketSortCriteria

Show BucketSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketSortCriteria

NFData BucketSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketSortCriteria

Methods

rnf :: BucketSortCriteria -> () #

Eq BucketSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketSortCriteria

Hashable BucketSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketSortCriteria

type Rep BucketSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketSortCriteria

type Rep BucketSortCriteria = D1 ('MetaData "BucketSortCriteria" "Amazonka.MacieV2.Types.BucketSortCriteria" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "BucketSortCriteria'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "orderBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OrderBy))))

newBucketSortCriteria :: BucketSortCriteria Source #

Create a value of BucketSortCriteria 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:attributeName:BucketSortCriteria', bucketSortCriteria_attributeName - The name of the bucket property to sort the results by. This value can be one of the following properties that Amazon Macie defines as bucket metadata: accountId, bucketName, classifiableObjectCount, classifiableSizeInBytes, objectCount, sensitivityScore, or sizeInBytes.

$sel:orderBy:BucketSortCriteria', bucketSortCriteria_orderBy - The sort order to apply to the results, based on the value specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

bucketSortCriteria_attributeName :: Lens' BucketSortCriteria (Maybe Text) Source #

The name of the bucket property to sort the results by. This value can be one of the following properties that Amazon Macie defines as bucket metadata: accountId, bucketName, classifiableObjectCount, classifiableSizeInBytes, objectCount, sensitivityScore, or sizeInBytes.

bucketSortCriteria_orderBy :: Lens' BucketSortCriteria (Maybe OrderBy) Source #

The sort order to apply to the results, based on the value specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.