Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Data Streams
    • Preparing the environment
    • Creating a stream
      • Fluentd
      • Logstash
      • AWS CLI
    • Processing CDC streams from Debezium
  • Access management
  • Pricing policy
  • FAQ
  1. Getting started
  2. Collecting and streaming data
  3. AWS CLI

AWS CLI

Written by
Yandex Cloud
Updated at May 13, 2024

Note

You can create a trigger that will launch a function in Cloud Functions or a container in Serverless Containers when data is sent to the stream. Read more about triggers for Data Streams.

  1. In the management console, select the folder with the stream.

  2. Select Data Streams.

  3. Select the data stream.

  4. Click Connect and go to the AWS CLI tab.

  5. Copy the example of the command for sending messages and run it. Data will be delivered over the AWS Kinesis Data Streams protocol.

    Command example:

    aws kinesis \
      --endpoint https://yds.serverless.yandexcloud.net \
      put-record \
      --stream-name /ru-central1/aoegtvhtp8ob********/cc8004q4lbo6********/test \
      --cli-binary-format raw-in-base64-out \
      --data '{"user_id":"user1", "score": 100}' \
      --partition-key 1
    

    Result:

    {
       "ShardId": "shard-000001",
       "SequenceNumber": "3130",
       "EncryptionType": "NONE"
    }
    

Was the article helpful?

Previous
Logstash
Next
Processing CDC streams from Debezium
© 2025 Direct Cursus Technology L.L.C.