

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

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

# ScheduledQueryDescription
<a name="API_query_ScheduledQueryDescription"></a>

描述排程查詢的結構。

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

 ** Arn **   <a name="timestream-Type-query_ScheduledQueryDescription-Arn"></a>
排程查詢 ARN。  
類型：字串  
長度限制：長度下限為 1。長度上限為 2048。  
必要：是

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

 ** NotificationConfiguration **   <a name="timestream-Type-query_ScheduledQueryDescription-NotificationConfiguration"></a>
通知組態。  
類型：[NotificationConfiguration](API_query_NotificationConfiguration.md) 物件  
必要：是

 ** QueryString **   <a name="timestream-Type-query_ScheduledQueryDescription-QueryString"></a>
要執行的查詢。  
類型：字串  
長度限制：長度下限為 1。長度上限為 262144。  
必要：是

 ** ScheduleConfiguration **   <a name="timestream-Type-query_ScheduledQueryDescription-ScheduleConfiguration"></a>
排程組態。  
類型：[ScheduleConfiguration](API_query_ScheduleConfiguration.md) 物件  
必要：是

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

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

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

 ** KmsKeyId **   <a name="timestream-Type-query_ScheduledQueryDescription-KmsKeyId"></a>
客戶提供的 KMS 金鑰，用於加密排程查詢資源。  
類型：字串  
長度限制：長度下限為 1。長度上限為 2048。  
必要：否

 ** LastRunSummary **   <a name="timestream-Type-query_ScheduledQueryDescription-LastRunSummary"></a>
上次排程查詢執行的執行期摘要。  
類型：[ScheduledQueryRunSummary](API_query_ScheduledQueryRunSummary.md) 物件  
必要：否

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

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

 ** RecentlyFailedRuns **   <a name="timestream-Type-query_ScheduledQueryDescription-RecentlyFailedRuns"></a>
最後五次失敗排程查詢執行的執行期摘要。  
類型：[ScheduledQueryRunSummary](API_query_ScheduledQueryRunSummary.md) 物件陣列  
必要：否

 ** ScheduledQueryExecutionRoleArn **   <a name="timestream-Type-query_ScheduledQueryDescription-ScheduledQueryExecutionRoleArn"></a>
Timestream 用來執行排程查詢的 IAM 角色。  
類型：字串  
長度限制：長度下限為 1。長度上限為 2048。  
必要：否

 ** TargetConfiguration **   <a name="timestream-Type-query_ScheduledQueryDescription-TargetConfiguration"></a>
排程查詢目標存放區組態。  
類型：[TargetConfiguration](API_query_TargetConfiguration.md) 物件  
必要：否

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

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