Skip to content

Commit 69aee05

Browse files
author
awstools
committed
docs(client-timestream-query): Documentation updates, March 2024
1 parent 29679ab commit 69aee05

File tree

4 files changed

+55
-43
lines changed

4 files changed

+55
-43
lines changed

clients/client-timestream-query/src/commands/ListScheduledQueriesCommand.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ export interface ListScheduledQueriesCommandInput extends ListScheduledQueriesRe
2828
export interface ListScheduledQueriesCommandOutput extends ListScheduledQueriesResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Gets a list of all scheduled queries in the caller's Amazon account and Region. <code>ListScheduledQueries</code> is eventually consistent. </p>
31+
* <p>Gets a list of all scheduled queries in the caller's Amazon account and Region.
32+
* <code>ListScheduledQueries</code> is eventually consistent. </p>
3233
* @example
3334
* Use a bare-bones client and the command you need to make an API call.
3435
* ```javascript

clients/client-timestream-query/src/commands/PrepareQueryCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ export interface PrepareQueryCommandOutput extends PrepareQueryResponse, __Metad
3434

3535
/**
3636
* <p>A synchronous operation that allows you to submit a query with parameters to be stored
37-
* by Timestream for later running. Timestream only supports using this operation with the
38-
* <code>PrepareQueryRequest$ValidateOnly</code> set to <code>true</code>. </p>
37+
* by Timestream for later running. Timestream only supports using this operation with
38+
* <code>ValidateOnly</code> set to <code>true</code>. </p>
3939
* @example
4040
* Use a bare-bones client and the command you need to make an API call.
4141
* ```javascript

clients/client-timestream-query/src/models/models_0.ts

+37-26
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,8 @@ export interface SnsConfiguration {
249249
}
250250

