Module Awso_timestream_query.ValuesSource

Sourceval service : Awso.Service.t
Sourceval apiVersion : string
Sourceval endpointPrefix : string
Sourceval serviceFullName : string
Sourceval signatureVersion : string
Sourceval protocol : string
Sourceval globalEndpoint : string
Sourceval serviceAbbreviation : string
Sourceval targetPrefix : string
Sourceval simple_to_json : ('a -> Awso__Botodata.value) -> 'a -> Yojson.Safe.t
Sourceval composed_to_json : ('a -> Awso__Botodata.value) -> 'a -> Yojson.Safe.t
Sourceval to_query : ('a -> Awso.Client.Query.value) -> 'a -> Awso.Client.Query.t
Sourceval structure_to_value_aux : ('a * 'b option) list -> f:(('a * 'b) list -> 'c) -> [> `Structure of 'c ]
Sourceval structure_to_value : ('a * 'b option) list -> [> `Structure of ('a * 'b) list ]
Sourceval structure_to_wrapped_value : wrapper:'a -> response:'a -> ('b * 'c option) list -> [> `Structure of ('a * [> `Structure of ('b * 'c) list ]) list ]
Sourcemodule ServiceErrorMessage : sig ... end
Sourcemodule AccessDeniedException : sig ... end

You do not have the necessary permissions to access the account settings.

Sourcemodule AmazonResourceName : sig ... end
Sourcemodule SnsConfiguration : sig ... end

Details on SNS that are required to send the notification.

Configuration settings for notifications related to account settings.

Sourcemodule QueryId : sig ... end
Sourcemodule CancelQueryRequest : sig ... end

Cancels a query that has been issued. Cancellation is provided only if the query has not completed running before the cancellation request was issued. Because cancellation is an idempotent operation, subsequent cancellation requests will return a CancellationMessage, indicating that the query has already been canceled. See code sample for details.

Sourcemodule ErrorMessage : sig ... end
Sourcemodule ValidationException : sig ... end

Invalid or malformed request.

Sourcemodule ThrottlingException : sig ... end

The request was throttled due to excessive requests.

Sourcemodule String_ : sig ... end
Sourcemodule InvalidEndpointException : sig ... end

The requested endpoint is invalid.

Sourcemodule InternalServerException : sig ... end

An internal server error occurred while processing the request.

Sourcemodule CancelQueryResponse : sig ... end

Cancels a query that has been issued. Cancellation is provided only if the query has not completed running before the cancellation request was issued. Because cancellation is an idempotent operation, subsequent cancellation requests will return a CancellationMessage, indicating that the query has already been canceled. See code sample for details.

Sourcemodule ClientRequestToken : sig ... end
Sourcemodule ClientToken : sig ... end
Sourcemodule ScalarType : sig ... end
module ColumnInfo : sig ... end

Contains the metadata for query results such as the column names, data types, and other attributes.

module ColumnInfoList : sig ... end
module Type : sig ... end

Contains the data type of a column in a query result set. The data type can be scalar or complex. The supported scalar data types are integers, Boolean, string, double, timestamp, date, time, and intervals. The supported complex data types are arrays, rows, and timeseries.

Sourcemodule ComputeMode : sig ... end
Sourcemodule ConflictException : sig ... end

Unable to poll results for a cancelled query.

Sourcemodule SchemaName : sig ... end
Sourcemodule ResourceName : sig ... end
Sourcemodule ScalarMeasureValueType : sig ... end

Attribute mapping for MULTI value measures.

Sourcemodule MultiMeasureMappings : sig ... end

Only one of MixedMeasureMappings or MultiMeasureMappings is to be provided. MultiMeasureMappings can be used to ingest data as multi measures in the derived table.

Sourcemodule MeasureValueType : sig ... end
Sourcemodule MixedMeasureMapping : sig ... end

MixedMeasureMappings are mappings that can be used to ingest data into a mixture of narrow and multi measures in the derived table.

Sourcemodule MixedMeasureMappingList : sig ... end
Sourcemodule DimensionValueType : sig ... end
Sourcemodule DimensionMapping : sig ... end

This type is used to map column(s) from the query result to a dimension in the destination table.

Sourcemodule DimensionMappingList : sig ... end
Sourcemodule TimestreamConfiguration : sig ... end

Configuration to write data into Timestream database and table. This configuration allows the user to map the query result select columns into the destination table columns.

Sourcemodule TargetConfiguration : sig ... end

Configuration used for writing the output of a query.

Sourcemodule TagValue : sig ... end
Sourcemodule TagKey : sig ... end
Sourcemodule Tag : sig ... end

A tag is a label that you assign to a Timestream database and/or table. Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize databases and/or tables, for example, by purpose, owner, or environment.

Sourcemodule TagList : sig ... end
Sourcemodule StringValue2048 : sig ... end
Sourcemodule ScheduledQueryName : sig ... end
Sourcemodule ScheduleExpression : sig ... end
Sourcemodule ScheduleConfiguration : sig ... end

Configuration of the schedule of the query.

Sourcemodule QueryString : sig ... end
Sourcemodule NotificationConfiguration : sig ... end

Notification configuration for a scheduled query. A notification is sent by Timestream when a scheduled query is created, its state is updated or when it is deleted.

Sourcemodule S3ObjectKeyPrefix : sig ... end
Sourcemodule S3EncryptionOption : sig ... end
Sourcemodule S3BucketName : sig ... end
Sourcemodule S3Configuration : sig ... end

Details on S3 location for error reports that result from running a query.

Sourcemodule ErrorReportConfiguration : sig ... end

Configuration required for error reporting.

Create a scheduled query that will be run on your behalf at the configured schedule. Timestream assumes the execution role provided as part of the ScheduledQueryExecutionRoleArn parameter to run the query. You can use the NotificationConfiguration parameter to configure notification for your scheduled query operations.

You have exceeded the service quota.

Create a scheduled query that will be run on your behalf at the configured schedule. Timestream assumes the execution role provided as part of the ScheduledQueryExecutionRoleArn parameter to run the query. You can use the NotificationConfiguration parameter to configure notification for your scheduled query operations.

Sourcemodule Timestamp : sig ... end
Sourcemodule ScalarValue : sig ... end
Sourcemodule NullableBoolean : sig ... end
module Datum : sig ... end

Datum represents a single data point in a query result.

module DatumList : sig ... end
module Row : sig ... end

Represents a single row in the query results.

module TimeSeriesDataPoint : sig ... end

The timeseries data type represents the values of a measure over time. A time series is an array of rows of timestamps and measure values, with rows sorted in ascending order of time. A TimeSeriesDataPoint is a single data point in the time series. It represents a tuple of (time, measure value) in a time series.

module TimeSeriesDataPointList : sig ... end

Deletes a given scheduled query. This is an irreversible operation.

Describes the settings for your account that include the query pricing model and the configured maximum TCUs the service can use for your query workload. You're charged only for the duration of compute units used for your workloads.

Sourcemodule QueryPricingModel : sig ... end
Sourcemodule QueryTCU : sig ... end
Sourcemodule LastUpdateStatus : sig ... end
Sourcemodule LastUpdate : sig ... end

Configuration object that contains the most recent account settings update, visible only if settings have been updated previously.

The response to a request to update the provisioned capacity settings for querying data.

Sourcemodule QueryComputeResponse : sig ... end

The response to a request to retrieve or update the compute capacity settings for querying data.

Sourcemodule MaxQueryCapacity : sig ... end

Describes the settings for your account that include the query pricing model and the configured maximum TCUs the service can use for your query workload. You're charged only for the duration of compute units used for your workloads.

Sourcemodule DescribeEndpointsRequest : sig ... end

DescribeEndpoints returns a list of available endpoints to make Timestream API calls against. This API is available through both Write and Query. Because the Timestream SDKs are designed to transparently work with the service’s architecture, including the management and mapping of the service endpoints, it is not recommended that you use this API unless: You are using VPC endpoints (Amazon Web Services PrivateLink) with Timestream Your application uses a programming language that does not yet have SDK support You require better control over the client-side implementation For detailed information on how and when to use and implement DescribeEndpoints, see The Endpoint Discovery Pattern.

Sourcemodule Long : sig ... end
Sourcemodule Endpoint : sig ... end

Represents an available endpoint against which to make API calls against, as well as the TTL for that endpoint.

Sourcemodule Endpoints : sig ... end
Sourcemodule DescribeEndpointsResponse : sig ... end

DescribeEndpoints returns a list of available endpoints to make Timestream API calls against. This API is available through both Write and Query. Because the Timestream SDKs are designed to transparently work with the service’s architecture, including the management and mapping of the service endpoints, it is not recommended that you use this API unless: You are using VPC endpoints (Amazon Web Services PrivateLink) with Timestream Your application uses a programming language that does not yet have SDK support You require better control over the client-side implementation For detailed information on how and when to use and implement DescribeEndpoints, see The Endpoint Discovery Pattern.

Provides detailed information about a scheduled query.

Sourcemodule Time : sig ... end
Sourcemodule ScheduledQueryState : sig ... end
Sourcemodule ScheduledQueryRunStatus : sig ... end
Sourcemodule QueryTemporalRangeMax : sig ... end

Provides insights into the table with the most sub-optimal temporal pruning scanned by your query.

Sourcemodule QueryTemporalRange : sig ... end

Provides insights into the temporal range of the query, including the table with the largest (max) time range.

Sourcemodule PartitionKey : sig ... end
Sourcemodule PartitionKeyList : sig ... end
Sourcemodule Double : sig ... end
Sourcemodule QuerySpatialCoverageMax : sig ... end

Provides insights into the table with the most sub-optimal spatial range scanned by your query.

Sourcemodule QuerySpatialCoverage : sig ... end

Provides insights into the spatial coverage of the query, including the table with sub-optimal (max) spatial pruning. This information can help you identify areas for improvement in your partitioning strategy to enhance spatial pruning For example, you can do the following with the QuerySpatialCoverage information: Add measure_name or use customer-defined partition key (CDPK) predicates. If you've already done the preceding action, remove functions around them or clauses, such as LIKE.

Provides various insights and metrics related to the ExecuteScheduledQueryRequest that was executed.

Sourcemodule ExecutionStats : sig ... end

Statistics for a single scheduled query run.

Sourcemodule S3ObjectKey : sig ... end
Sourcemodule S3ReportLocation : sig ... end

S3 report location for the scheduled query run.

Sourcemodule ErrorReportLocation : sig ... end

This contains the location of the error report for a single scheduled query call.

Sourcemodule ScheduledQueryRunSummary : sig ... end

Run summary for the scheduled query

Sourcemodule ScheduledQueryDescription : sig ... end

Structure that describes scheduled query.

Sourcemodule ResourceNotFoundException : sig ... end

The requested resource could not be found.

Provides detailed information about a scheduled query.

Sourcemodule ScheduledQueryInsights : sig ... end

Encapsulates settings for enabling QueryInsights on an ExecuteScheduledQueryRequest.

You can use this API to run a scheduled query manually. If you enabled QueryInsights, this API also returns insights and metrics related to the query that you executed as part of an Amazon SNS notification. QueryInsights helps with performance tuning of your query. For more information about QueryInsights, see Using query insights to optimize queries in Amazon Timestream.

Gets a list of all scheduled queries in the caller's Amazon account and Region. ListScheduledQueries is eventually consistent.

Sourcemodule TimestreamDestination : sig ... end

Destination for scheduled query.

Sourcemodule TargetDestination : sig ... end

Destination details to write data for a target data source. Current supported data source is Timestream.

Sourcemodule ScheduledQuery : sig ... end

Scheduled Query

Sourcemodule ScheduledQueryList : sig ... end

Gets a list of all scheduled queries in the caller's Amazon account and Region. ListScheduledQueries is eventually consistent.

Sourcemodule MaxTagsForResourceResult : sig ... end

List all tags on a Timestream query resource.

List all tags on a Timestream query resource.

Sourcemodule MaxQueryResults : sig ... end
Sourcemodule PaginationToken : sig ... end
Sourcemodule ParameterMapping : sig ... end

Mapping for named parameters.

Sourcemodule ParameterMappingList : sig ... end
Sourcemodule PrepareQueryRequest : sig ... end

A synchronous operation that allows you to submit a query with parameters to be stored by Timestream for later running. Timestream only supports using this operation with ValidateOnly set to true.

Sourcemodule SelectColumn : sig ... end

Details of the column that is returned by the query.

Sourcemodule SelectColumnList : sig ... end
Sourcemodule PrepareQueryResponse : sig ... end

A synchronous operation that allows you to submit a query with parameters to be stored by Timestream for later running. Timestream only supports using this operation with ValidateOnly set to true.

A request to update the provisioned capacity settings for querying data.

Sourcemodule QueryComputeRequest : sig ... end

A request to retrieve or update the compute capacity settings for querying data.

Sourcemodule QueryExecutionException : sig ... end

Timestream was unable to run the query successfully.

Sourcemodule QueryInsightsMode : sig ... end
Sourcemodule QueryInsights : sig ... end

QueryInsights is a performance tuning feature that helps you optimize your queries, reducing costs and improving performance. With QueryInsights, you can assess the pruning efficiency of your queries and identify areas for improvement to enhance query performance. With QueryInsights, you can also analyze the effectiveness of your queries in terms of temporal and spatial pruning, and identify opportunities to improve performance. Specifically, you can evaluate how well your queries use time-based and partition key-based indexing strategies to optimize data retrieval. To optimize query performance, it's essential that you fine-tune both the temporal and spatial parameters that govern query execution. The key metrics provided by QueryInsights are QuerySpatialCoverage and QueryTemporalRange. QuerySpatialCoverage indicates how much of the spatial axis the query scans, with lower values being more efficient. QueryTemporalRange shows the time range scanned, with narrower ranges being more performant. Benefits of QueryInsights The following are the key benefits of using QueryInsights: Identifying inefficient queries – QueryInsights provides information on the time-based and attribute-based pruning of the tables accessed by the query. This information helps you identify the tables that are sub-optimally accessed. Optimizing your data model and partitioning – You can use the QueryInsights information to access and fine-tune your data model and partitioning strategy. Tuning queries – QueryInsights highlights opportunities to use indexes more effectively. The maximum number of Query API requests you're allowed to make with QueryInsights enabled is 1 query per second (QPS). If you exceed this query rate, it might result in throttling.

Sourcemodule QueryInsightsResponse : sig ... end

Provides various insights and metrics related to the query that you executed.

Sourcemodule QueryRequest : sig ... end

Query is a synchronous operation that enables you to run a query against your Amazon Timestream data. If you enabled QueryInsights, this API also returns insights and metrics related to the query that you executed. QueryInsights helps with performance tuning of your query. For more information about QueryInsights, see Using query insights to optimize queries in Amazon Timestream. The maximum number of Query API requests you're allowed to make with QueryInsights enabled is 1 query per second (QPS). If you exceed this query rate, it might result in throttling. Query will time out after 60 seconds. You must update the default timeout in the SDK to support a timeout of 60 seconds. See the code sample for details. Your query request will fail in the following cases: If you submit a Query request with the same client token outside of the 5-minute idempotency window. If you submit a Query request with the same client token, but change other parameters, within the 5-minute idempotency window. If the size of the row (including the query metadata) exceeds 1 MB, then the query will fail with the following error message: Query aborted as max page response size has been exceeded by the output result row If the IAM principal of the query initiator and the result reader are not the same and/or the query initiator and the result reader do not have the same query string in the query requests, the query will fail with an Invalid pagination token error.

Sourcemodule RowList : sig ... end
Sourcemodule QueryStatus : sig ... end

Information about the status of the query, including progress and bytes scanned.

Sourcemodule QueryResponse : sig ... end

Query is a synchronous operation that enables you to run a query against your Amazon Timestream data. If you enabled QueryInsights, this API also returns insights and metrics related to the query that you executed. QueryInsights helps with performance tuning of your query. For more information about QueryInsights, see Using query insights to optimize queries in Amazon Timestream. The maximum number of Query API requests you're allowed to make with QueryInsights enabled is 1 query per second (QPS). If you exceed this query rate, it might result in throttling. Query will time out after 60 seconds. You must update the default timeout in the SDK to support a timeout of 60 seconds. See the code sample for details. Your query request will fail in the following cases: If you submit a Query request with the same client token outside of the 5-minute idempotency window. If you submit a Query request with the same client token, but change other parameters, within the 5-minute idempotency window. If the size of the row (including the query metadata) exceeds 1 MB, then the query will fail with the following error message: Query aborted as max page response size has been exceeded by the output result row If the IAM principal of the query initiator and the result reader are not the same and/or the query initiator and the result reader do not have the same query string in the query requests, the query will fail with an Invalid pagination token error.

Sourcemodule TagKeyList : sig ... end
Sourcemodule TagResourceRequest : sig ... end

Associate a set of tags with a Timestream resource. You can then activate these user-defined tags so that they appear on the Billing and Cost Management console for cost allocation tracking.

Sourcemodule TagResourceResponse : sig ... end

Associate a set of tags with a Timestream resource. You can then activate these user-defined tags so that they appear on the Billing and Cost Management console for cost allocation tracking.

Sourcemodule UntagResourceRequest : sig ... end

Removes the association of tags from a Timestream query resource.

Sourcemodule UntagResourceResponse : sig ... end

Removes the association of tags from a Timestream query resource.

Transitions your account to use TCUs for query pricing and modifies the maximum query compute units that you've configured. If you reduce the value of MaxQueryTCU to a desired configuration, the new value can take up to 24 hours to be effective. After you've transitioned your account to use TCUs for query pricing, you can't transition to using bytes scanned for query pricing.

Transitions your account to use TCUs for query pricing and modifies the maximum query compute units that you've configured. If you reduce the value of MaxQueryTCU to a desired configuration, the new value can take up to 24 hours to be effective. After you've transitioned your account to use TCUs for query pricing, you can't transition to using bytes scanned for query pricing.

Update a scheduled query.