Skip to content

List Classification Jobs

macie2_list_classification_jobs R Documentation

Retrieves a subset of information about one or more classification jobs

Description

Retrieves a subset of information about one or more classification jobs.

Usage

macie2_list_classification_jobs(filterCriteria, maxResults, nextToken,
  sortCriteria)

Arguments

filterCriteria

The criteria to use to filter the results.

maxResults

The maximum number of items to include in each page of the response.

nextToken

The nextToken string that specifies which page of results to return in a paginated response.

sortCriteria

The criteria to use to sort the results.

Value

A list with the following syntax:

list(
  items = list(
    list(
      bucketCriteria = list(
        excludes = list(
          and = list(
            list(
              simpleCriterion = list(
                comparator = "EQ"|"GT"|"GTE"|"LT"|"LTE"|"NE"|"CONTAINS"|"STARTS_WITH",
                key = "ACCOUNT_ID"|"S3_BUCKET_NAME"|"S3_BUCKET_EFFECTIVE_PERMISSION"|"S3_BUCKET_SHARED_ACCESS",
                values = list(
                  "string"
                )
              ),
              tagCriterion = list(
                comparator = "EQ"|"GT"|"GTE"|"LT"|"LTE"|"NE"|"CONTAINS"|"STARTS_WITH",
                tagValues = list(
                  list(
                    key = "string",
                    value = "string"
                  )
                )
              )
            )
          )
        ),
        includes = list(
          and = list(
            list(
              simpleCriterion = list(
                comparator = "EQ"|"GT"|"GTE"|"LT"|"LTE"|"NE"|"CONTAINS"|"STARTS_WITH",
                key = "ACCOUNT_ID"|"S3_BUCKET_NAME"|"S3_BUCKET_EFFECTIVE_PERMISSION"|"S3_BUCKET_SHARED_ACCESS",
                values = list(
                  "string"
                )
              ),
              tagCriterion = list(
                comparator = "EQ"|"GT"|"GTE"|"LT"|"LTE"|"NE"|"CONTAINS"|"STARTS_WITH",
                tagValues = list(
                  list(
                    key = "string",
                    value = "string"
                  )
                )
              )
            )
          )
        )
      ),
      bucketDefinitions = list(
        list(
          accountId = "string",
          buckets = list(
            "string"
          )
        )
      ),
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      jobId = "string",
      jobStatus = "RUNNING"|"PAUSED"|"CANCELLED"|"COMPLETE"|"IDLE"|"USER_PAUSED",
      jobType = "ONE_TIME"|"SCHEDULED",
      lastRunErrorStatus = list(
        code = "NONE"|"ERROR"
      ),
      name = "string",
      userPausedDetails = list(
        jobExpiresAt = as.POSIXct(
          "2015-01-01"
        ),
        jobImminentExpirationHealthEventArn = "string",
        jobPausedAt = as.POSIXct(
          "2015-01-01"
        )
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_classification_jobs(
  filterCriteria = list(
    excludes = list(
      list(
        comparator = "EQ"|"GT"|"GTE"|"LT"|"LTE"|"NE"|"CONTAINS"|"STARTS_WITH",
        key = "jobType"|"jobStatus"|"createdAt"|"name",
        values = list(
          "string"
        )
      )
    ),
    includes = list(
      list(
        comparator = "EQ"|"GT"|"GTE"|"LT"|"LTE"|"NE"|"CONTAINS"|"STARTS_WITH",
        key = "jobType"|"jobStatus"|"createdAt"|"name",
        values = list(
          "string"
        )
      )
    )
  ),
  maxResults = 123,
  nextToken = "string",
  sortCriteria = list(
    attributeName = "createdAt"|"jobStatus"|"name"|"jobType",
    orderBy = "ASC"|"DESC"
  )
)