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

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

  • 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, or sizeInBytes.

Instances

Instances details
Eq BucketSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketSortCriteria

Read BucketSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketSortCriteria

Show 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 #

NFData BucketSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketSortCriteria

Methods

rnf :: BucketSortCriteria -> () #

Hashable BucketSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketSortCriteria

ToJSON 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" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "BucketSortCriteria'" 'PrefixI 'True) (S1 ('MetaSel ('Just "orderBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OrderBy)) :*: S1 ('MetaSel ('Just "attributeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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

$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, 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.

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, or sizeInBytes.