Amazon Glue DataBrew Rulesets API

The Rulesets API from Amazon Glue DataBrew — 2 operation(s) for rulesets.

GitHub OpenAPI
Business capability
Data Quality Management BC-610.30

Operations 5

POST /rulesets Create Ruleset #
GET /rulesets List Rulesets #
DELETE /rulesets/{Name} Delete Ruleset #
GET /rulesets/{Name} Describe Ruleset #
PUT /rulesets/{Name} Update Ruleset #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-glue-databrew:amazon-glue-databrew-rulesets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-glue-databrew-rulesets-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Glue DataBrew Rulesets API
  version: '2017-07-25'
  description: Generated from AWS's published Smithy model for AWS Glue DataBrew. 5 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://databrew.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /rulesets:
    post:
      operationId: CreateRuleset
      summary: Create Ruleset
      description: Creates a new ruleset that can be used in a profile job to validate the data quality of a dataset.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateRulesetResponse'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                Name:
                  type: string
                  description: The name of the ruleset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen
                    (-), period (.), and space.
                Description:
                  type: string
                  description: The description of the ruleset.
                TargetArn:
                  type: string
                  description: The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
                Rules:
                  type: array
                  items:
                    $ref: '#/components/schemas/Rule'
                  description: A list of rules that are defined with the ruleset. A rule includes one or more checks to be
                    validated on a DataBrew dataset.
                Tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: Metadata tags to apply to the ruleset.
              required:
              - Name
              - TargetArn
              - Rules
      tags:
      - Rulesets
    get:
      operationId: ListRulesets
      summary: List Rulesets
      description: List all rulesets available in the current account or rulesets associated with a specific resource (dataset).
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListRulesetsResponse'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: targetArn
        in: query
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of a resource (dataset). Using this parameter indicates to return only
          those rulesets that are associated with the specified resource.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of results to return in this request.
      - name: nextToken
        in: query
        schema:
          type: string
        description: A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated.
          To get the next set of pages, pass in the NextToken value from the response object of the previous page call.
      tags:
      - Rulesets
  /rulesets/{Name}:
    delete:
      operationId: DeleteRuleset
      summary: Delete Ruleset
      description: Deletes a ruleset.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteRulesetResponse'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: Name
        in: path
        required: true
        schema:
          type: string
        description: The name of the ruleset to be deleted.
      tags:
      - Rulesets
    get:
      operationId: DescribeRuleset
      summary: Describe Ruleset
      description: Retrieves detailed information about the ruleset.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeRulesetResponse'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: Name
        in: path
        required: true
        schema:
          type: string
        description: The name of the ruleset to be described.
      tags:
      - Rulesets
    put:
      operationId: UpdateRuleset
      summary: Update Ruleset
      description: Updates specified ruleset.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateRulesetResponse'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: Name
        in: path
        required: true
        schema:
          type: string
        description: The name of the ruleset to be updated.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                Description:
                  type: string
                  description: The description of the ruleset.
                Rules:
                  type: array
                  items:
                    $ref: '#/components/schemas/Rule'
                  description: A list of rules that are defined with the ruleset. A rule includes one or more checks to be
                    validated on a DataBrew dataset.
              required:
              - Rules
      tags:
      - Rulesets
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: databrew
  schemas:
    ColumnSelector:
      type: object
      properties:
        Regex:
          type: string
          description: A regular expression for selecting a column from a dataset.
        Name:
          type: string
          description: The name of a column from a dataset.
    ConflictException:
      type: object
      properties:
        Message:
          type: string
    CreateRulesetResponse:
      type: object
      properties:
        Name:
          type: string
          description: The unique name of the created ruleset.
      required:
      - Name
    DeleteRulesetResponse:
      type: object
      properties:
        Name:
          type: string
          description: The name of the deleted ruleset.
      required:
      - Name
    DescribeRulesetResponse:
      type: object
      properties:
        Name:
          type: string
          description: The name of the ruleset.
        Description:
          type: string
          description: The description of the ruleset.
        TargetArn:
          type: string
          description: The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
        Rules:
          type: array
          items:
            $ref: '#/components/schemas/Rule'
          description: A list of rules that are defined with the ruleset. A rule includes one or more checks to be validated
            on a DataBrew dataset.
        CreateDate:
          type: string
          format: date-time
          description: The date and time that the ruleset was created.
        CreatedBy:
          type: string
          description: The Amazon Resource Name (ARN) of the user who created the ruleset.
        LastModifiedBy:
          type: string
          description: The Amazon Resource Name (ARN) of the user who last modified the ruleset.
        LastModifiedDate:
          type: string
          format: date-time
          description: The modification date and time of the ruleset.
        ResourceArn:
          type: string
          description: The Amazon Resource Name (ARN) for the ruleset.
        Tags:
          type: object
          additionalProperties:
            type: string
          description: Metadata tags that have been applied to the ruleset.
      required:
      - Name
    ListRulesetsResponse:
      type: object
      properties:
        Rulesets:
          type: array
          items:
            $ref: '#/components/schemas/RulesetItem'
          description: A list of RulesetItem. RulesetItem contains meta data of a ruleset.
        NextToken:
          type: string
          description: A token that you can use in a subsequent call to retrieve the next set of results.
      required:
      - Rulesets
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
    Rule:
      type: object
      properties:
        Name:
          type: string
          description: The name of the rule.
        Disabled:
          type: boolean
          description: A value that specifies whether the rule is disabled. Once a rule is disabled, a profile job will not
            validate it during a job run. Default value is false.
        CheckExpression:
          type: string
          description: The expression which includes column references, condition names followed by variable references, possibly
            grouped and combined with other conditions. For example, (:col1 starts_with :prefix1 or :col1 starts_with :prefix2)
            and (:col1 ends_with :suffix1 or :col1 ends_with :suffix2). Column and value references are substitution variables
            that should start with the ':' symbol. Depending on the context, substitution variables' values can be either
            an actual value or a column name. These values are defined in the SubstitutionMap. If a CheckExpression starts
            with a column reference, then ColumnSelec
        SubstitutionMap:
          type: object
          additionalProperties:
            type: string
          description: 'The map of substitution variable names to their values used in a check expression. Variable names
            should start with a '':'' (colon). Variable values can either be actual values or column names. To differentiate
            between the two, column names should be enclosed in backticks, for example, ":col1": "`Column A`".'
        Threshold:
          $ref: '#/components/schemas/Threshold'
        ColumnSelectors:
          type: array
          items:
            $ref: '#/components/schemas/ColumnSelector'
          description: List of column selectors. Selectors can be used to select columns using a name or regular expression
            from the dataset. Rule will be applied to selected columns.
      required:
      - Name
      - CheckExpression
    RulesetItem:
      type: object
      properties:
        AccountId:
          type: string
          description: The ID of the Amazon Web Services account that owns the ruleset.
        CreatedBy:
          type: string
          description: The Amazon Resource Name (ARN) of the user who created the ruleset.
        CreateDate:
          type: string
          format: date-time
          description: The date and time that the ruleset was created.
        Description:
          type: string
          description: The description of the ruleset.
        LastModifiedBy:
          type: string
          description: The Amazon Resource Name (ARN) of the user who last modified the ruleset.
        LastModifiedDate:
          type: string
          format: date-time
          description: The modification date and time of the ruleset.
        Name:
          type: string
          description: The name of the ruleset.
        ResourceArn:
          type: string
          description: The Amazon Resource Name (ARN) for the ruleset.
        RuleCount:
          type: integer
          description: The number of rules that are defined in the ruleset.
        Tags:
          type: object
          additionalProperties:
            type: string
          description: Metadata tags that have been applied to the ruleset.
        TargetArn:
          type: string
          description: The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
      required:
      - Name
      - TargetArn
    ServiceQuotaExceededException:
      type: object
      properties:
        Message:
          type: string
    Threshold:
      type: object
      properties:
        Value:
          type: number
          description: The value of a threshold.
        Type:
          type: string
          enum:
          - GREATER_THAN_OR_EQUAL
          - LESS_THAN_OR_EQUAL
          - GREATER_THAN
          - LESS_THAN
          description: The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the
            threshold value.
        Unit:
          type: string
          enum:
          - COUNT
          - PERCENTAGE
          description: Unit of threshold value. Can be either a COUNT or PERCENTAGE of the full sample size used for validation.
      required:
      - Value
    UpdateRulesetResponse:
      type: object
      properties:
        Name:
          type: string
          description: The name of the updated ruleset.
      required:
      - Name
    ValidationException:
      type: object
      properties:
        Message:
          type: string
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/databrew/service/2017-07-25/databrew-2017-07-25.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)