[Yandex Cloud documentation](../../index.md) > [Yandex Data Streams](../index.md) > [Getting started](index.md) > Data collection and delivery > AWS CLI

# AWS CLI

{% note info %}

You can create a trigger that will invoke a [function](../../functions/concepts/function.md) in Cloud Functions or run a [container](../../serverless-containers/concepts/container.md) in Serverless Containers when data is sent to a stream. Read more about [triggers for Data Streams](../../functions/operations/trigger/data-streams-trigger-create.md).

{% endnote %}

1. In the [management console](https://console.yandex.cloud), select the folder containing your data stream.
1. Navigate to **Data Streams**.
1. Select the data stream.
1. Click **Connect** and navigate to the **AWS CLI** tab.
1. Copy and run the example command to send a message. Data delivery will be performed via AWS Kinesis Data Streams.

   Command example:

   ```bash
   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:

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