

要获得与亚马逊 Timestream 类似的功能 LiveAnalytics，可以考虑适用于 InfluxDB 的亚马逊 Timestream。适用于 InfluxDB 的 Amazon Timestream 提供简化的数据摄取和个位数毫秒级的查询响应时间，以实现实时分析。点击[此处](https://docs.aws.amazon.com//timestream/latest/developerguide/timestream-for-influxdb.html)了解更多信息。

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 数据类型
<a name="API_Types"></a>

Amazon Timestream 写入支持以下数据类型：
+  [BatchLoadProgressReport](API_BatchLoadProgressReport.md) 
+  [BatchLoadTask](API_BatchLoadTask.md) 
+  [BatchLoadTaskDescription](API_BatchLoadTaskDescription.md) 
+  [CsvConfiguration](API_CsvConfiguration.md) 
+  [Database](API_Database.md) 
+  [DataModel](API_DataModel.md) 
+  [DataModelConfiguration](API_DataModelConfiguration.md) 
+  [DataModelS3Configuration](API_DataModelS3Configuration.md) 
+  [DataSourceConfiguration](API_DataSourceConfiguration.md) 
+  [DataSourceS3Configuration](API_DataSourceS3Configuration.md) 
+  [Dimension](API_Dimension.md) 
+  [DimensionMapping](API_DimensionMapping.md) 
+  [Endpoint](API_Endpoint.md) 
+  [MagneticStoreRejectedDataLocation](API_MagneticStoreRejectedDataLocation.md) 
+  [MagneticStoreWriteProperties](API_MagneticStoreWriteProperties.md) 
+  [MeasureValue](API_MeasureValue.md) 
+  [MixedMeasureMapping](API_MixedMeasureMapping.md) 
+  [MultiMeasureAttributeMapping](API_MultiMeasureAttributeMapping.md) 
+  [MultiMeasureMappings](API_MultiMeasureMappings.md) 
+  [PartitionKey](API_PartitionKey.md) 
+  [Record](API_Record.md) 
+  [RecordsIngested](API_RecordsIngested.md) 
+  [RejectedRecord](API_RejectedRecord.md) 
+  [ReportConfiguration](API_ReportConfiguration.md) 
+  [ReportS3Configuration](API_ReportS3Configuration.md) 
+  [RetentionProperties](API_RetentionProperties.md) 
+  [S3Configuration](API_S3Configuration.md) 
+  [Schema](API_Schema.md) 
+  [Table](API_Table.md) 
+  [Tag](API_Tag.md) 

Amazon Timestream 查询支持以下数据类型：
+  [AccountSettingsNotificationConfiguration](API_query_AccountSettingsNotificationConfiguration.md) 
+  [ColumnInfo](API_query_ColumnInfo.md) 
+  [Datum](API_query_Datum.md) 
+  [DimensionMapping](API_query_DimensionMapping.md) 
+  [Endpoint](API_query_Endpoint.md) 
+  [ErrorReportConfiguration](API_query_ErrorReportConfiguration.md) 
+  [ErrorReportLocation](API_query_ErrorReportLocation.md) 
+  [ExecutionStats](API_query_ExecutionStats.md) 
+  [LastUpdate](API_query_LastUpdate.md) 
+  [MixedMeasureMapping](API_query_MixedMeasureMapping.md) 
+  [MultiMeasureAttributeMapping](API_query_MultiMeasureAttributeMapping.md) 
+  [MultiMeasureMappings](API_query_MultiMeasureMappings.md) 
+  [NotificationConfiguration](API_query_NotificationConfiguration.md) 
+  [ParameterMapping](API_query_ParameterMapping.md) 
+  [ProvisionedCapacityRequest](API_query_ProvisionedCapacityRequest.md) 
+  [ProvisionedCapacityResponse](API_query_ProvisionedCapacityResponse.md) 
+  [QueryComputeRequest](API_query_QueryComputeRequest.md) 
+  [QueryComputeResponse](API_query_QueryComputeResponse.md) 
+  [QueryInsights](API_query_QueryInsights.md) 
+  [QueryInsightsResponse](API_query_QueryInsightsResponse.md) 
+  [QuerySpatialCoverage](API_query_QuerySpatialCoverage.md) 
+  [QuerySpatialCoverageMax](API_query_QuerySpatialCoverageMax.md) 
+  [QueryStatus](API_query_QueryStatus.md) 
+  [QueryTemporalRange](API_query_QueryTemporalRange.md) 
+  [QueryTemporalRangeMax](API_query_QueryTemporalRangeMax.md) 
+  [Row](API_query_Row.md) 
+  [S3Configuration](API_query_S3Configuration.md) 
+  [S3ReportLocation](API_query_S3ReportLocation.md) 
+  [ScheduleConfiguration](API_query_ScheduleConfiguration.md) 
+  [ScheduledQuery](API_query_ScheduledQuery.md) 
+  [ScheduledQueryDescription](API_query_ScheduledQueryDescription.md) 
+  [ScheduledQueryInsights](API_query_ScheduledQueryInsights.md) 
+  [ScheduledQueryInsightsResponse](API_query_ScheduledQueryInsightsResponse.md) 
+  [ScheduledQueryRunSummary](API_query_ScheduledQueryRunSummary.md) 
+  [SelectColumn](API_query_SelectColumn.md) 
+  [SnsConfiguration](API_query_SnsConfiguration.md) 
+  [Tag](API_query_Tag.md) 
+  [TargetConfiguration](API_query_TargetConfiguration.md) 
+  [TargetDestination](API_query_TargetDestination.md) 
+  [TimeSeriesDataPoint](API_query_TimeSeriesDataPoint.md) 
+  [TimestreamConfiguration](API_query_TimestreamConfiguration.md) 
+  [TimestreamDestination](API_query_TimestreamDestination.md) 
+  [Type](API_query_Type.md) 

# Amazon Timestream 写入
<a name="API_Types_Amazon_Timestream_Write"></a>

Amazon Timestream 写入支持以下数据类型：
+  [BatchLoadProgressReport](API_BatchLoadProgressReport.md) 
+  [BatchLoadTask](API_BatchLoadTask.md) 
+  [BatchLoadTaskDescription](API_BatchLoadTaskDescription.md) 
+  [CsvConfiguration](API_CsvConfiguration.md) 
+  [Database](API_Database.md) 
+  [DataModel](API_DataModel.md) 
+  [DataModelConfiguration](API_DataModelConfiguration.md) 
+  [DataModelS3Configuration](API_DataModelS3Configuration.md) 
+  [DataSourceConfiguration](API_DataSourceConfiguration.md) 
+  [DataSourceS3Configuration](API_DataSourceS3Configuration.md) 
+  [Dimension](API_Dimension.md) 
+  [DimensionMapping](API_DimensionMapping.md) 
+  [Endpoint](API_Endpoint.md) 
+  [MagneticStoreRejectedDataLocation](API_MagneticStoreRejectedDataLocation.md) 
+  [MagneticStoreWriteProperties](API_MagneticStoreWriteProperties.md) 
+  [MeasureValue](API_MeasureValue.md) 
+  [MixedMeasureMapping](API_MixedMeasureMapping.md) 
+  [MultiMeasureAttributeMapping](API_MultiMeasureAttributeMapping.md) 
+  [MultiMeasureMappings](API_MultiMeasureMappings.md) 
+  [PartitionKey](API_PartitionKey.md) 
+  [Record](API_Record.md) 
+  [RecordsIngested](API_RecordsIngested.md) 
+  [RejectedRecord](API_RejectedRecord.md) 
+  [ReportConfiguration](API_ReportConfiguration.md) 
+  [ReportS3Configuration](API_ReportS3Configuration.md) 
+  [RetentionProperties](API_RetentionProperties.md) 
+  [S3Configuration](API_S3Configuration.md) 
+  [Schema](API_Schema.md) 
+  [Table](API_Table.md) 
+  [Tag](API_Tag.md) 

# BatchLoadProgressReport
<a name="API_BatchLoadProgressReport"></a>

批量加载任务进度的详细信息。

## 内容
<a name="API_BatchLoadProgressReport_Contents"></a>

 ** BytesMetered **   <a name="timestream-Type-BatchLoadProgressReport-BytesMetered"></a>
  
类型：长整型  
必需：否

 ** FileFailures **   <a name="timestream-Type-BatchLoadProgressReport-FileFailures"></a>
  
类型：长整型  
必需：否

 ** ParseFailures **   <a name="timestream-Type-BatchLoadProgressReport-ParseFailures"></a>
  
类型：长整型  
必需：否

 ** RecordIngestionFailures **   <a name="timestream-Type-BatchLoadProgressReport-RecordIngestionFailures"></a>
  
类型：长整型  
必需：否

 ** RecordsIngested **   <a name="timestream-Type-BatchLoadProgressReport-RecordsIngested"></a>
  
类型：长整型  
必需：否

 ** RecordsProcessed **   <a name="timestream-Type-BatchLoadProgressReport-RecordsProcessed"></a>
  
类型：长整型  
必需：否

## 另请参阅
<a name="API_BatchLoadProgressReport_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/BatchLoadProgressReport) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/BatchLoadProgressReport) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/BatchLoadProgressReport) 

# BatchLoadTask
<a name="API_BatchLoadTask"></a>

批量加载任务的详细信息。

## 内容
<a name="API_BatchLoadTask_Contents"></a>

 ** CreationTime **   <a name="timestream-Type-BatchLoadTask-CreationTime"></a>
创建 Timestream 批量加载任务的时间。  
类型：时间戳  
必需：否

 ** DatabaseName **   <a name="timestream-Type-BatchLoadTask-DatabaseName"></a>
批量加载任务将数据加载到其中的数据库名称。  
类型：字符串  
必需：否

 ** LastUpdatedTime **   <a name="timestream-Type-BatchLoadTask-LastUpdatedTime"></a>
上次更新 Timestream 批量加载任务的时间。  
类型：时间戳  
必需：否

 ** ResumableUntil **   <a name="timestream-Type-BatchLoadTask-ResumableUntil"></a>
   
类型：时间戳  
必需：否

 ** TableName **   <a name="timestream-Type-BatchLoadTask-TableName"></a>
批量加载任务将数据加载到其中的表名称。  
类型：字符串  
必需：否

 ** TaskId **   <a name="timestream-Type-BatchLoadTask-TaskId"></a>
批量加载任务的 ID。  
类型：字符串  
长度约束：最小长度为 3。最大长度为 32。  
模式：`[A-Z0-9]+`  
必需：否

 ** TaskStatus **   <a name="timestream-Type-BatchLoadTask-TaskStatus"></a>
批量加载任务的状态。  
类型：字符串  
有效值：`CREATED | IN_PROGRESS | FAILED | SUCCEEDED | PROGRESS_STOPPED | PENDING_RESUME`  
必需：否

## 另请参阅
<a name="API_BatchLoadTask_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/BatchLoadTask) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/BatchLoadTask) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/BatchLoadTask) 

# BatchLoadTaskDescription
<a name="API_BatchLoadTaskDescription"></a>

批量加载任务的详细信息。

## 内容
<a name="API_BatchLoadTaskDescription_Contents"></a>

 ** CreationTime **   <a name="timestream-Type-BatchLoadTaskDescription-CreationTime"></a>
创建 Timestream 批量加载任务的时间。  
类型：时间戳  
必需：否

 ** DataModelConfiguration **   <a name="timestream-Type-BatchLoadTaskDescription-DataModelConfiguration"></a>
批量加载任务的数据模型配置。这包含有关批量加载任务数据模型存储位置的详细信息。  
类型：[DataModelConfiguration](API_DataModelConfiguration.md) 对象  
必需：否

 ** DataSourceConfiguration **   <a name="timestream-Type-BatchLoadTaskDescription-DataSourceConfiguration"></a>
批量加载任务数据来源的配置详细信息。  
类型：[DataSourceConfiguration](API_DataSourceConfiguration.md) 对象  
必需：否

 ** ErrorMessage **   <a name="timestream-Type-BatchLoadTaskDescription-ErrorMessage"></a>
  
类型：字符串  
长度限制：最小长度为 0。最大长度为 2048。  
必需：否

 ** LastUpdatedTime **   <a name="timestream-Type-BatchLoadTaskDescription-LastUpdatedTime"></a>
上次更新 Timestream 批量加载任务的时间。  
类型：时间戳  
必需：否

 ** ProgressReport **   <a name="timestream-Type-BatchLoadTaskDescription-ProgressReport"></a>
  
类型：[BatchLoadProgressReport](API_BatchLoadProgressReport.md) 对象  
必需：否

 ** RecordVersion **   <a name="timestream-Type-BatchLoadTaskDescription-RecordVersion"></a>
  
类型：长整型  
必需：否

 ** ReportConfiguration **   <a name="timestream-Type-BatchLoadTaskDescription-ReportConfiguration"></a>
批量加载任务的报告配置。这包含有关错误报告存储位置的详细信息。  
类型：[ReportConfiguration](API_ReportConfiguration.md) 对象  
必需：否

 ** ResumableUntil **   <a name="timestream-Type-BatchLoadTaskDescription-ResumableUntil"></a>
   
类型：时间戳  
必需：否

 ** TargetDatabaseName **   <a name="timestream-Type-BatchLoadTaskDescription-TargetDatabaseName"></a>
  
类型：字符串  
必需：否

 ** TargetTableName **   <a name="timestream-Type-BatchLoadTaskDescription-TargetTableName"></a>
  
类型：字符串  
必需：否

 ** TaskId **   <a name="timestream-Type-BatchLoadTaskDescription-TaskId"></a>
批量加载任务的 ID。  
类型：字符串  
长度约束：最小长度为 3。最大长度为 32。  
模式：`[A-Z0-9]+`  
必需：否

 ** TaskStatus **   <a name="timestream-Type-BatchLoadTaskDescription-TaskStatus"></a>
批量加载任务的状态。  
类型：字符串  
有效值：`CREATED | IN_PROGRESS | FAILED | SUCCEEDED | PROGRESS_STOPPED | PENDING_RESUME`  
必需：否

## 另请参阅
<a name="API_BatchLoadTaskDescription_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/BatchLoadTaskDescription) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/BatchLoadTaskDescription) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/BatchLoadTaskDescription) 

# CsvConfiguration
<a name="API_CsvConfiguration"></a>

一种分隔的数据格式，其中列分隔符可以是逗号，记录分隔符是换行符。

## 内容
<a name="API_CsvConfiguration_Contents"></a>

 ** ColumnSeparator **   <a name="timestream-Type-CsvConfiguration-ColumnSeparator"></a>
列分隔符可以是逗号（“,”）、竖线（“\$1”）、分号（“;”）、制表符（“/t”）或空格（“ ”）其中之一。  
类型：字符串  
长度限制：固定长度为 1。  
必需：否

 ** EscapeChar **   <a name="timestream-Type-CsvConfiguration-EscapeChar"></a>
转义字符可以是以下其中之一   
类型：字符串  
长度限制：固定长度为 1。  
必需：否

 ** NullValue **   <a name="timestream-Type-CsvConfiguration-NullValue"></a>
可以是空格（“ ”）。  
类型：字符串  
长度限制：最小长度为 1。最大长度为 256。  
必需：否

 ** QuoteChar **   <a name="timestream-Type-CsvConfiguration-QuoteChar"></a>
可以是单引号（'），也可以是双引号（"）。  
类型：字符串  
长度限制：固定长度为 1。  
必需：否

 ** TrimWhiteSpace **   <a name="timestream-Type-CsvConfiguration-TrimWhiteSpace"></a>
指定剪裁前导和尾随空格。  
类型：布尔值  
必需：否

## 另请参阅
<a name="API_CsvConfiguration_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/CsvConfiguration) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/CsvConfiguration) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/CsvConfiguration) 

# Database
<a name="API_Database"></a>

表的顶级容器。数据库和表是 Amazon Timestream 中的基本管理概念。数据库中的所有表都使用相同的 AWS KMS 密钥进行加密。

## 内容
<a name="API_Database_Contents"></a>

 ** Arn **   <a name="timestream-Type-Database-Arn"></a>
唯一标识此数据库的 Amazon 资源名称。  
类型：字符串  
必需：否

 ** CreationTime **   <a name="timestream-Type-Database-CreationTime"></a>
创建数据库的时间，从 Unix epoch 时间开始计算。  
类型：时间戳  
必需：否

 ** DatabaseName **   <a name="timestream-Type-Database-DatabaseName"></a>
Timestream 数据库的名称。  
类型：字符串  
长度约束：最小长度为 3。长度上限为 256。  
必需：否

 ** KmsKeyId **   <a name="timestream-Type-Database-KmsKeyId"></a>
用于加密存储在数据库中的数据的 AWS KMS 密钥的标识符。  
类型：字符串  
长度限制：最小长度为 0。最大长度为 2048。  
必需：否

 ** LastUpdatedTime **   <a name="timestream-Type-Database-LastUpdatedTime"></a>
 上次更新此数据库的时间。  
类型：时间戳  
必需：否

 ** TableCount **   <a name="timestream-Type-Database-TableCount"></a>
在 Timestream 数据库中查找到的表总数。  
类型：长整型  
必需：否

## 另请参阅
<a name="API_Database_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/Database) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/Database) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/Database) 

# DataModel
<a name="API_DataModel"></a>

批量加载任务的数据模型。

## 内容
<a name="API_DataModel_Contents"></a>

 ** DimensionMappings **   <a name="timestream-Type-DataModel-DimensionMappings"></a>
维度的源到目标映射。  
类型：[DimensionMapping](API_DimensionMapping.md) 对象数组  
数组成员：最少 1 个物品。  
必需：是

 ** MeasureNameColumn **   <a name="timestream-Type-DataModel-MeasureNameColumn"></a>
  
类型：字符串  
长度限制：最小长度为 1。最大长度为 256。  
必需：否

 ** MixedMeasureMappings **   <a name="timestream-Type-DataModel-MixedMeasureMappings"></a>
度量的源到目标映射。  
类型：[MixedMeasureMapping](API_MixedMeasureMapping.md) 对象数组  
数组成员：最少 1 个物品。  
必需：否

 ** MultiMeasureMappings **   <a name="timestream-Type-DataModel-MultiMeasureMappings"></a>
多度量记录的源到目标映射。  
类型：[MultiMeasureMappings](API_MultiMeasureMappings.md) 对象  
必需：否

 ** TimeColumn **   <a name="timestream-Type-DataModel-TimeColumn"></a>
要映射到时间的源列。  
类型：字符串  
长度限制：最小长度为 1。最大长度为 256。  
必需：否

 ** TimeUnit **   <a name="timestream-Type-DataModel-TimeUnit"></a>
 时间戳单位的粒度。这指示时间值的单位是秒、毫秒、纳秒还是其他支持的值。默认值为 `MILLISECONDS`。  
类型：字符串  
有效值：`MILLISECONDS | SECONDS | MICROSECONDS | NANOSECONDS`  
必需：否

## 另请参阅
<a name="API_DataModel_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/DataModel) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/DataModel) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/DataModel) 

# DataModelConfiguration
<a name="API_DataModelConfiguration"></a>



## 内容
<a name="API_DataModelConfiguration_Contents"></a>

 ** DataModel **   <a name="timestream-Type-DataModelConfiguration-DataModel"></a>
  
类型：[DataModel](API_DataModel.md) 对象  
必需：否

 ** DataModelS3Configuration **   <a name="timestream-Type-DataModelConfiguration-DataModelS3Configuration"></a>
  
类型：[DataModelS3Configuration](API_DataModelS3Configuration.md) 对象  
必需：否

## 另请参阅
<a name="API_DataModelConfiguration_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/DataModelConfiguration) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/DataModelConfiguration) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/DataModelConfiguration) 

# DataModelS3Configuration
<a name="API_DataModelS3Configuration"></a>



## 内容
<a name="API_DataModelS3Configuration_Contents"></a>

 ** BucketName **   <a name="timestream-Type-DataModelS3Configuration-BucketName"></a>
  
类型：字符串  
长度约束：最小长度为 3。最大长度为 63。  
模式：`[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]`  
必需：否

 ** ObjectKey **   <a name="timestream-Type-DataModelS3Configuration-ObjectKey"></a>
  
类型：字符串  
长度限制：长度下限为 1。长度上限为 1024。  
模式：`[a-zA-Z0-9|!\-_*'\(\)]([a-zA-Z0-9]|[!\-_*'\(\)\/.])+`  
必需：否

## 另请参阅
<a name="API_DataModelS3Configuration_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/DataModelS3Configuration) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/DataModelS3Configuration) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/DataModelS3Configuration) 

# DataSourceConfiguration
<a name="API_DataSourceConfiguration"></a>

定义有关数据来源的配置详细信息。

## 内容
<a name="API_DataSourceConfiguration_Contents"></a>

 ** DataFormat **   <a name="timestream-Type-DataSourceConfiguration-DataFormat"></a>
这是当前的 CSV。  
类型：字符串  
有效值：`CSV`  
必需：是

 ** DataSourceS3Configuration **   <a name="timestream-Type-DataSourceConfiguration-DataSourceS3Configuration"></a>
为包含要加载数据的文件配置 S3 位置。  
类型：[DataSourceS3Configuration](API_DataSourceS3Configuration.md) 对象  
必需：是

 ** CsvConfiguration **   <a name="timestream-Type-DataSourceConfiguration-CsvConfiguration"></a>
一种分隔的数据格式，其中列分隔符可以是逗号，记录分隔符是换行符。  
类型：[CsvConfiguration](API_CsvConfiguration.md) 对象  
必需：否

## 另请参阅
<a name="API_DataSourceConfiguration_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/DataSourceConfiguration) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/DataSourceConfiguration) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/DataSourceConfiguration) 

# DataSourceS3Configuration
<a name="API_DataSourceS3Configuration"></a>

 

## 内容
<a name="API_DataSourceS3Configuration_Contents"></a>

 ** BucketName **   <a name="timestream-Type-DataSourceS3Configuration-BucketName"></a>
客户 S3 存储桶的名称。  
类型：字符串  
长度约束：最小长度为 3。最大长度为 63。  
模式：`[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]`  
必需：是

 ** ObjectKeyPrefix **   <a name="timestream-Type-DataSourceS3Configuration-ObjectKeyPrefix"></a>
   
类型：字符串  
长度限制：长度下限为 1。长度上限为 1024。  
模式：`[a-zA-Z0-9|!\-_*'\(\)]([a-zA-Z0-9]|[!\-_*'\(\)\/.])+`  
必需：否

## 另请参阅
<a name="API_DataSourceS3Configuration_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/DataSourceS3Configuration) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/DataSourceS3Configuration) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/DataSourceS3Configuration) 

# Dimension
<a name="API_Dimension"></a>

表示时间序列的元数据属性。例如，EC2 实例的名称和可用区或风力涡轮机制造商的名称都是维度。

## 内容
<a name="API_Dimension_Contents"></a>

 ** Name **   <a name="timestream-Type-Dimension-Name"></a>
 维度表示时间序列的元数据属性。例如，EC2 实例的名称和可用区或风力涡轮机制造商的名称都是维度。  
有关维度名称的限制，请参阅[命名约束](https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.naming)。  
类型：字符串  
长度限制：长度下限为 1。最大长度为 60。  
必需：是

 ** Value **   <a name="timestream-Type-Dimension-Value"></a>
维度的值。  
类型：字符串  
必需：是

 ** DimensionValueType **   <a name="timestream-Type-Dimension-DimensionValueType"></a>
时间序列数据点的维度数据类型。  
类型：字符串  
有效值：`VARCHAR`  
必需：否

## 另请参阅
<a name="API_Dimension_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/Dimension) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/Dimension) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/Dimension) 

# DimensionMapping
<a name="API_DimensionMapping"></a>



## 内容
<a name="API_DimensionMapping_Contents"></a>

 ** DestinationColumn **   <a name="timestream-Type-DimensionMapping-DestinationColumn"></a>
   
类型：字符串  
长度限制：长度下限为 1。  
必需：否

 ** SourceColumn **   <a name="timestream-Type-DimensionMapping-SourceColumn"></a>
  
类型：字符串  
长度限制：长度下限为 1。  
必需：否

## 另请参阅
<a name="API_DimensionMapping_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/DimensionMapping) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/DimensionMapping) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/DimensionMapping) 

# Endpoint
<a name="API_Endpoint"></a>

表示可发出 API 调用的可用端点，以及该端点的 TTL。

## 内容
<a name="API_Endpoint_Contents"></a>

 ** Address **   <a name="timestream-Type-Endpoint-Address"></a>
端点地址。  
类型：字符串  
必需：是

 ** CachePeriodInMinutes **   <a name="timestream-Type-Endpoint-CachePeriodInMinutes"></a>
端点的 TTL（以分钟为单位）。  
类型：长整型  
必需：是

## 另请参阅
<a name="API_Endpoint_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/Endpoint) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/Endpoint) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/Endpoint) 

# MagneticStoreRejectedDataLocation
<a name="API_MagneticStoreRejectedDataLocation"></a>

在磁存储写入期间，为异步拒绝的记录写入错误报告的位置。

## 内容
<a name="API_MagneticStoreRejectedDataLocation_Contents"></a>

 ** S3Configuration **   <a name="timestream-Type-MagneticStoreRejectedDataLocation-S3Configuration"></a>
配置 S3 位置在磁存储写入期间，为异步拒绝的记录写入错误报告。  
类型：[S3Configuration](API_S3Configuration.md) 对象  
必需：否

## 另请参阅
<a name="API_MagneticStoreRejectedDataLocation_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/MagneticStoreRejectedDataLocation) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/MagneticStoreRejectedDataLocation) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/MagneticStoreRejectedDataLocation) 

# MagneticStoreWriteProperties
<a name="API_MagneticStoreWriteProperties"></a>

表上用于配置磁存储写入的一组属性。

## 内容
<a name="API_MagneticStoreWriteProperties_Contents"></a>

 ** EnableMagneticStoreWrites **   <a name="timestream-Type-MagneticStoreWriteProperties-EnableMagneticStoreWrites"></a>
启用磁性存储写入的标志。  
类型：布尔值  
必需：是

 ** MagneticStoreRejectedDataLocation **   <a name="timestream-Type-MagneticStoreWriteProperties-MagneticStoreRejectedDataLocation"></a>
在磁存储写入期间，为异步拒绝的记录写入错误报告的位置。  
类型：[MagneticStoreRejectedDataLocation](API_MagneticStoreRejectedDataLocation.md) 对象  
必需：否

## 另请参阅
<a name="API_MagneticStoreWriteProperties_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/MagneticStoreWriteProperties) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/MagneticStoreWriteProperties) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/MagneticStoreWriteProperties) 

# MeasureValue
<a name="API_MeasureValue"></a>

 表示时间序列的数据属性。例如，EC2 实例的 CPU 利用率或风力涡轮机的 RPM 都是度量。MeasureValue 同时包含名称和值。

 MeasureValue 仅允许用于类型 `MULTI`。使用 `MULTI` 类型，可在单个记录中传递与相同时间序列关联的多个数据属性 

## 内容
<a name="API_MeasureValue_Contents"></a>

 ** Name **   <a name="timestream-Type-MeasureValue-Name"></a>
 MeasureValue 的名称。  
 有关 MeasureValue 名称的限制，请参阅《Amazon Timestream 开发人员指南》中的[命名限制](https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.naming)。  
类型：字符串  
长度限制：长度下限为 1。  
必需：是

 ** Type **   <a name="timestream-Type-MeasureValue-Type"></a>
包含时间序列数据点的 MeasureValue 数据类型。  
类型：字符串  
有效值：`DOUBLE | BIGINT | VARCHAR | BOOLEAN | TIMESTAMP | MULTI`  
必需：是

 ** Value **   <a name="timestream-Type-MeasureValue-Value"></a>
 MeasureValue 的值。有关信息，请参阅[数据类型](https://docs.aws.amazon.com/timestream/latest/developerguide/writes.html#writes.data-types)。  
类型：字符串  
长度限制：最小长度为 0。最大长度为 2048。  
必需：是

## 另请参阅
<a name="API_MeasureValue_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/MeasureValue) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/MeasureValue) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/MeasureValue) 

# MixedMeasureMapping
<a name="API_MixedMeasureMapping"></a>



## 内容
<a name="API_MixedMeasureMapping_Contents"></a>

 ** MeasureValueType **   <a name="timestream-Type-MixedMeasureMapping-MeasureValueType"></a>
  
类型：字符串  
有效值：`DOUBLE | BIGINT | VARCHAR | BOOLEAN | TIMESTAMP | MULTI`  
必需：是

 ** MeasureName **   <a name="timestream-Type-MixedMeasureMapping-MeasureName"></a>
  
类型：字符串  
长度限制：长度下限为 1。  
必需：否

 ** MultiMeasureAttributeMappings **   <a name="timestream-Type-MixedMeasureMapping-MultiMeasureAttributeMappings"></a>
  
类型：[MultiMeasureAttributeMapping](API_MultiMeasureAttributeMapping.md) 对象数组  
数组成员：最少 1 个物品。  
必需：否

 ** SourceColumn **   <a name="timestream-Type-MixedMeasureMapping-SourceColumn"></a>
  
类型：字符串  
长度限制：长度下限为 1。  
必需：否

 ** TargetMeasureName **   <a name="timestream-Type-MixedMeasureMapping-TargetMeasureName"></a>
  
类型：字符串  
长度限制：长度下限为 1。  
必需：否

## 另请参阅
<a name="API_MixedMeasureMapping_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/MixedMeasureMapping) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/MixedMeasureMapping) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/MixedMeasureMapping) 

# MultiMeasureAttributeMapping
<a name="API_MultiMeasureAttributeMapping"></a>



## 内容
<a name="API_MultiMeasureAttributeMapping_Contents"></a>

 ** SourceColumn **   <a name="timestream-Type-MultiMeasureAttributeMapping-SourceColumn"></a>
  
类型：字符串  
长度限制：长度下限为 1。  
必需：是

 ** MeasureValueType **   <a name="timestream-Type-MultiMeasureAttributeMapping-MeasureValueType"></a>
  
类型：字符串  
有效值：`DOUBLE | BIGINT | BOOLEAN | VARCHAR | TIMESTAMP`  
必需：否

 ** TargetMultiMeasureAttributeName **   <a name="timestream-Type-MultiMeasureAttributeMapping-TargetMultiMeasureAttributeName"></a>
  
类型：字符串  
长度限制：长度下限为 1。  
必需：否

## 另请参阅
<a name="API_MultiMeasureAttributeMapping_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/MultiMeasureAttributeMapping) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/MultiMeasureAttributeMapping) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/MultiMeasureAttributeMapping) 

# MultiMeasureMappings
<a name="API_MultiMeasureMappings"></a>



## 内容
<a name="API_MultiMeasureMappings_Contents"></a>

 ** MultiMeasureAttributeMappings **   <a name="timestream-Type-MultiMeasureMappings-MultiMeasureAttributeMappings"></a>
  
类型：[MultiMeasureAttributeMapping](API_MultiMeasureAttributeMapping.md) 对象数组  
数组成员：最少 1 个物品。  
必需：是

 ** TargetMultiMeasureName **   <a name="timestream-Type-MultiMeasureMappings-TargetMultiMeasureName"></a>
  
类型：字符串  
长度限制：长度下限为 1。  
必需：否

## 另请参阅
<a name="API_MultiMeasureMappings_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/MultiMeasureMappings) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/MultiMeasureMappings) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/MultiMeasureMappings) 

# PartitionKey
<a name="API_PartitionKey"></a>

 用于对表中数据进行分区的属性。维度键使用维度名称指定的维度值作为分区键对数据进行分区，而度量键则使用度量名称（即“measure\$1name”列的值）对数据进行分区。

## 内容
<a name="API_PartitionKey_Contents"></a>

 ** Type **   <a name="timestream-Type-PartitionKey-Type"></a>
 分区键的类型。选项包括 DIMENSION（维度键）和 MEASURE（度量键）。  
类型：字符串  
有效值：`DIMENSION | MEASURE`  
必需：是

 ** EnforcementInRecord **   <a name="timestream-Type-PartitionKey-EnforcementInRecord"></a>
 对摄取记录中维度键规范的强制执行级别。选项包括 REQUIRED（必须指定维度键）和 OPTIONAL（无需指定维度键）。  
类型：字符串  
有效值：`REQUIRED | OPTIONAL`  
必需：否

 ** Name **   <a name="timestream-Type-PartitionKey-Name"></a>
 维度键所使用属性的名称。  
类型：字符串  
长度限制：长度下限为 1。  
必需：否

## 另请参阅
<a name="API_PartitionKey_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/PartitionKey) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/PartitionKey) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/PartitionKey) 

# Record
<a name="API_Record"></a>

表示将写入 Timestream 的时间序列数据点。每条记录均包含维度数组。维度表示时间序列数据点的元数据属性，例如 EC2 实例的实例名称或可用区。记录还包含度量名称，即正在收集的度量名称（例如，EC2 实例的 CPU 利用率）。此外，记录还包含度量值及值类型，即度量值的数据类型。此外，记录包含收集度量的时间戳及时间戳单位，后者表示时间戳的粒度。

 记录包含 `Version` 字段，该字段是 64 位 `long`，可用于更新数据点。写入具有相同维度、时间戳和度量名称但度量值不同的重复记录时，仅当写入请求中记录的 `Version` 属性高于现有记录时才会成功。对于没有 `Version` 字段的记录，Timestream 默认使用 `1` 的 `Version`。

## 内容
<a name="API_Record_Contents"></a>

 ** Dimensions **   <a name="timestream-Type-Record-Dimensions"></a>
包含时间序列数据点的维度列表。  
类型：[Dimension](API_Dimension.md) 对象数组  
数组成员：最多 128 项。  
必需：否

 ** MeasureName **   <a name="timestream-Type-Record-MeasureName"></a>
度量表示时间序列的数据属性。例如，EC2 实例的 CPU 利用率或风力涡轮机的 RPM 都是度量。  
类型：字符串  
长度限制：最小长度为 1。最大长度为 256。  
必需：否

 ** MeasureValue **   <a name="timestream-Type-Record-MeasureValue"></a>
 包含时间序列数据点的度量值。  
类型：字符串  
长度限制：最小长度为 0。最大长度为 2048。  
必需：否

 ** MeasureValues **   <a name="timestream-Type-Record-MeasureValues"></a>
 包含时间序列数据的 MeasureValue 列表。  
 这仅限于类型 `MULTI`。对于标量值，直接使用记录的 `MeasureValue` 属性。  
类型：[MeasureValue](API_MeasureValue.md) 对象数组  
必需：否

 ** MeasureValueType **   <a name="timestream-Type-Record-MeasureValueType"></a>
 包含时间序列数据点的度量值数据类型。默认类型为 `DOUBLE`。有关更多信息，请参阅[数据类型](https://docs.aws.amazon.com/timestream/latest/developerguide/writes.html#writes.data-types)。  
类型：字符串  
有效值：`DOUBLE | BIGINT | VARCHAR | BOOLEAN | TIMESTAMP | MULTI`  
必需：否

 ** Time **   <a name="timestream-Type-Record-Time"></a>
 包含收集数据点度量值的时间。时间值加上单位即为自 epoch 以来经过的时间。例如，如果时间值为 `12345`，单位为 `ms`，则自 epoch 以来已经过 `12345 ms`。  
类型：字符串  
长度限制：最小长度为 1。最大长度为 256。  
必需：否

 ** TimeUnit **   <a name="timestream-Type-Record-TimeUnit"></a>
 时间戳单位的粒度。这指示时间值的单位是秒、毫秒、纳秒还是其他支持的值。默认值为 `MILLISECONDS`。  
类型：字符串  
有效值：`MILLISECONDS | SECONDS | MICROSECONDS | NANOSECONDS`  
必需：否

 ** Version **   <a name="timestream-Type-Record-Version"></a>
用于更新记录的 64 位属性。具有更高版本号的重复数据写入请求将更新现有度量值和版本。如果度量值相同，`Version` 仍会进行更新。默认值为 `1`。  
 `Version` 必须等于或大于 `1`，否则将收到 `ValidationException` 错误。
类型：长整型  
必需：否

## 另请参阅
<a name="API_Record_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/Record) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/Record) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/Record) 

# RecordsIngested
<a name="API_RecordsIngested"></a>

有关此请求所摄取记录的信息。

## 内容
<a name="API_RecordsIngested_Contents"></a>

 ** MagneticStore **   <a name="timestream-Type-RecordsIngested-MagneticStore"></a>
摄取到磁性存储的记录计数。  
类型：整数  
必需：否

 ** MemoryStore **   <a name="timestream-Type-RecordsIngested-MemoryStore"></a>
摄取到内存存储的记录计数。  
类型：整数  
必需：否

 ** Total **   <a name="timestream-Type-RecordsIngested-Total"></a>
成功摄取的记录总计数。  
类型：整数  
必需：否

## 另请参阅
<a name="API_RecordsIngested_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/RecordsIngested) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/RecordsIngested) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/RecordsIngested) 

# RejectedRecord
<a name="API_RejectedRecord"></a>

 表示因数据验证问题未能成功插入 Timestream 的记录，必须解决这些问题后才能将时间序列数据重新插入系统。

## 内容
<a name="API_RejectedRecord_Contents"></a>

 ** ExistingVersion **   <a name="timestream-Type-RejectedRecord-ExistingVersion"></a>
记录的现有版本。如果存在版本号高于写入请求版本号的相同记录，则会填充此值。  
类型：长整型  
必需：否

 ** Reason **   <a name="timestream-Type-RejectedRecord-Reason"></a>
 记录未成功插入 Timestream 的原因。失败的可能原因包括：  
+ 包含重复数据的记录，即存在多个具有相同维度、时间戳和度量名称的记录，但：
  + 度量值不同
  + 请求中未包含版本信息，*或*新记录的版本值等于或小于现有值

  如果 Timestream 拒绝此案例的数据，则 `RejectedRecords` 响应中的 `ExistingVersion` 字段将指示当前记录的版本。如需强制执行更新，您可以重新发送请求，并将该记录的版本设置为大于 `ExistingVersion` 的值。
+  记录的时间戳超出内存存储的保留期限。
**注意**  
当更新保留窗口时，如果立即尝试在新窗口内摄取数据，将收到 `RejectedRecords` 异常消息。为避免 `RejectedRecords` 异常，请等待新窗口的持续时间结束后再摄取新数据。有关更多信息，请参阅[配置 Timestream 的最佳实践](https://docs.aws.amazon.com/timestream/latest/developerguide/best-practices.html#configuration)以及[关于 Timestream 中存储工作原理的说明](https://docs.aws.amazon.com/timestream/latest/developerguide/storage.html)。
+  维度或度量超过 Timestream 所定义限制的记录。
 有关更多信息，请参阅《Timestream 开发人员指南》中的[访问管理](https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html)。  
类型：字符串  
必需：否

 ** RecordIndex **   <a name="timestream-Type-RejectedRecord-RecordIndex"></a>
 WriteRecords 输入请求中记录的索引。索引从 0 开始。  
类型：整数  
必需：否

## 另请参阅
<a name="API_RejectedRecord_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/RejectedRecord) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/RejectedRecord) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/RejectedRecord) 

# ReportConfiguration
<a name="API_ReportConfiguration"></a>

批量加载任务的报告配置。这包含有关错误报告存储位置的详细信息。

## 内容
<a name="API_ReportConfiguration_Contents"></a>

 ** ReportS3Configuration **   <a name="timestream-Type-ReportConfiguration-ReportS3Configuration"></a>
配置 S3 位置，用于写入批量加载的错误报告和事件。  
类型：[ReportS3Configuration](API_ReportS3Configuration.md) 对象  
必需：否

## 另请参阅
<a name="API_ReportConfiguration_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/ReportConfiguration) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/ReportConfiguration) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/ReportConfiguration) 

# ReportS3Configuration
<a name="API_ReportS3Configuration"></a>



## 内容
<a name="API_ReportS3Configuration_Contents"></a>

 ** BucketName **   <a name="timestream-Type-ReportS3Configuration-BucketName"></a>
  
类型：字符串  
长度约束：最小长度为 3。最大长度为 63。  
模式：`[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]`  
必需：是

 ** EncryptionOption **   <a name="timestream-Type-ReportS3Configuration-EncryptionOption"></a>
  
类型：字符串  
有效值：`SSE_S3 | SSE_KMS`  
必需：否

 ** KmsKeyId **   <a name="timestream-Type-ReportS3Configuration-KmsKeyId"></a>
  
类型：字符串  
长度限制：最小长度为 0。最大长度为 2048。  
必需：否

 ** ObjectKeyPrefix **   <a name="timestream-Type-ReportS3Configuration-ObjectKeyPrefix"></a>
  
类型：字符串  
长度限制：长度下限为 1。最大长度为 928。  
模式：`[a-zA-Z0-9|!\-_*'\(\)]([a-zA-Z0-9]|[!\-_*'\(\)\/.])+`  
必需：否

## 另请参阅
<a name="API_ReportS3Configuration_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/ReportS3Configuration) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/ReportS3Configuration) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/ReportS3Configuration) 

# RetentionProperties
<a name="API_RetentionProperties"></a>

保留属性包含您的时间序列数据必须存储在磁存储和内存存储中的持续时间。

## 内容
<a name="API_RetentionProperties_Contents"></a>

 ** MagneticStoreRetentionPeriodInDays **   <a name="timestream-Type-RetentionProperties-MagneticStoreRetentionPeriodInDays"></a>
数据必须存储在磁存储中的持续时间。  
类型：长整型  
有效范围：最小值为 1。最大值为 73000。  
必需：是

 ** MemoryStoreRetentionPeriodInHours **   <a name="timestream-Type-RetentionProperties-MemoryStoreRetentionPeriodInHours"></a>
数据必须存储在内存存储中的持续时间。  
类型：长整型  
有效范围：最小值为 1。最大值为 8766。  
必需：是

## 另请参阅
<a name="API_RetentionProperties_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/RetentionProperties) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/RetentionProperties) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/RetentionProperties) 

# S3Configuration
<a name="API_S3Configuration"></a>

指定 S3 位置的配置。

## 内容
<a name="API_S3Configuration_Contents"></a>

 ** BucketName **   <a name="timestream-Type-S3Configuration-BucketName"></a>
客户 S3 存储桶的名称。  
类型：字符串  
长度约束：最小长度为 3。最大长度为 63。  
模式：`[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]`  
必需：否

 ** EncryptionOption **   <a name="timestream-Type-S3Configuration-EncryptionOption"></a>
客户 S3 位置的加密选项。选项为使用 S3 托管密钥或 AWS 托管密钥进行 S3 服务器端加密。  
类型：字符串  
有效值：`SSE_S3 | SSE_KMS`  
必需：否

 ** KmsKeyId **   <a name="timestream-Type-S3Configuration-KmsKeyId"></a>
使用 AWS 托管密钥加密时客户 S3 位置的 AWS KMS 密钥 ID。  
类型：字符串  
长度限制：最小长度为 0。最大长度为 2048。  
必需：否

 ** ObjectKeyPrefix **   <a name="timestream-Type-S3Configuration-ObjectKeyPrefix"></a>
客户 S3 位置的对象键预览。  
类型：字符串  
长度限制：长度下限为 1。最大长度为 928。  
模式：`[a-zA-Z0-9|!\-_*'\(\)]([a-zA-Z0-9]|[!\-_*'\(\)\/.])+`  
必需：否

## 另请参阅
<a name="API_S3Configuration_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/S3Configuration) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/S3Configuration) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/S3Configuration) 

# Schema
<a name="API_Schema"></a>

 架构指定表的预期数据模型。

## 内容
<a name="API_Schema_Contents"></a>

 ** CompositePartitionKey **   <a name="timestream-Type-Schema-CompositePartitionKey"></a>
非空的分区键列表，定义用于对表数据进行分区的属性。列表的顺序决定分区层次结构。创建表后，每个分区键的名称、类型以及分区键顺序均不可更改。然而，可更改每个分区键的强制级别。  
类型：[PartitionKey](API_PartitionKey.md) 对象数组  
数组成员：最少 1 个物品。  
必需：否

## 另请参阅
<a name="API_Schema_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/Schema) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/Schema) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/Schema) 

# Table
<a name="API_Table"></a>

表示 Timestream 中的数据库表。表包含一个或多个相关的时间序列。可以修改表的内存存储和磁性存储的保留持续时间。

## 内容
<a name="API_Table_Contents"></a>

 ** Arn **   <a name="timestream-Type-Table-Arn"></a>
唯一标识此表的 Amazon 资源名称。  
类型：字符串  
必需：否

 ** CreationTime **   <a name="timestream-Type-Table-CreationTime"></a>
Timestream 表创建的时间。  
类型：时间戳  
必需：否

 ** DatabaseName **   <a name="timestream-Type-Table-DatabaseName"></a>
包含此表的 Timestream 数据库的名称。  
类型：字符串  
长度约束：最小长度为 3。长度上限为 256。  
必需：否

 ** LastUpdatedTime **   <a name="timestream-Type-Table-LastUpdatedTime"></a>
上次更新 Timestream 表的时间。  
类型：时间戳  
必需：否

 ** MagneticStoreWriteProperties **   <a name="timestream-Type-Table-MagneticStoreWriteProperties"></a>
包含启用磁存储写入时要在表上设置的属性。  
类型：[MagneticStoreWriteProperties](API_MagneticStoreWriteProperties.md) 对象  
必需：否

 ** RetentionProperties **   <a name="timestream-Type-Table-RetentionProperties"></a>
内存存储和磁性存储的保留持续时间。  
类型：[RetentionProperties](API_RetentionProperties.md) 对象  
必需：否

 ** Schema **   <a name="timestream-Type-Table-Schema"></a>
 表的架构。  
类型：[Schema](API_Schema.md) 对象  
必需：否

 ** TableName **   <a name="timestream-Type-Table-TableName"></a>
Timestream 表的名称。  
类型：字符串  
长度约束：最小长度为 3。长度上限为 256。  
必需：否

 ** TableStatus **   <a name="timestream-Type-Table-TableStatus"></a>
表的当前状态：  
+  `DELETING`：正在删除表。
+  `ACTIVE`：表已准备就绪，可供使用。
类型：字符串  
有效值：`ACTIVE | DELETING | RESTORING`  
必需：否

## 另请参阅
<a name="API_Table_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/Table) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/Table) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/Table) 

# Tag
<a name="API_Tag"></a>

 标签是指为 Timestream 数据库和/或表分配的标识。每个标签都包含定义的一个键和一个可选值。使用标签，可按用途、所有者或环境对数据库和/或表进行分类。

## 内容
<a name="API_Tag_Contents"></a>

 ** Key **   <a name="timestream-Type-Tag-Key"></a>
 标签的密钥。标签键区分大小写。  
类型：字符串  
长度限制：长度下限为 1。最大长度为 128。  
必需：是

 ** Value **   <a name="timestream-Type-Tag-Value"></a>
 标签的值。标签值区分大小写，可以为 null。  
类型：字符串  
长度约束：最小长度为 0。最大长度为 256。  
必需：是

## 另请参阅
<a name="API_Tag_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-write-2018-11-01/Tag) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-write-2018-11-01/Tag) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-write-2018-11-01/Tag) 

# Amazon Timestream 查询
<a name="API_Types_Amazon_Timestream_Query"></a>

Amazon Timestream 查询支持以下数据类型：
+  [AccountSettingsNotificationConfiguration](API_query_AccountSettingsNotificationConfiguration.md) 
+  [ColumnInfo](API_query_ColumnInfo.md) 
+  [Datum](API_query_Datum.md) 
+  [DimensionMapping](API_query_DimensionMapping.md) 
+  [Endpoint](API_query_Endpoint.md) 
+  [ErrorReportConfiguration](API_query_ErrorReportConfiguration.md) 
+  [ErrorReportLocation](API_query_ErrorReportLocation.md) 
+  [ExecutionStats](API_query_ExecutionStats.md) 
+  [LastUpdate](API_query_LastUpdate.md) 
+  [MixedMeasureMapping](API_query_MixedMeasureMapping.md) 
+  [MultiMeasureAttributeMapping](API_query_MultiMeasureAttributeMapping.md) 
+  [MultiMeasureMappings](API_query_MultiMeasureMappings.md) 
+  [NotificationConfiguration](API_query_NotificationConfiguration.md) 
+  [ParameterMapping](API_query_ParameterMapping.md) 
+  [ProvisionedCapacityRequest](API_query_ProvisionedCapacityRequest.md) 
+  [ProvisionedCapacityResponse](API_query_ProvisionedCapacityResponse.md) 
+  [QueryComputeRequest](API_query_QueryComputeRequest.md) 
+  [QueryComputeResponse](API_query_QueryComputeResponse.md) 
+  [QueryInsights](API_query_QueryInsights.md) 
+  [QueryInsightsResponse](API_query_QueryInsightsResponse.md) 
+  [QuerySpatialCoverage](API_query_QuerySpatialCoverage.md) 
+  [QuerySpatialCoverageMax](API_query_QuerySpatialCoverageMax.md) 
+  [QueryStatus](API_query_QueryStatus.md) 
+  [QueryTemporalRange](API_query_QueryTemporalRange.md) 
+  [QueryTemporalRangeMax](API_query_QueryTemporalRangeMax.md) 
+  [Row](API_query_Row.md) 
+  [S3Configuration](API_query_S3Configuration.md) 
+  [S3ReportLocation](API_query_S3ReportLocation.md) 
+  [ScheduleConfiguration](API_query_ScheduleConfiguration.md) 
+  [ScheduledQuery](API_query_ScheduledQuery.md) 
+  [ScheduledQueryDescription](API_query_ScheduledQueryDescription.md) 
+  [ScheduledQueryInsights](API_query_ScheduledQueryInsights.md) 
+  [ScheduledQueryInsightsResponse](API_query_ScheduledQueryInsightsResponse.md) 
+  [ScheduledQueryRunSummary](API_query_ScheduledQueryRunSummary.md) 
+  [SelectColumn](API_query_SelectColumn.md) 
+  [SnsConfiguration](API_query_SnsConfiguration.md) 
+  [Tag](API_query_Tag.md) 
+  [TargetConfiguration](API_query_TargetConfiguration.md) 
+  [TargetDestination](API_query_TargetDestination.md) 
+  [TimeSeriesDataPoint](API_query_TimeSeriesDataPoint.md) 
+  [TimestreamConfiguration](API_query_TimestreamConfiguration.md) 
+  [TimestreamDestination](API_query_TimestreamDestination.md) 
+  [Type](API_query_Type.md) 

# AccountSettingsNotificationConfiguration
<a name="API_query_AccountSettingsNotificationConfiguration"></a>

账户设置相关通知的配置设置。

## 内容
<a name="API_query_AccountSettingsNotificationConfiguration_Contents"></a>

 ** RoleArn **   <a name="timestream-Type-query_AccountSettingsNotificationConfiguration-RoleArn"></a>
授予 Timestream 发布通知权限的 Amazon 资源名称（ARN）。仅当更新账户设置时提供 SNS 主题的情况下，此字段才会显示。  
类型：字符串  
长度限制：最小长度为 0。最大长度为 2048。  
必需：是

 ** SnsConfiguration **   <a name="timestream-Type-query_AccountSettingsNotificationConfiguration-SnsConfiguration"></a>
发送通知所需的 SNS 的详细信息。  
类型：[SnsConfiguration](API_query_SnsConfiguration.md) 对象  
必需：否

## 另请参阅
<a name="API_query_AccountSettingsNotificationConfiguration_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/AccountSettingsNotificationConfiguration) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/AccountSettingsNotificationConfiguration) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/AccountSettingsNotificationConfiguration) 

# ColumnInfo
<a name="API_query_ColumnInfo"></a>

 包含查询结果的元数据，例如列名称、数据类型以及其他属性。

## 内容
<a name="API_query_ColumnInfo_Contents"></a>

 ** Type **   <a name="timestream-Type-query_ColumnInfo-Type"></a>
结果集列的数据类型。数据类型可以是标量，也可以是复数。标量数据类型包括整数、字符串、双精度、布尔值及其他类型。复数数据类型包括数组、行及其他类型。  
类型：[Type](API_query_Type.md) 对象  
必需：是

 ** Name **   <a name="timestream-Type-query_ColumnInfo-Name"></a>
 结果集列的名称。除数组外，所有数据类型的列均可使用结果集的名称。  
类型：字符串  
必需：否

## 另请参阅
<a name="API_query_ColumnInfo_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/ColumnInfo) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/ColumnInfo) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/ColumnInfo) 

# Datum
<a name="API_query_Datum"></a>

 Datum 表示查询结果中的单个数据点。

## 内容
<a name="API_query_Datum_Contents"></a>

 ** ArrayValue **   <a name="timestream-Type-query_Datum-ArrayValue"></a>
 指示数据点是否为数组。  
类型：[Datum](#API_query_Datum) 对象数组  
必需：否

 ** NullValue **   <a name="timestream-Type-query_Datum-NullValue"></a>
 指示数据点是否为 null。  
类型：布尔值  
必需：否

 ** RowValue **   <a name="timestream-Type-query_Datum-RowValue"></a>
 指示数据点是否为行。  
类型：[Row](API_query_Row.md) 对象  
必需：否

 ** ScalarValue **   <a name="timestream-Type-query_Datum-ScalarValue"></a>
 指示数据点是否为标量值，例如整数、字符串、双精度或布尔值。  
类型：字符串  
必需：否

 ** TimeSeriesValue **   <a name="timestream-Type-query_Datum-TimeSeriesValue"></a>
 指示数据点是否为时间序列数据类型。  
类型：[TimeSeriesDataPoint](API_query_TimeSeriesDataPoint.md) 对象数组  
必需：否

## 另请参阅
<a name="API_query_Datum_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/Datum) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/Datum) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/Datum) 

# DimensionMapping
<a name="API_query_DimensionMapping"></a>

此类型用于将查询结果中的列映射到目标表中的维度。

## 内容
<a name="API_query_DimensionMapping_Contents"></a>

 ** DimensionValueType **   <a name="timestream-Type-query_DimensionMapping-DimensionValueType"></a>
维度的类型。  
类型：字符串  
有效值：`VARCHAR`  
必需：是

 ** Name **   <a name="timestream-Type-query_DimensionMapping-Name"></a>
查询结果中的列名。  
类型：字符串  
必需：是

## 另请参阅
<a name="API_query_DimensionMapping_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/DimensionMapping) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/DimensionMapping) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/DimensionMapping) 

# Endpoint
<a name="API_query_Endpoint"></a>

表示可发出 API 调用的可用端点，以及该端点的 TTL。

## 内容
<a name="API_query_Endpoint_Contents"></a>

 ** Address **   <a name="timestream-Type-query_Endpoint-Address"></a>
端点地址。  
类型：字符串  
必需：是

 ** CachePeriodInMinutes **   <a name="timestream-Type-query_Endpoint-CachePeriodInMinutes"></a>
端点的 TTL（以分钟为单位）。  
类型：长整型  
必需：是

## 另请参阅
<a name="API_query_Endpoint_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/Endpoint) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/Endpoint) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/Endpoint) 

# ErrorReportConfiguration
<a name="API_query_ErrorReportConfiguration"></a>

错误报告所需的配置。

## 内容
<a name="API_query_ErrorReportConfiguration_Contents"></a>

 ** S3Configuration **   <a name="timestream-Type-query_ErrorReportConfiguration-S3Configuration"></a>
错误报告的 S3 配置。  
类型：[S3Configuration](API_query_S3Configuration.md) 对象  
必需：是

## 另请参阅
<a name="API_query_ErrorReportConfiguration_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/ErrorReportConfiguration) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/ErrorReportConfiguration) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/ErrorReportConfiguration) 

# ErrorReportLocation
<a name="API_query_ErrorReportLocation"></a>

这包含针对单个计划查询调用的错误报告位置。

## 内容
<a name="API_query_ErrorReportLocation_Contents"></a>

 ** S3ReportLocation **   <a name="timestream-Type-query_ErrorReportLocation-S3ReportLocation"></a>
用于写入错误报告的 S3 位置。  
类型：[S3ReportLocation](API_query_S3ReportLocation.md) 对象  
必需：否

## 另请参阅
<a name="API_query_ErrorReportLocation_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/ErrorReportLocation) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/ErrorReportLocation) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/ErrorReportLocation) 

# ExecutionStats
<a name="API_query_ExecutionStats"></a>

单个计划查询运行的统计数据。

## 内容
<a name="API_query_ExecutionStats_Contents"></a>

 ** BytesMetered **   <a name="timestream-Type-query_ExecutionStats-BytesMetered"></a>
单个计划查询运行计量的字节数。  
类型：长整型  
必需：否

 ** CumulativeBytesScanned **   <a name="timestream-Type-query_ExecutionStats-CumulativeBytesScanned"></a>
单个计划查询运行扫描的字节数。  
类型：长整型  
必需：否

 ** DataWrites **   <a name="timestream-Type-query_ExecutionStats-DataWrites"></a>
按单个计划查询运行中摄取记录计量的数据写入量。  
类型：长整型  
必需：否

 ** ExecutionTimeInMillis **   <a name="timestream-Type-query_ExecutionStats-ExecutionTimeInMillis"></a>
完成计划查询运行所需的总时间，以毫秒为单位。  
类型：长整型  
必需：否

 ** QueryResultRows **   <a name="timestream-Type-query_ExecutionStats-QueryResultRows"></a>
将查询摄取到目标数据来源之前，运行查询所产生输出中显示的行数。  
类型：长整型  
必需：否

 ** RecordsIngested **   <a name="timestream-Type-query_ExecutionStats-RecordsIngested"></a>
单个计划查询运行摄取的记录数。  
类型：长整型  
必需：否

## 另请参阅
<a name="API_query_ExecutionStats_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/ExecutionStats) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/ExecutionStats) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/ExecutionStats) 

# LastUpdate
<a name="API_query_LastUpdate"></a>

包含最近一次账户设置更新的配置对象，仅在先前进行过设置更新时显示。

## 内容
<a name="API_query_LastUpdate_Contents"></a>

 ** Status **   <a name="timestream-Type-query_LastUpdate-Status"></a>
上次更新的状态。可以是 `PENDING`、`FAILED` 或 `SUCCEEDED`。  
类型：字符串  
有效值：`PENDING | FAILED | SUCCEEDED`  
必需：否

 ** StatusMessage **   <a name="timestream-Type-query_LastUpdate-StatusMessage"></a>
描述上次账户设置更新状态的错误消息，仅在发生错误时显示。  
类型：字符串  
必需：否

 ** TargetQueryTCU **   <a name="timestream-Type-query_LastUpdate-TargetQueryTCU"></a>
上次账户设置更新中请求的 TimeStream 计算单位（TCU）数量。  
类型：整数  
必需：否

## 另请参阅
<a name="API_query_LastUpdate_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/LastUpdate) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/LastUpdate) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/LastUpdate) 

# MixedMeasureMapping
<a name="API_query_MixedMeasureMapping"></a>

MixedMeasureMappings 是可用于将数据提取到派生表中的窄度量和多度量混合中的映射。

## 内容
<a name="API_query_MixedMeasureMapping_Contents"></a>

 ** MeasureValueType **   <a name="timestream-Type-query_MixedMeasureMapping-MeasureValueType"></a>
要从 sourceColumn 读取的值的类型。如果映射适用于 MULTI，请使用 MeasureValueType.MULTI。  
类型：字符串  
有效值：`BIGINT | BOOLEAN | DOUBLE | VARCHAR | MULTI`  
必需：是

 ** MeasureName **   <a name="timestream-Type-query_MixedMeasureMapping-MeasureName"></a>
指结果行中 measure\$1name 的值。如果提供了 MeasureNameColumn，则此字段是必需的。  
类型：字符串  
必需：否

 ** MultiMeasureAttributeMappings **   <a name="timestream-Type-query_MixedMeasureMapping-MultiMeasureAttributeMappings"></a>
measureValueType 为 MULTI 时需要。MULTI 值度量的属性映射。  
类型：[MultiMeasureAttributeMapping](API_query_MultiMeasureAttributeMapping.md) 对象数组  
数组成员：最少 1 个物品。  
必需：否

 ** SourceColumn **   <a name="timestream-Type-query_MixedMeasureMapping-SourceColumn"></a>
此字段指的是要从中读取度量值以实现结果具体化的源列。  
类型：字符串  
必需：否

 ** TargetMeasureName **   <a name="timestream-Type-query_MixedMeasureMapping-TargetMeasureName"></a>
要使用的目标度量名称。如果未提供，则目标度量名称默认为 measure-name（如果提供），否则为 sourceColumn。  
类型：字符串  
必需：否

## 另请参阅
<a name="API_query_MixedMeasureMapping_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/MixedMeasureMapping) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/MixedMeasureMapping) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/MixedMeasureMapping) 

# MultiMeasureAttributeMapping
<a name="API_query_MultiMeasureAttributeMapping"></a>

MULTI 值度量的属性映射。

## 内容
<a name="API_query_MultiMeasureAttributeMapping_Contents"></a>

 ** MeasureValueType **   <a name="timestream-Type-query_MultiMeasureAttributeMapping-MeasureValueType"></a>
要从源列中读取的属性的类型。  
类型：字符串  
有效值：`BIGINT | BOOLEAN | DOUBLE | VARCHAR | TIMESTAMP`  
必需：是

 ** SourceColumn **   <a name="timestream-Type-query_MultiMeasureAttributeMapping-SourceColumn"></a>
要从中读取属性值的源列。  
类型：字符串  
必需：是

 ** TargetMultiMeasureAttributeName **   <a name="timestream-Type-query_MultiMeasureAttributeMapping-TargetMultiMeasureAttributeName"></a>
用于派生表中属性名称的自定义名称。如果未提供，将使用源列名称。  
类型：字符串  
必需：否

## 另请参阅
<a name="API_query_MultiMeasureAttributeMapping_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/MultiMeasureAttributeMapping) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/MultiMeasureAttributeMapping) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/MultiMeasureAttributeMapping) 

# MultiMeasureMappings
<a name="API_query_MultiMeasureMappings"></a>

仅提供 MixedMeasureMappings 或 MultiMeasureMappings 之一。MultiMeasureMappings 可用于提取数据作为派生表中的多度量。

## 内容
<a name="API_query_MultiMeasureMappings_Contents"></a>

 ** MultiMeasureAttributeMappings **   <a name="timestream-Type-query_MultiMeasureMappings-MultiMeasureAttributeMappings"></a>
必需。用于将查询结果映射到多度量属性提取数据的属性映射。  
类型：[MultiMeasureAttributeMapping](API_query_MultiMeasureAttributeMapping.md) 对象数组  
数组成员：最少 1 个物品。  
必需：是

 ** TargetMultiMeasureName **   <a name="timestream-Type-query_MultiMeasureMappings-TargetMultiMeasureName"></a>
派生表中目标多度量名称的名称。未提供 measureNameColumn 时需要此输入。如果提供了 MeasureNameColumn，则该列中的值将用作多度量名称。  
类型：字符串  
必需：否

## 另请参阅
<a name="API_query_MultiMeasureMappings_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/MultiMeasureMappings) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/MultiMeasureMappings) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/MultiMeasureMappings) 

# NotificationConfiguration
<a name="API_query_NotificationConfiguration"></a>

计划查询的通知配置。创建计划查询、更新其状态或删除该查询时，Timestream 将发送通知。

## 内容
<a name="API_query_NotificationConfiguration_Contents"></a>

 ** SnsConfiguration **   <a name="timestream-Type-query_NotificationConfiguration-SnsConfiguration"></a>
有关 Amazon Simple Notification Service（SNS）配置的详细信息。仅当更新账户设置时提供 SNS 主题的情况下，此字段才会显示。  
类型：[SnsConfiguration](API_query_SnsConfiguration.md) 对象  
必需：是

## 另请参阅
<a name="API_query_NotificationConfiguration_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/NotificationConfiguration) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/NotificationConfiguration) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/NotificationConfiguration) 

# ParameterMapping
<a name="API_query_ParameterMapping"></a>

命名参数的映射。

## 内容
<a name="API_query_ParameterMapping_Contents"></a>

 ** Name **   <a name="timestream-Type-query_ParameterMapping-Name"></a>
参数名称。  
类型：字符串  
必需：是

 ** Type **   <a name="timestream-Type-query_ParameterMapping-Type"></a>
包含查询结果集中列的数据类型。数据类型可以是标量，也可以是复数。支持的标量数据类型包括整数、布尔值、字符串、双精度、时间戳、日期、时间和间隔。支持的复数数据类型包括数组、行和时间序列。  
类型：[Type](API_query_Type.md) 对象  
必需：是

## 另请参阅
<a name="API_query_ParameterMapping_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/ParameterMapping) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/ParameterMapping) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/ParameterMapping) 

# ProvisionedCapacityRequest
<a name="API_query_ProvisionedCapacityRequest"></a>

用于更新查询数据预置容量设置的请求。

## 内容
<a name="API_query_ProvisionedCapacityRequest_Contents"></a>

 ** TargetQueryTCU **   <a name="timestream-Type-query_ProvisionedCapacityRequest-TargetQueryTCU"></a>
用于查询数据的目标计算能力，以 Timestream 计算单元（TCU）为单位进行指定。  
类型：整数  
必需：是

 ** NotificationConfiguration **   <a name="timestream-Type-query_ProvisionedCapacityRequest-NotificationConfiguration"></a>
已预置容量更新相关通知的配置设置。  
类型：[AccountSettingsNotificationConfiguration](API_query_AccountSettingsNotificationConfiguration.md) 对象  
必需：否

## 另请参阅
<a name="API_query_ProvisionedCapacityRequest_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/ProvisionedCapacityRequest) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/ProvisionedCapacityRequest) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/ProvisionedCapacityRequest) 

# ProvisionedCapacityResponse
<a name="API_query_ProvisionedCapacityResponse"></a>

对更新查询数据预置容量设置请求的响应。

## 内容
<a name="API_query_ProvisionedCapacityResponse_Contents"></a>

 ** ActiveQueryTCU **   <a name="timestream-Type-query_ProvisionedCapacityResponse-ActiveQueryTCU"></a>
账户中预置的 Timestream 计算单位（TCU）数量。仅当计算模式为 `PROVISIONED` 时，此字段才显示。  
类型：整数  
必需：否

 ** LastUpdate **   <a name="timestream-Type-query_ProvisionedCapacityResponse-LastUpdate"></a>
有关预置容量设置上次更新的信息。  
类型：[LastUpdate](API_query_LastUpdate.md) 对象  
必需：否

 ** NotificationConfiguration **   <a name="timestream-Type-query_ProvisionedCapacityResponse-NotificationConfiguration"></a>
包含通知设置的对象，当预置容量设置发生修改时，该对象会发送通知。仅当计算模式为 `PROVISIONED` 时，此字段才显示。  
类型：[AccountSettingsNotificationConfiguration](API_query_AccountSettingsNotificationConfiguration.md) 对象  
必需：否

## 另请参阅
<a name="API_query_ProvisionedCapacityResponse_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/ProvisionedCapacityResponse) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/ProvisionedCapacityResponse) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/ProvisionedCapacityResponse) 

# QueryComputeRequest
<a name="API_query_QueryComputeRequest"></a>

用于检索或更新查询数据计算容量设置的请求。QueryCompute 仅在亚太地区（孟买）区域提供。

## 内容
<a name="API_query_QueryComputeRequest_Contents"></a>

 ** ComputeMode **   <a name="timestream-Type-query_QueryComputeRequest-ComputeMode"></a>
在账户内分配和使用 Timestream 计算单位（TCU）的模式。请注意，在亚太地区（孟买）区域，API 操作仅识别 `PROVISIONED` 值。QueryCompute 仅在亚太地区（孟买）区域提供。  
类型：字符串  
有效值：`ON_DEMAND | PROVISIONED`  
必需：否

 ** ProvisionedCapacity **   <a name="timestream-Type-query_QueryComputeRequest-ProvisionedCapacity"></a>
包含账户中预置 Timestream 计算单位（TCU）设置的配置对象。QueryCompute 仅在亚太地区（孟买）区域提供。  
类型：[ProvisionedCapacityRequest](API_query_ProvisionedCapacityRequest.md) 对象  
必需：否

## 另请参阅
<a name="API_query_QueryComputeRequest_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/QueryComputeRequest) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/QueryComputeRequest) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/QueryComputeRequest) 

# QueryComputeResponse
<a name="API_query_QueryComputeResponse"></a>

对检索或更新计算数据预置容量设置请求的响应。QueryCompute 仅在亚太地区（孟买）区域提供。

## 内容
<a name="API_query_QueryComputeResponse_Contents"></a>

 ** ComputeMode **   <a name="timestream-Type-query_QueryComputeResponse-ComputeMode"></a>
在账户内分配和使用 Timestream 计算单位（TCU）的模式。请注意，在亚太地区（孟买）区域，API 操作仅识别 `PROVISIONED` 值。QueryCompute 仅在亚太地区（孟买）区域提供。  
类型：字符串  
有效值：`ON_DEMAND | PROVISIONED`  
必需：否

 ** ProvisionedCapacity **   <a name="timestream-Type-query_QueryComputeResponse-ProvisionedCapacity"></a>
包含账户中预置 Timestream 计算单位（TCU）设置的配置对象。QueryCompute 仅在亚太地区（孟买）区域提供。  
类型：[ProvisionedCapacityResponse](API_query_ProvisionedCapacityResponse.md) 对象  
必需：否

## 另请参阅
<a name="API_query_QueryComputeResponse_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/QueryComputeResponse) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/QueryComputeResponse) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/QueryComputeResponse) 

# QueryInsights
<a name="API_query_QueryInsights"></a>

 `QueryInsights` 是一项性能调优功能，可帮助优化查询、降低成本以及提升性能。借助 `QueryInsights`，您可以评测查询的修剪效率，确定需要改进的领域，以提升查询性能。借助 `QueryInsights`，您还可以通过时间和空间修剪分析查询的有效性，并确定提升性能的机会。具体而言，您可以评估查询在多大程度上使用基于时间和基于分区键的索引策略以优化数据检索。如需优化查询性能，必须对控制查询执行的时间和空间参数进行微调。

`QueryInsights` 提供的关键指标包括 `QuerySpatialCoverage` 和 `QueryTemporalRange`。`QuerySpatialCoverage` 表示查询扫描的空间轴比例，值越低效率越高。`QueryTemporalRange` 显示扫描的时间范围，范围越窄性能越优。

 **QueryInsights 的优势** 

使用 `QueryInsights` 具有以下主要优势：
+  **识别效率低下的查询**：`QueryInsights` 提供有关对查询所访问表进行基于时间和基于属性的修剪的信息。这些信息有助于您识别访问效率不佳的表。
+  **优化数据模型和分区**：您可以使用 `QueryInsights` 信息访问和微调数据模型和分区策略。
+  **调优查询**：`QueryInsights` 突出显示如何更有效地使用索引。

**注意**  
`QueryInsights` 启用后，允许发出的最大 `Query` API 请求数为每秒 1 次查询（QPS）。如果超过此查询速率，可能会导致节流。

## 内容
<a name="API_query_QueryInsights_Contents"></a>

 ** Mode **   <a name="timestream-Type-query_QueryInsights-Mode"></a>
提供以下模式以启用 `QueryInsights`：  
+  `ENABLED_WITH_RATE_CONTROL`：为正在处理的查询启用 `QueryInsights`。此模式还包括速率控制机制，该机制将 `QueryInsights` 功能限制为每秒 1 次查询（QPS）。
+  `DISABLED`：禁用 `QueryInsights`。
类型：字符串  
有效值：`ENABLED_WITH_RATE_CONTROL | DISABLED`  
必需：是

## 另请参阅
<a name="API_query_QueryInsights_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/QueryInsights) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/QueryInsights) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/QueryInsights) 

# QueryInsightsResponse
<a name="API_query_QueryInsightsResponse"></a>

提供与所执行查询相关的多种见解和指标。

## 内容
<a name="API_query_QueryInsightsResponse_Contents"></a>

 ** OutputBytes **   <a name="timestream-Type-query_QueryInsightsResponse-OutputBytes"></a>
表示查询结果集的大小（以字节为单位）。作为查询调优练习的一部分，您可以使用这些数据验证结果集是否已发生更改。  
类型：长整型  
必需：否

 ** OutputRows **   <a name="timestream-Type-query_QueryInsightsResponse-OutputRows"></a>
表示作为查询结果集一部分返回的总行数。作为查询调优练习的一部分，您可以使用这些数据验证结果集中的行数是否已发生更改。  
类型：长整型  
必需：否

 ** QuerySpatialCoverage **   <a name="timestream-Type-query_QueryInsightsResponse-QuerySpatialCoverage"></a>
提供有关查询空间覆盖范围的见解，包括具有次优（最大）空间修剪的表。这些信息可帮助您识别分区策略中需要改进的领域，从而增强空间剪枝效果。  
类型：[QuerySpatialCoverage](API_query_QuerySpatialCoverage.md) 对象  
必需：否

 ** QueryTableCount **   <a name="timestream-Type-query_QueryInsightsResponse-QueryTableCount"></a>
表示查询中的表数量。  
类型：长整型  
必需：否

 ** QueryTemporalRange **   <a name="timestream-Type-query_QueryInsightsResponse-QueryTemporalRange"></a>
提供有关查询时间范围的见解，包括具有最长（最大）时间范围的表。以下是一些可行方案，用于优化基于时间的修剪：  
+ 添加缺失的时间谓词。
+ 移除时间谓词周围的函数。
+ 向所有子查询添加时间谓词。
类型：[QueryTemporalRange](API_query_QueryTemporalRange.md) 对象  
必需：否

 ** UnloadPartitionCount **   <a name="timestream-Type-query_QueryInsightsResponse-UnloadPartitionCount"></a>
表示 `Unload` 操作创建的分区。  
类型：长整型  
必需：否

 ** UnloadWrittenBytes **   <a name="timestream-Type-query_QueryInsightsResponse-UnloadWrittenBytes"></a>
表示 `Unload` 操作写入的大小（以字节为单位）。  
类型：长整型  
必需：否

 ** UnloadWrittenRows **   <a name="timestream-Type-query_QueryInsightsResponse-UnloadWrittenRows"></a>
表示 `Unload` 查询写入的行。  
类型：长整型  
必需：否

## 另请参阅
<a name="API_query_QueryInsightsResponse_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/QueryInsightsResponse) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/QueryInsightsResponse) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/QueryInsightsResponse) 

# QuerySpatialCoverage
<a name="API_query_QuerySpatialCoverage"></a>

提供有关查询空间覆盖范围的见解，包括具有次优（最大）空间修剪的表。这些信息可帮助您识别分区策略中需要改进的领域，从而增强空间剪枝效果

例如，可使用 `QuerySpatialCoverage` 信息执行以下操作：
+ 添加 measure\$1name 或使用[客户定义的分区键](https://docs.aws.amazon.com/timestream/latest/developerguide/customer-defined-partition-keys.html)（CDPK）谓词。
+ 如果已完成上述操作，请移除谓词或子句周围的函数，例如 `LIKE`。

## 内容
<a name="API_query_QuerySpatialCoverage_Contents"></a>

 ** Max **   <a name="timestream-Type-query_QuerySpatialCoverage-Max"></a>
提供有关已执行查询空间覆盖范围以及空间修剪效率最低的表的见解。  
+  `Value`：空间覆盖的最大比率。
+  `TableArn`：具有次优空间修剪的表的 Amazon 资源名称（ARN）。
+  `PartitionKey`：用于分区的分区键，可以是默认 `measure_name`，也可以是 CDPK。
类型：[QuerySpatialCoverageMax](API_query_QuerySpatialCoverageMax.md) 对象  
必需：否

## 另请参阅
<a name="API_query_QuerySpatialCoverage_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/QuerySpatialCoverage) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/QuerySpatialCoverage) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/QuerySpatialCoverage) 

# QuerySpatialCoverageMax
<a name="API_query_QuerySpatialCoverageMax"></a>

通过查询扫描到的最次优空间范围，提供对表的见解。

## 内容
<a name="API_query_QuerySpatialCoverageMax_Contents"></a>

 ** PartitionKey **   <a name="timestream-Type-query_QuerySpatialCoverageMax-PartitionKey"></a>
用于分区的分区键，可以是默认 `measure_name`，也可以是[客户定义的分区键](https://docs.aws.amazon.com/timestream/latest/developerguide/customer-defined-partition-keys.html)。  
类型：字符串数组  
必需：否

 ** TableArn **   <a name="timestream-Type-query_QuerySpatialCoverageMax-TableArn"></a>
具有最次优空间修剪的表的 Amazon 资源名称（ARN）。  
类型：字符串  
长度限制：最小长度为 0。最大长度为 2048。  
必需：否

 ** Value **   <a name="timestream-Type-query_QuerySpatialCoverageMax-Value"></a>
空间覆盖的最大比率。  
类型：双精度  
必需：否

## 另请参阅
<a name="API_query_QuerySpatialCoverageMax_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/QuerySpatialCoverageMax) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/QuerySpatialCoverageMax) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/QuerySpatialCoverageMax) 

# QueryStatus
<a name="API_query_QueryStatus"></a>

有关查询状态的信息，包括进度和已扫描的字节数。

## 内容
<a name="API_query_QueryStatus_Contents"></a>

 ** CumulativeBytesMetered **   <a name="timestream-Type-query_QueryStatus-CumulativeBytesMetered"></a>
查询已扫描的数据量（以字节为单位），您将为此支付费用。这是累积总和，表示自查询开始以来您需要支付费用的总数据量。该费用仅收取一次，在查询完成运行时或者在查询被取消时收取。  
类型：长整型  
必需：否

 ** CumulativeBytesScanned **   <a name="timestream-Type-query_QueryStatus-CumulativeBytesScanned"></a>
查询已扫描的数据量（以字节为单位）。这是累积总和，表示自查询开始以来扫描的总字节数。  
类型：长整型  
必需：否

 ** ProgressPercentage **   <a name="timestream-Type-query_QueryStatus-ProgressPercentage"></a>
查询进度，以百分比表示。  
类型：双精度  
必需：否

## 另请参阅
<a name="API_query_QueryStatus_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/QueryStatus) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/QueryStatus) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/QueryStatus) 

# QueryTemporalRange
<a name="API_query_QueryTemporalRange"></a>

提供有关查询时间范围的见解，包括具有最长（最大）时间范围的表。

## 内容
<a name="API_query_QueryTemporalRange_Contents"></a>

 ** Max **   <a name="timestream-Type-query_QueryTemporalRange-Max"></a>
封装以下属性，这些属性可深入了解时间轴上表现最差的表：  
+  `Value`：查询开始和结束之间的最大持续时长（以纳秒为单位）。
+  `TableArn`：查询时使用最大时间范围的表的 Amazon 资源名称（ARN）。
类型：[QueryTemporalRangeMax](API_query_QueryTemporalRangeMax.md) 对象  
必需：否

## 另请参阅
<a name="API_query_QueryTemporalRange_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/QueryTemporalRange) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/QueryTemporalRange) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/QueryTemporalRange) 

# QueryTemporalRangeMax
<a name="API_query_QueryTemporalRangeMax"></a>

通过查询扫描到的最次优时间修剪，提供对表的见解。

## 内容
<a name="API_query_QueryTemporalRangeMax_Contents"></a>

 ** TableArn **   <a name="timestream-Type-query_QueryTemporalRangeMax-TableArn"></a>
查询时使用最大时间范围的表的 Amazon 资源名称（ARN）。  
类型：字符串  
长度限制：最小长度为 0。最大长度为 2048。  
必需：否

 ** Value **   <a name="timestream-Type-query_QueryTemporalRangeMax-Value"></a>
查询开始和结束之间的最大持续时长（以纳秒为单位）。  
类型：长整型  
必需：否

## 另请参阅
<a name="API_query_QueryTemporalRangeMax_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/QueryTemporalRangeMax) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/QueryTemporalRangeMax) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/QueryTemporalRangeMax) 

# Row
<a name="API_query_Row"></a>

代表查询结果中的一行。

## 内容
<a name="API_query_Row_Contents"></a>

 ** Data **   <a name="timestream-Type-query_Row-Data"></a>
结果集单行中的数据点列表。  
类型：[Datum](API_query_Datum.md) 对象数组  
必需：是

## 另请参阅
<a name="API_query_Row_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/Row) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/Row) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/Row) 

# S3Configuration
<a name="API_query_S3Configuration"></a>

有关运行查询导致的错误报告的 S3 位置的详细信息。

## 内容
<a name="API_query_S3Configuration_Contents"></a>

 ** BucketName **   <a name="timestream-Type-query_S3Configuration-BucketName"></a>
 将在其下创建错误报告的 S3 桶的名称。  
类型：字符串  
长度约束：最小长度为 3。最大长度为 63。  
模式：`[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]`  
必需：是

 ** EncryptionOption **   <a name="timestream-Type-query_S3Configuration-EncryptionOption"></a>
 错误报告的静态加密选项。如果未指定加密选项，Timestream 将选择 SSE\$1S3 作为默认值。  
类型：字符串  
有效值：`SSE_S3 | SSE_KMS`  
必需：否

 ** ObjectKeyPrefix **   <a name="timestream-Type-query_S3Configuration-ObjectKeyPrefix"></a>
 错误报告密钥的前缀。默认情况下，Timestream 将在错误报告路径中添加以下前缀。  
类型：字符串  
长度限制：长度下限为 1。最大长度为 896。  
模式：`[a-zA-Z0-9|!\-_*'\(\)]([a-zA-Z0-9]|[!\-_*'\(\)\/.])+`  
必需：否

## 另请参阅
<a name="API_query_S3Configuration_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/S3Configuration) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/S3Configuration) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/S3Configuration) 

# S3ReportLocation
<a name="API_query_S3ReportLocation"></a>

 用于运行计划查询的 S3 报告位置。

## 内容
<a name="API_query_S3ReportLocation_Contents"></a>

 ** BucketName **   <a name="timestream-Type-query_S3ReportLocation-BucketName"></a>
 S3 桶名称。  
类型：字符串  
长度约束：最小长度为 3。最大长度为 63。  
模式：`[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]`  
必需：否

 ** ObjectKey **   <a name="timestream-Type-query_S3ReportLocation-ObjectKey"></a>
S3 密钥。  
类型：字符串  
必需：否

## 另请参阅
<a name="API_query_S3ReportLocation_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/S3ReportLocation) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/S3ReportLocation) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/S3ReportLocation) 

# ScheduleConfiguration
<a name="API_query_ScheduleConfiguration"></a>

查询计划的配置。

## 内容
<a name="API_query_ScheduleConfiguration_Contents"></a>

 ** ScheduleExpression **   <a name="timestream-Type-query_ScheduleConfiguration-ScheduleExpression"></a>
表示何时触发计划查询运行的表达式。此项可以是 cron 表达式或 rate 表达式。  
类型：字符串  
长度限制：最小长度为 1。最大长度为 256。  
必需：是

## 另请参阅
<a name="API_query_ScheduleConfiguration_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/ScheduleConfiguration) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/ScheduleConfiguration) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/ScheduleConfiguration) 

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

计划查询

## 内容
<a name="API_query_ScheduledQuery_Contents"></a>

 ** Arn **   <a name="timestream-Type-query_ScheduledQuery-Arn"></a>
Amazon 资源名称（ARN）。  
类型：字符串  
长度限制：最小长度为 0。最大长度为 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>
计划查询的创建时间。  
类型：时间戳  
必需：否

 ** 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>
计划查询下次运行的时间。  
类型：时间戳  
必需：否

 ** PreviousInvocationTime **   <a name="timestream-Type-query_ScheduledQuery-PreviousInvocationTime"></a>
计划查询上次运行的时间。  
类型：时间戳  
必需：否

 ** TargetDestination **   <a name="timestream-Type-query_ScheduledQuery-TargetDestination"></a>
最终写入计划查询结果的目标数据来源。  
类型：[TargetDestination](API_query_TargetDestination.md) 对象  
必需：否

## 另请参阅
<a name="API_query_ScheduledQuery_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/ScheduledQuery) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/ScheduledQuery) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/ScheduledQuery) 

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

描述计划查询的结构。

## 内容
<a name="API_query_ScheduledQueryDescription_Contents"></a>

 ** Arn **   <a name="timestream-Type-query_ScheduledQueryDescription-Arn"></a>
计划查询 ARN。  
类型：字符串  
长度限制：最小长度为 0。最大长度为 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>
计划查询的创建时间。  
类型：时间戳  
必需：否

 ** ErrorReportConfiguration **   <a name="timestream-Type-query_ScheduledQueryDescription-ErrorReportConfiguration"></a>
计划查询的错误报告配置。  
类型：[ErrorReportConfiguration](API_query_ErrorReportConfiguration.md) 对象  
必需：否

 ** KmsKeyId **   <a name="timestream-Type-query_ScheduledQueryDescription-KmsKeyId"></a>
客户提供的 KMS 密钥，用于加密计划查询资源。  
类型：字符串  
长度限制：最小长度为 0。最大长度为 2048。  
必需：否

 ** LastRunSummary **   <a name="timestream-Type-query_ScheduledQueryDescription-LastRunSummary"></a>
上次计划查询运行的运行时摘要。  
类型：[ScheduledQueryRunSummary](API_query_ScheduledQueryRunSummary.md) 对象  
必需：否

 ** NextInvocationTime **   <a name="timestream-Type-query_ScheduledQueryDescription-NextInvocationTime"></a>
计划查询下次计划运行的时间。  
类型：时间戳  
必需：否

 ** PreviousInvocationTime **   <a name="timestream-Type-query_ScheduledQueryDescription-PreviousInvocationTime"></a>
查询上次运行的时间。  
类型：时间戳  
必需：否

 ** 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 角色。  
类型：字符串  
长度限制：最小长度为 0。最大长度为 2048。  
必需：否

 ** TargetConfiguration **   <a name="timestream-Type-query_ScheduledQueryDescription-TargetConfiguration"></a>
计划查询目标存储配置。  
类型：[TargetConfiguration](API_query_TargetConfiguration.md) 对象  
必需：否

## 另请参阅
<a name="API_query_ScheduledQueryDescription_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/ScheduledQueryDescription) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/ScheduledQueryDescription) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/ScheduledQueryDescription) 

# ScheduledQueryInsights
<a name="API_query_ScheduledQueryInsights"></a>

封装用于在 `ExecuteScheduledQueryRequest` 上启用 `QueryInsights` 的设置。

## 内容
<a name="API_query_ScheduledQueryInsights_Contents"></a>

 ** Mode **   <a name="timestream-Type-query_ScheduledQueryInsights-Mode"></a>
提供以下模式以启用 `ScheduledQueryInsights`：  
+  `ENABLED_WITH_RATE_CONTROL`：为正在处理的查询启用 `ScheduledQueryInsights`。此模式还包括速率控制机制，该机制将 `QueryInsights` 功能限制为每秒 1 次查询（QPS）。
+  `DISABLED`：禁用 `ScheduledQueryInsights`。
类型：字符串  
有效值：`ENABLED_WITH_RATE_CONTROL | DISABLED`  
必需：是

## 另请参阅
<a name="API_query_ScheduledQueryInsights_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/ScheduledQueryInsights) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/ScheduledQueryInsights) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/ScheduledQueryInsights) 

# ScheduledQueryInsightsResponse
<a name="API_query_ScheduledQueryInsightsResponse"></a>

提供与已执行 `ExecuteScheduledQueryRequest` 相关的多种见解和指标。

## 内容
<a name="API_query_ScheduledQueryInsightsResponse_Contents"></a>

 ** OutputBytes **   <a name="timestream-Type-query_ScheduledQueryInsightsResponse-OutputBytes"></a>
表示查询结果集的大小（以字节为单位）。作为查询调优练习的一部分，您可以使用这些数据验证结果集是否已发生更改。  
类型：长整型  
必需：否

 ** OutputRows **   <a name="timestream-Type-query_ScheduledQueryInsightsResponse-OutputRows"></a>
表示作为查询结果集一部分返回的总行数。作为查询调优练习的一部分，您可以使用这些数据验证结果集中的行数是否已发生更改。  
类型：长整型  
必需：否

 ** QuerySpatialCoverage **   <a name="timestream-Type-query_ScheduledQueryInsightsResponse-QuerySpatialCoverage"></a>
提供有关查询空间覆盖范围的见解，包括具有次优（最大）空间修剪的表。这些信息可帮助您识别分区策略中需要改进的领域，从而增强空间剪枝效果。  
类型：[QuerySpatialCoverage](API_query_QuerySpatialCoverage.md) 对象  
必需：否

 ** QueryTableCount **   <a name="timestream-Type-query_ScheduledQueryInsightsResponse-QueryTableCount"></a>
表示查询中的表数量。  
类型：长整型  
必需：否

 ** QueryTemporalRange **   <a name="timestream-Type-query_ScheduledQueryInsightsResponse-QueryTemporalRange"></a>
提供有关查询时间范围的见解，包括具有最长（最大）时间范围的表。以下是一些可行方案，用于优化基于时间的修剪：  
+ 添加缺失的时间谓词。
+ 移除时间谓词周围的函数。
+ 向所有子查询添加时间谓词。
类型：[QueryTemporalRange](API_query_QueryTemporalRange.md) 对象  
必需：否

## 另请参阅
<a name="API_query_ScheduledQueryInsightsResponse_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/ScheduledQueryInsightsResponse) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/ScheduledQueryInsightsResponse) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/ScheduledQueryInsightsResponse) 

# ScheduledQueryRunSummary
<a name="API_query_ScheduledQueryRunSummary"></a>

计划查询的运行摘要

## 内容
<a name="API_query_ScheduledQueryRunSummary_Contents"></a>

 ** ErrorReportLocation **   <a name="timestream-Type-query_ScheduledQueryRunSummary-ErrorReportLocation"></a>
错误报告的 S3 位置。  
类型：[ErrorReportLocation](API_query_ErrorReportLocation.md) 对象  
必需：否

 ** ExecutionStats **   <a name="timestream-Type-query_ScheduledQueryRunSummary-ExecutionStats"></a>
计划运行的运行时统计信息。  
类型：[ExecutionStats](API_query_ExecutionStats.md) 对象  
必需：否

 ** FailureReason **   <a name="timestream-Type-query_ScheduledQueryRunSummary-FailureReason"></a>
计划查询失败时的错误消息。您可能需要查看错误报告以获取更详细的错误原因。  
类型：字符串  
必需：否

 ** InvocationTime **   <a name="timestream-Type-query_ScheduledQueryRunSummary-InvocationTime"></a>
此次运行的 InvocationTime。这是查询计划运行的时间。可在查询中使用参数 `@scheduled_runtime` 以获取值。  
类型：时间戳  
必需：否

 ** QueryInsightsResponse **   <a name="timestream-Type-query_ScheduledQueryRunSummary-QueryInsightsResponse"></a>
提供与计划查询运行摘要相关的多种见解和指标。  
类型：[ScheduledQueryInsightsResponse](API_query_ScheduledQueryInsightsResponse.md) 对象  
必需：否

 ** RunStatus **   <a name="timestream-Type-query_ScheduledQueryRunSummary-RunStatus"></a>
计划查询运行的状态。  
类型：字符串  
有效值：`AUTO_TRIGGER_SUCCESS | AUTO_TRIGGER_FAILURE | MANUAL_TRIGGER_SUCCESS | MANUAL_TRIGGER_FAILURE`  
必需：否

 ** TriggerTime **   <a name="timestream-Type-query_ScheduledQueryRunSummary-TriggerTime"></a>
查询运行的实际时间。  
类型：时间戳  
必需：否

## 另请参阅
<a name="API_query_ScheduledQueryRunSummary_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/ScheduledQueryRunSummary) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/ScheduledQueryRunSummary) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/ScheduledQueryRunSummary) 

# SelectColumn
<a name="API_query_SelectColumn"></a>

查询返回的列详细信息。

## 内容
<a name="API_query_SelectColumn_Contents"></a>

 ** Aliased **   <a name="timestream-Type-query_SelectColumn-Aliased"></a>
如果查询给列名添加别名，则返回 true。否则返回 false。  
类型：布尔值  
必需：否

 ** DatabaseName **   <a name="timestream-Type-query_SelectColumn-DatabaseName"></a>
 包含此列的数据库。  
类型：字符串  
必需：否

 ** Name **   <a name="timestream-Type-query_SelectColumn-Name"></a>
列的名称。  
类型：字符串  
必需：否

 ** TableName **   <a name="timestream-Type-query_SelectColumn-TableName"></a>
数据库中包含此列的表。  
类型：字符串  
必需：否

 ** Type **   <a name="timestream-Type-query_SelectColumn-Type"></a>
包含查询结果集中列的数据类型。数据类型可以是标量，也可以是复数。支持的标量数据类型包括整数、布尔值、字符串、双精度、时间戳、日期、时间和间隔。支持的复数数据类型包括数组、行和时间序列。  
类型：[Type](API_query_Type.md) 对象  
必需：否

## 另请参阅
<a name="API_query_SelectColumn_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/SelectColumn) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/SelectColumn) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/SelectColumn) 

# SnsConfiguration
<a name="API_query_SnsConfiguration"></a>

发送通知所需的 SNS 的详细信息。

## 内容
<a name="API_query_SnsConfiguration_Contents"></a>

 ** TopicArn **   <a name="timestream-Type-query_SnsConfiguration-TopicArn"></a>
计划查询状态通知将发送到的 SNS 主题 ARN。  
类型：字符串  
长度限制：最小长度为 0。最大长度为 2048。  
必需：是

## 另请参阅
<a name="API_query_SnsConfiguration_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/SnsConfiguration) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/SnsConfiguration) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/SnsConfiguration) 

# Tag
<a name="API_query_Tag"></a>

标签是指为 Timestream 数据库和/或表分配的标识。每个标签都包含定义的一个键和一个可选值。标签允许按用途、所有者或环境等对数据库和/或表进行分类。

## 内容
<a name="API_query_Tag_Contents"></a>

 ** Key **   <a name="timestream-Type-query_Tag-Key"></a>
标签的密钥。标签键区分大小写。  
类型：字符串  
长度限制：长度下限为 1。最大长度为 128。  
必需：是

 ** Value **   <a name="timestream-Type-query_Tag-Value"></a>
标签的值。标签值区分大小写，可以为空值。  
类型：字符串  
长度约束：最小长度为 0。最大长度为 256。  
必需：是

## 另请参阅
<a name="API_query_Tag_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/Tag) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/Tag) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/Tag) 

# TargetConfiguration
<a name="API_query_TargetConfiguration"></a>

用于写入查询输出的配置。

## 内容
<a name="API_query_TargetConfiguration_Contents"></a>

 ** TimestreamConfiguration **   <a name="timestream-Type-query_TargetConfiguration-TimestreamConfiguration"></a>
将数据写入 Timestream 数据库和表所需的配置。  
类型：[TimestreamConfiguration](API_query_TimestreamConfiguration.md) 对象  
必需：是

## 另请参阅
<a name="API_query_TargetConfiguration_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/TargetConfiguration) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/TargetConfiguration) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/TargetConfiguration) 

# TargetDestination
<a name="API_query_TargetDestination"></a>

为目标数据来源写入数据的目标详细信息。当前支持的数据来源为 Timestream。

## 内容
<a name="API_query_TargetDestination_Contents"></a>

 ** TimestreamDestination **   <a name="timestream-Type-query_TargetDestination-TimestreamDestination"></a>
Timestream 数据来源的查询结果目标详细信息。  
类型：[TimestreamDestination](API_query_TimestreamDestination.md) 对象  
必需：否

## 另请参阅
<a name="API_query_TargetDestination_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/TargetDestination) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/TargetDestination) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/TargetDestination) 

# TimeSeriesDataPoint
<a name="API_query_TimeSeriesDataPoint"></a>

时间序列数据类型表示一段时间内的度量值。时间序列是由时间戳和度量值组成的行数组，其中各行按时间升序进行排列。TimeSeriesDataPoint 是时间序列中的单个数据点。表示时间序列中的元组（时间，度量值）。

## 内容
<a name="API_query_TimeSeriesDataPoint_Contents"></a>

 ** Time **   <a name="timestream-Type-query_TimeSeriesDataPoint-Time"></a>
采集度量值的时间戳。  
类型：字符串  
必需：是

 ** Value **   <a name="timestream-Type-query_TimeSeriesDataPoint-Value"></a>
数据点的度量值。  
类型：[Datum](API_query_Datum.md) 对象  
必需：是

## 另请参阅
<a name="API_query_TimeSeriesDataPoint_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/TimeSeriesDataPoint) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/TimeSeriesDataPoint) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/TimeSeriesDataPoint) 

# TimestreamConfiguration
<a name="API_query_TimestreamConfiguration"></a>

 将数据写入 Timestream 数据库和表的配置。此配置允许用户将查询结果选择列映射到目标表列。

## 内容
<a name="API_query_TimestreamConfiguration_Contents"></a>

 ** DatabaseName **   <a name="timestream-Type-query_TimestreamConfiguration-DatabaseName"></a>
将写入查询结果的 Timestream 数据库的名称。  
类型：字符串  
必需：是

 ** DimensionMappings **   <a name="timestream-Type-query_TimestreamConfiguration-DimensionMappings"></a>
 此项允许将查询结果中的列映射到目标表中的维度。  
类型：[DimensionMapping](API_query_DimensionMapping.md) 对象数组  
必需：是

 ** TableName **   <a name="timestream-Type-query_TimestreamConfiguration-TableName"></a>
将写入查询结果的 Timestream 表的名称。该表应位于 Timestream 配置中提供的同一数据库。  
类型：字符串  
必需：是

 ** TimeColumn **   <a name="timestream-Type-query_TimestreamConfiguration-TimeColumn"></a>
查询结果中的列，应用作目标表中的时间列。此项的列类型应为 TIMESTAMP。  
类型：字符串  
必需：是

 ** MeasureNameColumn **   <a name="timestream-Type-query_TimestreamConfiguration-MeasureNameColumn"></a>
度量列的名称。  
类型：字符串  
必需：否

 ** MixedMeasureMappings **   <a name="timestream-Type-query_TimestreamConfiguration-MixedMeasureMappings"></a>
指定如何将度量映射到多度量记录。  
类型：[MixedMeasureMapping](API_query_MixedMeasureMapping.md) 对象数组  
数组成员：最少 1 个物品。  
必需：否

 ** MultiMeasureMappings **   <a name="timestream-Type-query_TimestreamConfiguration-MultiMeasureMappings"></a>
多度量映射。  
类型：[MultiMeasureMappings](API_query_MultiMeasureMappings.md) 对象  
必需：否

## 另请参阅
<a name="API_query_TimestreamConfiguration_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/TimestreamConfiguration) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/TimestreamConfiguration) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/TimestreamConfiguration) 

# TimestreamDestination
<a name="API_query_TimestreamDestination"></a>

计划查询的目标。

## 内容
<a name="API_query_TimestreamDestination_Contents"></a>

 ** DatabaseName **   <a name="timestream-Type-query_TimestreamDestination-DatabaseName"></a>
Timestream 数据库名称。  
类型：字符串  
必需：否

 ** TableName **   <a name="timestream-Type-query_TimestreamDestination-TableName"></a>
Timestream 表名称。  
类型：字符串  
必需：否

## 另请参阅
<a name="API_query_TimestreamDestination_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/TimestreamDestination) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/TimestreamDestination) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/TimestreamDestination) 

# Type
<a name="API_query_Type"></a>

包含查询结果集中列的数据类型。数据类型可以是标量，也可以是复数。支持的标量数据类型包括整数、布尔值、字符串、双精度、时间戳、日期、时间和间隔。支持的复数数据类型包括数组、行和时间序列。

## 内容
<a name="API_query_Type_Contents"></a>

 ** ArrayColumnInfo **   <a name="timestream-Type-query_Type-ArrayColumnInfo"></a>
指示列是否为数组。  
类型：[ColumnInfo](API_query_ColumnInfo.md) 对象  
必需：否

 ** RowColumnInfo **   <a name="timestream-Type-query_Type-RowColumnInfo"></a>
指示列是否为行。  
类型：[ColumnInfo](API_query_ColumnInfo.md) 对象数组  
必需：否

 ** ScalarType **   <a name="timestream-Type-query_Type-ScalarType"></a>
指示列的类型是否为字符串、整数、布尔值、双精度、时间戳、日期、时间。有关更多信息，请参阅[支持的数据类型](https://docs.aws.amazon.com/timestream/latest/developerguide/supported-data-types.html)。  
类型：字符串  
有效值：`VARCHAR | BOOLEAN | BIGINT | DOUBLE | TIMESTAMP | DATE | TIME | INTERVAL_DAY_TO_SECOND | INTERVAL_YEAR_TO_MONTH | UNKNOWN | INTEGER`  
必需：否

 ** TimeSeriesMeasureValueColumnInfo **   <a name="timestream-Type-query_Type-TimeSeriesMeasureValueColumnInfo"></a>
指示列是否为时间序列数据类型。  
类型：[ColumnInfo](API_query_ColumnInfo.md) 对象  
必需：否

## 另请参阅
<a name="API_query_Type_SeeAlso"></a>

有关在特定语言的 AWS SDK 中使用此 API 的更多信息，请参阅以下内容：
+  [适用于 C\$1\$1 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForCpp/timestream-query-2018-11-01/Type) 
+  [适用于 Java V2 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/timestream-query-2018-11-01/Type) 
+  [适用于 Ruby V3 的 AWS SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/timestream-query-2018-11-01/Type) 