Amazon Lake Formation Resources API

Data lake resource management

Documentation

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

amazon-lake-formation-resources-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Lake Formation Resources API
  description: The Amazon Lake Formation API provides programmatic access to manage Lake Formation resources.
  version: '2024-01-01'
  contact:
    name: AWS Support
    url: https://aws.amazon.com/premiumsupport/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  x-logo:
    url: https://a0.awsstatic.com/libra-css/images/logos/aws_logo_smile_1200x630.png
servers:
- url: https://lakeformation.us-east-1.amazonaws.com
  description: Amazon Lake Formation endpoint
security:
- sigv4: []
tags:
- name: Resources
  description: Data lake resource management
paths:
  /resources:
    post:
      operationId: RegisterResource
      summary: Amazon Lake Formation Register Resource
      description: Registers an Amazon S3 path as a data lake location managed by Lake Formation.
      tags:
      - Resources
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '403':
          description: Access denied
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    get:
      operationId: ListResources
      summary: Amazon Lake Formation List Resources
      description: Lists the resources registered as managed by Lake Formation.
      tags:
      - Resources
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '403':
          description: Access denied
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /resources/{resourceArn}:
    get:
      operationId: DescribeResource
      summary: Amazon Lake Formation Describe Resource
      description: Retrieves the current data access role for the given resource registered in Lake Formation.
      tags:
      - Resources
      parameters:
      - name: resourceArn
        in: path
        required: true
        schema:
          type: string
        description: The resource ARN.
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '403':
          description: Access denied
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    delete:
      operationId: DeregisterResource
      summary: Amazon Lake Formation Deregister Resource
      description: Deregisters the resource as managed by the Data Catalog.
      tags:
      - Resources
      parameters:
      - name: resourceArn
        in: path
        required: true
        schema:
          type: string
        description: The resource ARN.
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '403':
          description: Access denied
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /permissions:
    post:
      operationId: GrantPermissions
      summary: Amazon Lake Formation Grant Permissions
      description: Grants permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.
      tags:
      - Resources
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '403':
          description: Access denied
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    delete:
      operationId: RevokePermissions
      summary: Amazon Lake Formation Revoke Permissions
      description: Revokes permissions to the principal to access metadata in the Data Catalog.
      tags:
      - Resources
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '403':
          description: Access denied
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    get:
      operationId: ListPermissions
      summary: Amazon Lake Formation List Permissions
      description: Returns a list of the principal permissions on the resource.
      tags:
      - Resources
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '403':
          description: Access denied
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  securitySchemes:
    sigv4:
      type: apiKey
      name: Authorization
      in: header
      description: AWS Signature Version 4 authentication