

如需與 Amazon Timestream for LiveAnalytics 類似的功能，請考慮使用 Amazon Timestream for InfluxDB。它提供簡化的資料擷取和單一位數毫秒查詢回應時間，以進行即時分析。[在這裡](https://docs.aws.amazon.com//timestream/latest/developerguide/timestream-for-influxdb.html)進一步了解。

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# ScheduledQuery
<a name="API_query_ScheduledQuery"></a>

排程查詢

## 目錄
<a name="API_query_ScheduledQuery_Contents"></a>

 ** Arn **   <a name="timestream-Type-query_ScheduledQuery-Arn"></a>
Amazon Resource Name。  
類型：字串  
長度限制：長度下限為 1。長度上限為 2048。  
必要：是

 ** Name **   <a name="timestream-Type-query_ScheduledQuery-Name"></a>
排程查詢的名稱。  
類型：字串  
長度限制：長度下限為 1。長度上限為 64。  
模式：`[a-zA-Z0-9|!\-_*'\(\)]([a-zA-Z0-9]|[!\-_*'\(\)\/.])+`  
必要：是

 ** State **   <a name="timestream-Type-query_ScheduledQuery-State"></a>
排程查詢的狀態。  
類型：字串  
有效值:`ENABLED | DISABLED`   
必要：是

 ** CreationTime **   <a name="timestream-Type-query_ScheduledQuery-CreationTime"></a>
排程查詢的建立時間。  
類型：Timestamp  
必要：否

 ** ErrorReportConfiguration **   <a name="timestream-Type-query_ScheduledQuery-ErrorReportConfiguration"></a>
排程查詢錯誤報告的組態。  
類型：[ErrorReportConfiguration](API_query_ErrorReportConfiguration.md) 物件  
必要：否

 ** LastRunStatus **   <a name="timestream-Type-query_ScheduledQuery-LastRunStatus"></a>
上次排程查詢執行的狀態。  
類型：字串  
有效值:`AUTO_TRIGGER_SUCCESS | AUTO_TRIGGER_FAILURE | MANUAL_TRIGGER_SUCCESS | MANUAL_TRIGGER_FAILURE`   
必要：否

 ** NextInvocationTime **   <a name="timestream-Type-query_ScheduledQuery-NextInvocationTime"></a>
下次執行排程查詢時。  
類型：Timestamp  
必要：否

 ** PreviousInvocationTime **   <a name="timestream-Type-query_ScheduledQuery-PreviousInvocationTime"></a>
上次執行排程查詢的時間。  
類型：Timestamp  
必要：否

 ** TargetDestination **   <a name="timestream-Type-query_ScheduledQuery-TargetDestination"></a>
將寫入最終排程查詢結果的目標資料來源。  
類型：[TargetDestination](API_query_TargetDestination.md) 物件  
必要：否

## 另請參閱
<a name="API_query_ScheduledQuery_SeeAlso"></a>

如需在其中一種語言特定 AWS SDKs中使用此 API 的詳細資訊，請參閱以下內容：
+  [AWS 適用於 C\$1\$1 的 SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/ScheduledQuery) 
+  [AWS 適用於 Java V2 的 SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/ScheduledQuery) 
+  [AWS 適用於 Ruby V3 的 SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/ScheduledQuery) 