class Aws::Macie2::Types::SearchResourcesRequest

Specifies criteria for filtering, sorting, and paginating the results of a query for statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.

@note When making an API call, you may pass SearchResourcesRequest

data as a hash:

    {
      bucket_criteria: {
        excludes: {
          and: [
            {
              simple_criterion: {
                comparator: "EQ", # accepts EQ, NE
                key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
                values: ["__string"],
              },
              tag_criterion: {
                comparator: "EQ", # accepts EQ, NE
                tag_values: [
                  {
                    key: "__string",
                    value: "__string",
                  },
                ],
              },
            },
          ],
        },
        includes: {
          and: [
            {
              simple_criterion: {
                comparator: "EQ", # accepts EQ, NE
                key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
                values: ["__string"],
              },
              tag_criterion: {
                comparator: "EQ", # accepts EQ, NE
                tag_values: [
                  {
                    key: "__string",
                    value: "__string",
                  },
                ],
              },
            },
          ],
        },
      },
      max_results: 1,
      next_token: "__string",
      sort_criteria: {
        attribute_name: "ACCOUNT_ID", # accepts ACCOUNT_ID, RESOURCE_NAME, S3_CLASSIFIABLE_OBJECT_COUNT, S3_CLASSIFIABLE_SIZE_IN_BYTES
        order_by: "ASC", # accepts ASC, DESC
      },
    }

@!attribute [rw] bucket_criteria

Specifies property- and tag-based conditions that define filter
criteria for including or excluding S3 buckets from the query
results. Exclude conditions take precedence over include conditions.
@return [Types::SearchResourcesBucketCriteria]

@!attribute [rw] max_results

@return [Integer]

@!attribute [rw] next_token

@return [String]

@!attribute [rw] sort_criteria

Specifies criteria for sorting the results of a query for
information about Amazon Web Services resources that Amazon Macie
monitors and analyzes.
@return [Types::SearchResourcesSortCriteria]

@see docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SearchResourcesRequest AWS API Documentation

Constants

SENSITIVE