Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Managed Service for YDB
  • Getting started
  • Access management
      • Setting up AWS tools
      • Working with data through the HTTP interface
        • Overview
        • Creating a table
        • Uploading data to a table
        • Searching and extracting data
        • Deleting a table
    • Common errors when working with the Document API
  • Monitoring metrics
  • Audit Trails events
  • FAQ
  • Public materials

In this article:

  • Getting started
  • Environment setup
  1. Amazon DynamoDB-compatible Document API
  2. Tools
  3. Working with the AWS SDK
  4. Overview

Working with the AWS SDK in Managed Service for YDB. Overview

Written by
Yandex Cloud
Updated at November 6, 2025
  • Getting started
  • Environment setup

This section describes how to use the AWS SDK for several programming languages to write simple programs that perform the following operations in YDB:

  • Creating tables and loading JSON data in the table.
  • Managing records in a table: adding, reading, updating, and deleting data.
  • Searching and extracting data.
  • Deleting a table.

Getting startedGetting started

  1. Configure the AWS environment.

  2. Prepare the Document API endpoint of the created database.

    How do I find out the Document API endpoint of a database?
    1. Navigate to the management console.

    2. Select the folder and go to Managed Service for YDB.

    3. Select the DB you want to query.

    4. In the menu on the left, go to the Overview section.

    5. The endpoint value is in the Document API endpoint line.

      Example of an endpoint value:

      https://docapi.serverless.yandexcloud.net/ru-central1/b1gia87mbaomkfvs6rgl/etnudu2n9ri35luqe4h1
      

    Note

    For the Amazon DynamoDB-compatible mode, use a serverless database configuration.

Environment setupEnvironment setup

Configure the environment for your programming language:

Java
Python
PHP
Node.js
Ruby

The examples in the section on building Java applications are based on Apache Maven.

For more information about the AWS SDK for Java, see the AWS documentation.

  1. Install Python 3.8 or higher.

  2. Install the Boto3 library:

    pip install boto3
    

    For more information about the AWS SDK for Python (Boto), see the AWS documentation.

  1. Install PHP.
  2. Configure the AWS SDK for PHP.

For more information about the AWS SDK for PHP, see the AWS documentation.

  1. Install Node.js.
  2. Install AWS SDK for Node.js.

For more information about the AWS SDK for Node.js, see the documentation.

  1. Install Ruby.
  2. Install AWS SDK for Ruby.

For more information about the AWS SDK for Ruby, see the documentation.

Was the article helpful?

Previous
Deleting the resources you created
Next
Creating a table
© 2025 Direct Cursus Technology L.L.C.