AWS Glue AWS Glue #X Amz Target=AWSGlue.GetDatabases API

The AWS Glue #X Amz Target=AWSGlue.GetDatabases API API from AWS Glue — 1 operation(s) for aws glue #x amz target=awsglue.getdatabases api.

GitHub OpenAPI
Business capability
Information & Data Management BC-610

Operations 1

POST /#GetDatabases Get Databases #

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/aws-glue:aws-glue-aws-glue-x-amz-target-awsglue-getdatabases-api-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

aws-glue-aws-glue-x-amz-target-awsglue-getdatabases-api-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Glue Aws Glue X Amz Target Awsglue Getdatabases Api API
  version: '2017-03-31'
  description: Generated from AWS's published Smithy model for AWS Glue. 1 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://glue.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#GetDatabases:
    post:
      operationId: GetDatabases
      summary: Get Databases
      description: Retrieves all databases defined in a given Data Catalog.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/GetDatabasesResponse'
        '400':
          description: EntityNotFoundException; FederationSourceException; FederationSourceRetryableException; GlueEncryptionException;
            InvalidInputException; OperationTimeoutException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/EntityNotFoundException'
        '500':
          description: InternalServiceException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServiceException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSGlue.GetDatabases
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/GetDatabasesRequest'
      tags:
      - Aws Glue X Amz Target Awsglue Getdatabases Api
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: glue
  schemas:
    DataLakePrincipal:
      type: object
      properties:
        DataLakePrincipalIdentifier:
          type: string
          description: An identifier for the Lake Formation principal.
    Database:
      type: object
      properties:
        Name:
          type: string
          description: The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
        Description:
          type: string
          description: A description of the database.
        LocationUri:
          type: string
          description: The location of the database (for example, an HDFS path).
        Parameters:
          type: object
          additionalProperties:
            type: string
          description: These key-value pairs define parameters and properties of the database.
        CreateTime:
          type: string
          format: date-time
          description: The time at which the metadata database was created in the catalog.
        CreateTableDefaultPermissions:
          type: array
          items:
            $ref: '#/components/schemas/PrincipalPermissions'
          description: Creates a set of default permissions on the table for principals. Used by Lake Formation. Not used
            in the normal course of Glue operations.
        TargetDatabase:
          $ref: '#/components/schemas/DatabaseIdentifier'
        CatalogId:
          type: string
          description: The ID of the Data Catalog in which the database resides.
        FederatedDatabase:
          $ref: '#/components/schemas/FederatedDatabase'
      required:
      - Name
    DatabaseIdentifier:
      type: object
      properties:
        CatalogId:
          type: string
          description: The ID of the Data Catalog in which the database resides.
        DatabaseName:
          type: string
          description: The name of the catalog database.
        Region:
          type: string
          description: Region of the target database.
    EntityNotFoundException:
      type: object
      properties:
        Message:
          type: string
          description: A message describing the problem.
        FromFederationSource:
          type: boolean
          description: Indicates whether or not the exception relates to a federated source.
    FederatedDatabase:
      type: object
      properties:
        Identifier:
          type: string
          description: A unique identifier for the federated database.
        ConnectionName:
          type: string
          description: The name of the connection to the external metastore.
        ConnectionType:
          type: string
          description: The type of connection used to access the federated database, such as JDBC, ODBC, or other supported
            connection protocols.
    GetDatabasesRequest:
      type: object
      properties:
        CatalogId:
          type: string
          description: The ID of the Data Catalog from which to retrieve Databases. If none is provided, the Amazon Web Services
            account ID is used by default.
        NextToken:
          type: string
          description: A continuation token, if this is a continuation call.
        MaxResults:
          type: integer
          description: The maximum number of databases to return in one response.
        ResourceShareType:
          type: string
          enum:
          - FOREIGN
          - ALL
          - FEDERATED
          description: Allows you to specify that you want to list the databases shared with your account. The allowable values
            are FEDERATED, FOREIGN or ALL. If set to FEDERATED, will list the federated databases (referencing an external
            entity) shared with your account. If set to FOREIGN, will list the databases shared with your account. If set
            to ALL, will list the databases shared with your account, as well as the databases in yor local account.
        AttributesToGet:
          type: array
          items:
            type: string
            enum:
            - NAME
            - TARGET_DATABASE
          description: Specifies the database fields returned by the GetDatabases call. This parameter doesn’t accept an empty
            list. The request must include the NAME.
    GetDatabasesResponse:
      type: object
      properties:
        DatabaseList:
          type: array
          items:
            $ref: '#/components/schemas/Database'
          description: A list of Database objects from the specified catalog.
        NextToken:
          type: string
          description: A continuation token for paginating the returned list of tokens, returned if the current segment of
            the list is not the last.
      required:
      - DatabaseList
    InternalServiceException:
      type: object
      properties:
        Message:
          type: string
          description: A message describing the problem.
    PrincipalPermissions:
      type: object
      properties:
        Principal:
          $ref: '#/components/schemas/DataLakePrincipal'
        Permissions:
          type: array
          items:
            type: string
            enum:
            - ALL
            - SELECT
            - ALTER
            - DROP
            - DELETE
            - INSERT
            - CREATE_DATABASE
            - CREATE_TABLE
            - DATA_LOCATION_ACCESS
          description: The permissions that are granted to the principal.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/glue/service/2017-03-31/glue-2017-03-31.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)