

 Amazon Redshift tidak akan lagi mendukung pembuatan Python UDFs baru mulai Patch 198. Python yang ada UDFs akan terus berfungsi hingga 30 Juni 2026. Untuk informasi lebih lanjut, lihat [posting blog](https://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/). 

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

# Memantau kueri terjadwal
<a name="query-editor-v2-schedule-query-sns"></a>

**Untuk topik Amazon SNS yang Anda tentukan untuk mengirim notifikasi email, buat topik Amazon SNS menggunakan editor kueri v2 dengan menavigasi ke bagian pemberitahuan **SNS****, Aktifkan pemantauan,** dan buat topik dengan topik Buat SNS.** Editor kueri v2 membuat topik Amazon SNS dan menambahkan prinsip layanan ke kebijakan akses untuk Amazon. EventBridge Berikut ini adalah contoh **Kebijakan akses** yang dibuat dalam topik Amazon SNS. Dalam contoh, topik Wilayah AWS *us-west-2*, Akun AWS *123456789012*, dan Amazon SNS *select-version-pdx-testunload* digunakan.

------
#### [ JSON ]

****  

```
{
  "Version":"2012-10-17",		 	 	 
  "Id": "__default_policy_ID",
  "Statement": [
    {
      "Sid": "Allow_Publish_Events",
      "Effect": "Allow",
      "Principal": {
        "Service": "events.amazonaws.com"
      },
      "Action": "sns:Publish",
      "Resource": "arn:aws:sns:us-west-2:123456789012:select-version-pdx-testunload"
    }
  ]
}
```

------

Saat kueri terjadwal berjalan, Amazon SNS mengirimkan email AWS notifikasi. Contoh berikut menunjukkan email yang dikirim *myemail@example.com* untuk kueri terjadwal *QS2-may25a* yang berjalan Akun AWS *123456789012* menggunakan Wilayah AWS *eu-north-1* topik notifikasi Amazon SNS. *may25a-SNS*

```
{"version":"0","id":"8e4323ec-5258-7138-181b-91290e30ff9b","detail-type":"Scheduled Event","source":"aws.events","account":"123456789012","time":"2023-05-25T15:22:00Z",
                    "region":"eu-north-1","resources":["arn:aws:events:eu-north-1:123456789012:rule/QS2-may25a"],"detail":{}}

--
If you wish to stop receiving notifications from this topic, please click or visit the link below to unsubscribe:
https://sns.eu-north-1.amazonaws.com/unsubscribe.html?SubscriptionArn=arn:aws:sns:eu-north-1:123456789012:may25a-SNS:0c1a3d05-39c2-4507-bc3d-47250513d7b0&Endpoint=myemail@example.com

Please do not reply directly to this email. If you have any questions or comments regarding this email, please contact us at https://aws.amazon.com/support
```