251251
/**
252-
* <p>Notification configuration for a scheduled query. A notification is sent by
253-
* Timestream when a scheduled query is created, its state is updated or when it is deleted. </p>
252+
* <p>Notification configuration for a scheduled query. A notification is sent by Timestream
253+
* when a scheduled query is created, its state is updated or when it is deleted. </p>
254254
* @public
255255
*/
256256
export interface NotificationConfiguration {
@@ -465,8 +465,8 @@ export interface TimestreamConfiguration {
465465
DatabaseName: string | undefined;
466466

467467
/**
468-
* <p>Name of Timestream table that the query result will be written to. The table should
469-
* be within the same database that is provided in Timestream configuration.</p>
468+
* <p>Name of Timestream table that the query result will be written to. The table should be
469+
* within the same database that is provided in Timestream configuration.</p>
470470
* @public
471471
*/
472472
TableName: string | undefined;
@@ -527,12 +527,15 @@ export interface CreateScheduledQueryRequest {
527527
Name: string | undefined;
528528

529529
/**
530-
* <p>The query string to run. Parameter
531-
* names can be specified in the query string <code>@</code> character followed by an
532-
* identifier. The named Parameter <code>@scheduled_runtime</code> is reserved and can be used in the query to get the time at which the query is scheduled to run.</p>
533-
* <p>The timestamp calculated according to the ScheduleConfiguration parameter, will be the value of <code>@scheduled_runtime</code> paramater for each query run.
534-
* For example, consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this instance, the <code>@scheduled_runtime</code> parameter is
535-
* initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.</p>
530+
* <p>The query string to run. Parameter names can be specified in the query string
531+
* <code>@</code> character followed by an identifier. The named Parameter
532+
* <code>@scheduled_runtime</code> is reserved and can be used in the query to get the
533+
* time at which the query is scheduled to run.</p>
534+
* <p>The timestamp calculated according to the ScheduleConfiguration parameter, will be the
535+
* value of <code>@scheduled_runtime</code> paramater for each query run. For example,
536+
* consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this
537+
* instance, the <code>@scheduled_runtime</code> parameter is initialized to the timestamp
538+
* 2021-12-01 00:00:00 when invoking the query.</p>
536539
* @public
537540
*/
538541
QueryString: string | undefined;
@@ -545,7 +548,8 @@ export interface CreateScheduledQueryRequest {
545548

546549
/**
547550
* <p>Notification configuration for the scheduled query. A notification is sent by
548-
* Timestream when a query run finishes, when the state is updated or when you delete it. </p>
551+
* Timestream when a query run finishes, when the state is updated or when you delete it.
552+
* </p>
549553
* @public
550554
*/
551555
NotificationConfiguration: NotificationConfiguration | undefined;
@@ -557,10 +561,9 @@ export interface CreateScheduledQueryRequest {
557561
TargetConfiguration?: TargetConfiguration;
558562

559563
/**
560-
* <p>Using a ClientToken makes the call to CreateScheduledQuery idempotent, in other words, making the same request repeatedly will produce the same result. Making
561-
* multiple identical CreateScheduledQuery requests has the same effect as making a single request.
562-
*
563-
* </p>
564+
* <p>Using a ClientToken makes the call to CreateScheduledQuery idempotent, in other words,
565+
* making the same request repeatedly will produce the same result. Making multiple
566+
* identical CreateScheduledQuery requests has the same effect as making a single request. </p>
564567
* <ul>
565568
* <li>
566569
* <p> If CreateScheduledQuery is called without a <code>ClientToken</code>, the
@@ -576,7 +579,8 @@ export interface CreateScheduledQueryRequest {
576579
ClientToken?: string;
577580

578581
/**
579-
* <p>The ARN for the IAM role that Timestream will assume when running the scheduled query. </p>
582+
* <p>The ARN for the IAM role that Timestream will assume when running the scheduled query.
583+
* </p>
580584
* @public
581585
*/
582586
ScheduledQueryExecutionRoleArn: string | undefined;
@@ -588,18 +592,21 @@ export interface CreateScheduledQueryRequest {
588592
Tags?: Tag[];
589593

590594
/**
591-
* <p>The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the Amazon KMS
592-
* key is not specified, the scheduled query resource will be encrypted with a Timestream
593-
* owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias name, or alias
594-
* ARN. When using an alias name, prefix the name with <i>alias/</i>
595+
* <p>The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the
596+
* Amazon KMS key is not specified, the scheduled query resource will be encrypted with a
597+
* Timestream owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias
598+
* name, or alias ARN. When using an alias name, prefix the name with
599+
* <i>alias/</i>
595600
* </p>
596-
* <p>If ErrorReportConfiguration uses <code>SSE_KMS</code> as encryption type, the same KmsKeyId is used to encrypt the error report at rest.</p>
601+
* <p>If ErrorReportConfiguration uses <code>SSE_KMS</code> as encryption type, the same
602+
* KmsKeyId is used to encrypt the error report at rest.</p>
597603
* @public
598604
*/
599605
KmsKeyId?: string;
600606

601607
/**
602-
* <p>Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results. </p>
608+
* <p>Configuration for error reporting. Error reports will be generated when a problem is
609+
* encountered when writing the query results. </p>
603610
* @public
604611
*/
605612
ErrorReportConfiguration: ErrorReportConfiguration | undefined;
@@ -761,7 +768,8 @@ export interface ErrorReportLocation {
761768
*/
762769
export interface ExecutionStats {
763770
/**
764-
* <p>Total time, measured in milliseconds, that was needed for the scheduled query run to complete.</p>
771+
* <p>Total time, measured in milliseconds, that was needed for the scheduled query run to
772+
* complete.</p>
765773
* @public
766774
*/
767775
ExecutionTimeInMillis?: number;
@@ -815,7 +823,8 @@ export type ScheduledQueryRunStatus = (typeof ScheduledQueryRunStatus)[keyof typ
815823
export interface ScheduledQueryRunSummary {
816824
/**
817825
* <p>InvocationTime for this run. This is the time at which the query is scheduled to run.
818-
* Parameter <code>@scheduled_runtime</code> can be used in the query to get the value. </p>
826+
* Parameter <code>@scheduled_runtime</code> can be used in the query to get the value.
827+
* </p>
819828
* @public
820829
*/
821830
InvocationTime?: Date;
@@ -984,7 +993,8 @@ export interface ExecuteScheduledQueryRequest {
984993
ScheduledQueryArn: string | undefined;
985994

986995
/**
987-
* <p>The timestamp in UTC. Query will be run as if it was invoked at this timestamp. </p>
996+
* <p>The timestamp in UTC. Query will be run as if it was invoked at this timestamp.
997+
* </p>
988998
* @public
989999
*/
9901000
InvocationTime: Date | undefined;
@@ -1448,7 +1458,8 @@ export interface ColumnInfo {
14481458
export interface Type {
14491459
/**
14501460
* <p>Indicates if the column is of type string, integer, Boolean, double, timestamp, date,
1451-
* time. </p>
1461+
* time. For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/supported-data-types.html">Supported data
1462+
* types</a>.</p>
14521463
* @public
14531464
*/
14541465
ScalarType?: ScalarType;

0 commit comments

Comments
 (0)