@aws-sdk/client-timestream-query 3.50.0 → 3.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/TimestreamQueryServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +130 -2
  5. package/dist-cjs/protocols/Aws_json1_0.js +176 -602
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/TimestreamQueryServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +120 -1
  9. package/dist-es/protocols/Aws_json1_0.js +350 -637
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/TimestreamQueryServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +65 -28
  13. package/dist-types/ts3.4/TimestreamQuery.d.ts +70 -0
  14. package/dist-types/ts3.4/TimestreamQueryClient.d.ts +89 -0
  15. package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CreateScheduledQueryCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/DeleteScheduledQueryCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/DescribeScheduledQueryCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/ExecuteScheduledQueryCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/ListScheduledQueriesCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/PrepareQueryCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/QueryCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/UpdateScheduledQueryCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  29. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  30. package/dist-types/ts3.4/index.d.ts +6 -0
  31. package/dist-types/ts3.4/models/TimestreamQueryServiceException.d.ts +6 -0
  32. package/dist-types/ts3.4/models/index.d.ts +1 -0
  33. package/dist-types/ts3.4/models/models_0.d.ts +750 -0
  34. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  35. package/dist-types/ts3.4/pagination/ListScheduledQueriesPaginator.d.ts +4 -0
  36. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +4 -0
  37. package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +4 -0
  38. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  39. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +41 -0
  40. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +41 -0
  41. package/dist-types/ts3.4/runtimeConfig.d.ts +41 -0
  42. package/dist-types/ts3.4/runtimeConfig.native.d.ts +40 -0
  43. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  44. package/package.json +34 -34
@@ -3,3 +3,4 @@ export * from "./TimestreamQueryClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { TimestreamQueryServiceException } from "./models/TimestreamQueryServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from TimestreamQuery service.
4
+ */
5
+ export declare class TimestreamQueryServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,11 +1,16 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { TimestreamQueryServiceException as __BaseException } from "./TimestreamQueryServiceException";
2
3
  /**
3
4
  * <p> You are not authorized to perform this action. </p>
4
5
  */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
8
9
  Message?: string;
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
14
  }
10
15
  export interface CancelQueryRequest {
11
16
  /**
@@ -38,34 +43,50 @@ export declare namespace CancelQueryResponse {
38
43
  * Timestream was unable to fully process this request because of an internal
39
44
  * server error. </p>
40
45
  */
41
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
42
- name: "InternalServerException";
43
- $fault: "server";
46
+ export declare class InternalServerException extends __BaseException {
47
+ readonly name: "InternalServerException";
48
+ readonly $fault: "server";
44
49
  Message?: string;
50
+ /**
51
+ * @internal
52
+ */
53
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
45
54
  }
46
55
  /**
47
56
  * <p>The requested endpoint was not valid.</p>
48
57
  */
49
- export interface InvalidEndpointException extends __SmithyException, $MetadataBearer {
50
- name: "InvalidEndpointException";
51
- $fault: "client";
58
+ export declare class InvalidEndpointException extends __BaseException {
59
+ readonly name: "InvalidEndpointException";
60
+ readonly $fault: "client";
52
61
  Message?: string;
62
+ /**
63
+ * @internal
64
+ */
65
+ constructor(opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>);
53
66
  }
54
67
  /**
55
68
  * <p>The request was denied due to request throttling.</p>
56
69
  */
57
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
58
- name: "ThrottlingException";
59
- $fault: "client";
70
+ export declare class ThrottlingException extends __BaseException {
71
+ readonly name: "ThrottlingException";
72
+ readonly $fault: "client";
60
73
  Message?: string;
74
+ /**
75
+ * @internal
76
+ */
77
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
61
78
  }
62
79
  /**
63
80
  * <p> Invalid or malformed request. </p>
64
81
  */
65
- export interface ValidationException extends __SmithyException, $MetadataBearer {
66
- name: "ValidationException";
67
- $fault: "client";
82
+ export declare class ValidationException extends __BaseException {
83
+ readonly name: "ValidationException";
84
+ readonly $fault: "client";
68
85
  Message?: string;
86
+ /**
87
+ * @internal
88
+ */
89
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
69
90
  }
70
91
  export declare enum ScalarType {
71
92
  BIGINT = "BIGINT",
@@ -83,10 +104,14 @@ export declare enum ScalarType {
83
104
  /**
84
105
  * <p> Unable to poll results for a cancelled query. </p>
85
106
  */
86
- export interface ConflictException extends __SmithyException, $MetadataBearer {
87
- name: "ConflictException";
88
- $fault: "client";
107
+ export declare class ConflictException extends __BaseException {
108
+ readonly name: "ConflictException";
109
+ readonly $fault: "client";
89
110
  Message?: string;
111
+ /**
112
+ * @internal
113
+ */
114
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
90
115
  }
91
116
  export declare enum S3EncryptionOption {
92
117
  SSE_KMS = "SSE_KMS",
@@ -468,10 +493,14 @@ export declare namespace CreateScheduledQueryResponse {
468
493
  /**
469
494
  * <p>You have exceeded the service quota.</p>
470
495
  */
471
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
472
- name: "ServiceQuotaExceededException";
473
- $fault: "client";
496
+ export declare class ServiceQuotaExceededException extends __BaseException {
497
+ readonly name: "ServiceQuotaExceededException";
498
+ readonly $fault: "client";
474
499
  Message?: string;
500
+ /**
501
+ * @internal
502
+ */
503
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
475
504
  }
476
505
  export interface DeleteScheduledQueryRequest {
477
506
  /**
@@ -488,14 +517,18 @@ export declare namespace DeleteScheduledQueryRequest {
488
517
  /**
489
518
  * <p>The requested resource could not be found.</p>
490
519
  */
491
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
492
- name: "ResourceNotFoundException";
493
- $fault: "client";
520
+ export declare class ResourceNotFoundException extends __BaseException {
521
+ readonly name: "ResourceNotFoundException";
522
+ readonly $fault: "client";
494
523
  Message?: string;
495
524
  /**
496
525
  * <p>The ARN of the scheduled query.</p>
497
526
  */
498
527
  ScheduledQueryArn?: string;
528
+ /**
529
+ * @internal
530
+ */
531
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
499
532
  }
500
533
  export interface DescribeEndpointsRequest {
501
534
  }
@@ -947,10 +980,14 @@ export declare namespace PrepareQueryRequest {
947
980
  * <p>
948
981
  * Timestream was unable to run the query successfully. </p>
949
982
  */
950
- export interface QueryExecutionException extends __SmithyException, $MetadataBearer {
951
- name: "QueryExecutionException";
952
- $fault: "client";
983
+ export declare class QueryExecutionException extends __BaseException {
984
+ readonly name: "QueryExecutionException";
985
+ readonly $fault: "client";
953
986
  Message?: string;
987
+ /**
988
+ * @internal
989
+ */
990
+ constructor(opts: __ExceptionOptionType<QueryExecutionException, __BaseException>);
954
991
  }
955
992
  export interface QueryRequest {
956
993
  /**
@@ -0,0 +1,70 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
3
+ import { CreateScheduledQueryCommandInput, CreateScheduledQueryCommandOutput } from "./commands/CreateScheduledQueryCommand";
4
+ import { DeleteScheduledQueryCommandInput, DeleteScheduledQueryCommandOutput } from "./commands/DeleteScheduledQueryCommand";
5
+ import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from "./commands/DescribeEndpointsCommand";
6
+ import { DescribeScheduledQueryCommandInput, DescribeScheduledQueryCommandOutput } from "./commands/DescribeScheduledQueryCommand";
7
+ import { ExecuteScheduledQueryCommandInput, ExecuteScheduledQueryCommandOutput } from "./commands/ExecuteScheduledQueryCommand";
8
+ import { ListScheduledQueriesCommandInput, ListScheduledQueriesCommandOutput } from "./commands/ListScheduledQueriesCommand";
9
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
10
+ import { PrepareQueryCommandInput, PrepareQueryCommandOutput } from "./commands/PrepareQueryCommand";
11
+ import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
12
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
13
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
14
+ import { UpdateScheduledQueryCommandInput, UpdateScheduledQueryCommandOutput } from "./commands/UpdateScheduledQueryCommand";
15
+ import { TimestreamQueryClient } from "./TimestreamQueryClient";
16
+
17
+ export declare class TimestreamQuery extends TimestreamQueryClient {
18
+
19
+ cancelQuery(args: CancelQueryCommandInput, options?: __HttpHandlerOptions): Promise<CancelQueryCommandOutput>;
20
+ cancelQuery(args: CancelQueryCommandInput, cb: (err: any, data?: CancelQueryCommandOutput) => void): void;
21
+ cancelQuery(args: CancelQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelQueryCommandOutput) => void): void;
22
+
23
+ createScheduledQuery(args: CreateScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<CreateScheduledQueryCommandOutput>;
24
+ createScheduledQuery(args: CreateScheduledQueryCommandInput, cb: (err: any, data?: CreateScheduledQueryCommandOutput) => void): void;
25
+ createScheduledQuery(args: CreateScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateScheduledQueryCommandOutput) => void): void;
26
+
27
+ deleteScheduledQuery(args: DeleteScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScheduledQueryCommandOutput>;
28
+ deleteScheduledQuery(args: DeleteScheduledQueryCommandInput, cb: (err: any, data?: DeleteScheduledQueryCommandOutput) => void): void;
29
+ deleteScheduledQuery(args: DeleteScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScheduledQueryCommandOutput) => void): void;
30
+
31
+ describeEndpoints(args: DescribeEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEndpointsCommandOutput>;
32
+ describeEndpoints(args: DescribeEndpointsCommandInput, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
33
+ describeEndpoints(args: DescribeEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
34
+
35
+ describeScheduledQuery(args: DescribeScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScheduledQueryCommandOutput>;
36
+ describeScheduledQuery(args: DescribeScheduledQueryCommandInput, cb: (err: any, data?: DescribeScheduledQueryCommandOutput) => void): void;
37
+ describeScheduledQuery(args: DescribeScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScheduledQueryCommandOutput) => void): void;
38
+
39
+ executeScheduledQuery(args: ExecuteScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteScheduledQueryCommandOutput>;
40
+ executeScheduledQuery(args: ExecuteScheduledQueryCommandInput, cb: (err: any, data?: ExecuteScheduledQueryCommandOutput) => void): void;
41
+ executeScheduledQuery(args: ExecuteScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteScheduledQueryCommandOutput) => void): void;
42
+
43
+ listScheduledQueries(args: ListScheduledQueriesCommandInput, options?: __HttpHandlerOptions): Promise<ListScheduledQueriesCommandOutput>;
44
+ listScheduledQueries(args: ListScheduledQueriesCommandInput, cb: (err: any, data?: ListScheduledQueriesCommandOutput) => void): void;
45
+ listScheduledQueries(args: ListScheduledQueriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListScheduledQueriesCommandOutput) => void): void;
46
+
47
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
48
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
49
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
50
+
51
+ prepareQuery(args: PrepareQueryCommandInput, options?: __HttpHandlerOptions): Promise<PrepareQueryCommandOutput>;
52
+ prepareQuery(args: PrepareQueryCommandInput, cb: (err: any, data?: PrepareQueryCommandOutput) => void): void;
53
+ prepareQuery(args: PrepareQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PrepareQueryCommandOutput) => void): void;
54
+
55
+ query(args: QueryCommandInput, options?: __HttpHandlerOptions): Promise<QueryCommandOutput>;
56
+ query(args: QueryCommandInput, cb: (err: any, data?: QueryCommandOutput) => void): void;
57
+ query(args: QueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryCommandOutput) => void): void;
58
+
59
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
60
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
61
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
62
+
63
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
64
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
65
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
66
+
67
+ updateScheduledQuery(args: UpdateScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateScheduledQueryCommandOutput>;
68
+ updateScheduledQuery(args: UpdateScheduledQueryCommandInput, cb: (err: any, data?: UpdateScheduledQueryCommandOutput) => void): void;
69
+ updateScheduledQuery(args: UpdateScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScheduledQueryCommandOutput) => void): void;
70
+ }
@@ -0,0 +1,89 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { EndpointDiscoveryInputConfig, EndpointDiscoveryResolvedConfig } from "@aws-sdk/middleware-endpoint-discovery";
3
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
4
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
5
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
6
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
10
+ import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
11
+ import { CreateScheduledQueryCommandInput, CreateScheduledQueryCommandOutput } from "./commands/CreateScheduledQueryCommand";
12
+ import { DeleteScheduledQueryCommandInput, DeleteScheduledQueryCommandOutput } from "./commands/DeleteScheduledQueryCommand";
13
+ import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from "./commands/DescribeEndpointsCommand";
14
+ import { DescribeScheduledQueryCommandInput, DescribeScheduledQueryCommandOutput } from "./commands/DescribeScheduledQueryCommand";
15
+ import { ExecuteScheduledQueryCommandInput, ExecuteScheduledQueryCommandOutput } from "./commands/ExecuteScheduledQueryCommand";
16
+ import { ListScheduledQueriesCommandInput, ListScheduledQueriesCommandOutput } from "./commands/ListScheduledQueriesCommand";
17
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
18
+ import { PrepareQueryCommandInput, PrepareQueryCommandOutput } from "./commands/PrepareQueryCommand";
19
+ import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
20
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
21
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
22
+ import { UpdateScheduledQueryCommandInput, UpdateScheduledQueryCommandOutput } from "./commands/UpdateScheduledQueryCommand";
23
+ export declare type ServiceInputTypes = CancelQueryCommandInput | CreateScheduledQueryCommandInput | DeleteScheduledQueryCommandInput | DescribeEndpointsCommandInput | DescribeScheduledQueryCommandInput | ExecuteScheduledQueryCommandInput | ListScheduledQueriesCommandInput | ListTagsForResourceCommandInput | PrepareQueryCommandInput | QueryCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateScheduledQueryCommandInput;
24
+ export declare type ServiceOutputTypes = CancelQueryCommandOutput | CreateScheduledQueryCommandOutput | DeleteScheduledQueryCommandOutput | DescribeEndpointsCommandOutput | DescribeScheduledQueryCommandOutput | ExecuteScheduledQueryCommandOutput | ListScheduledQueriesCommandOutput | ListTagsForResourceCommandOutput | PrepareQueryCommandOutput | QueryCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateScheduledQueryCommandOutput;
25
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
26
+
27
+ requestHandler?: __HttpHandler;
28
+
29
+ sha256?: __HashConstructor;
30
+
31
+ urlParser?: __UrlParser;
32
+
33
+ bodyLengthChecker?: (body: any) => number | undefined;
34
+
35
+ streamCollector?: __StreamCollector;
36
+
37
+ base64Decoder?: __Decoder;
38
+
39
+ base64Encoder?: __Encoder;
40
+
41
+ utf8Decoder?: __Decoder;
42
+
43
+ utf8Encoder?: __Encoder;
44
+
45
+ runtime?: string;
46
+
47
+ disableHostPrefix?: boolean;
48
+
49
+ maxAttempts?: number | __Provider<number>;
50
+
51
+ retryMode?: string | __Provider<string>;
52
+
53
+ logger?: __Logger;
54
+
55
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
56
+
57
+ useFipsEndpoint?: boolean | __Provider<boolean>;
58
+
59
+ serviceId?: string;
60
+
61
+ region?: string | __Provider<string>;
62
+
63
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
64
+
65
+ regionInfoProvider?: RegionInfoProvider;
66
+
67
+ defaultUserAgentProvider?: Provider<__UserAgent>;
68
+
69
+ endpointDiscoveryEnabledProvider?: __Provider<boolean | undefined>;
70
+
71
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
72
+ }
73
+ declare type TimestreamQueryClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & EndpointDiscoveryInputConfig;
74
+
75
+ export interface TimestreamQueryClientConfig extends TimestreamQueryClientConfigType {
76
+ }
77
+ declare type TimestreamQueryClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & EndpointDiscoveryResolvedConfig;
78
+
79
+ export interface TimestreamQueryClientResolvedConfig extends TimestreamQueryClientResolvedConfigType {
80
+ }
81
+
82
+ export declare class TimestreamQueryClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig> {
83
+
84
+ readonly config: TimestreamQueryClientResolvedConfig;
85
+ constructor(configuration: TimestreamQueryClientConfig);
86
+
87
+ destroy(): void;
88
+ }
89
+ export {};
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CancelQueryRequest, CancelQueryResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface CancelQueryCommandInput extends CancelQueryRequest {
6
+ }
7
+ export interface CancelQueryCommandOutput extends CancelQueryResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class CancelQueryCommand extends $Command<CancelQueryCommandInput, CancelQueryCommandOutput, TimestreamQueryClientResolvedConfig> {
11
+ readonly input: CancelQueryCommandInput;
12
+ constructor(input: CancelQueryCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelQueryCommandInput, CancelQueryCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CreateScheduledQueryRequest, CreateScheduledQueryResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface CreateScheduledQueryCommandInput extends CreateScheduledQueryRequest {
6
+ }
7
+ export interface CreateScheduledQueryCommandOutput extends CreateScheduledQueryResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class CreateScheduledQueryCommand extends $Command<CreateScheduledQueryCommandInput, CreateScheduledQueryCommandOutput, TimestreamQueryClientResolvedConfig> {
11
+ readonly input: CreateScheduledQueryCommandInput;
12
+ constructor(input: CreateScheduledQueryCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateScheduledQueryCommandInput, CreateScheduledQueryCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DeleteScheduledQueryRequest } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface DeleteScheduledQueryCommandInput extends DeleteScheduledQueryRequest {
6
+ }
7
+ export interface DeleteScheduledQueryCommandOutput extends __MetadataBearer {
8
+ }
9
+
10
+ export declare class DeleteScheduledQueryCommand extends $Command<DeleteScheduledQueryCommandInput, DeleteScheduledQueryCommandOutput, TimestreamQueryClientResolvedConfig> {
11
+ readonly input: DeleteScheduledQueryCommandInput;
12
+ constructor(input: DeleteScheduledQueryCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteScheduledQueryCommandInput, DeleteScheduledQueryCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DescribeEndpointsRequest, DescribeEndpointsResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface DescribeEndpointsCommandInput extends DescribeEndpointsRequest {
6
+ }
7
+ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeEndpointsCommand extends $Command<DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput, TimestreamQueryClientResolvedConfig> {
11
+ readonly input: DescribeEndpointsCommandInput;
12
+ constructor(input: DescribeEndpointsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DescribeScheduledQueryRequest, DescribeScheduledQueryResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface DescribeScheduledQueryCommandInput extends DescribeScheduledQueryRequest {
6
+ }
7
+ export interface DescribeScheduledQueryCommandOutput extends DescribeScheduledQueryResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeScheduledQueryCommand extends $Command<DescribeScheduledQueryCommandInput, DescribeScheduledQueryCommandOutput, TimestreamQueryClientResolvedConfig> {
11
+ readonly input: DescribeScheduledQueryCommandInput;
12
+ constructor(input: DescribeScheduledQueryCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeScheduledQueryCommandInput, DescribeScheduledQueryCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ExecuteScheduledQueryRequest } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface ExecuteScheduledQueryCommandInput extends ExecuteScheduledQueryRequest {
6
+ }
7
+ export interface ExecuteScheduledQueryCommandOutput extends __MetadataBearer {
8
+ }
9
+
10
+ export declare class ExecuteScheduledQueryCommand extends $Command<ExecuteScheduledQueryCommandInput, ExecuteScheduledQueryCommandOutput, TimestreamQueryClientResolvedConfig> {
11
+ readonly input: ExecuteScheduledQueryCommandInput;
12
+ constructor(input: ExecuteScheduledQueryCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExecuteScheduledQueryCommandInput, ExecuteScheduledQueryCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListScheduledQueriesRequest, ListScheduledQueriesResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface ListScheduledQueriesCommandInput extends ListScheduledQueriesRequest {
6
+ }
7
+ export interface ListScheduledQueriesCommandOutput extends ListScheduledQueriesResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListScheduledQueriesCommand extends $Command<ListScheduledQueriesCommandInput, ListScheduledQueriesCommandOutput, TimestreamQueryClientResolvedConfig> {
11
+ readonly input: ListScheduledQueriesCommandInput;
12
+ constructor(input: ListScheduledQueriesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListScheduledQueriesCommandInput, ListScheduledQueriesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
6
+ }
7
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TimestreamQueryClientResolvedConfig> {
11
+ readonly input: ListTagsForResourceCommandInput;
12
+ constructor(input: ListTagsForResourceCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { PrepareQueryRequest, PrepareQueryResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface PrepareQueryCommandInput extends PrepareQueryRequest {
6
+ }
7
+ export interface PrepareQueryCommandOutput extends PrepareQueryResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class PrepareQueryCommand extends $Command<PrepareQueryCommandInput, PrepareQueryCommandOutput, TimestreamQueryClientResolvedConfig> {
11
+ readonly input: PrepareQueryCommandInput;
12
+ constructor(input: PrepareQueryCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PrepareQueryCommandInput, PrepareQueryCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { QueryRequest, QueryResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface QueryCommandInput extends QueryRequest {
6
+ }
7
+ export interface QueryCommandOutput extends QueryResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class QueryCommand extends $Command<QueryCommandInput, QueryCommandOutput, TimestreamQueryClientResolvedConfig> {
11
+ readonly input: QueryCommandInput;
12
+ constructor(input: QueryCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<QueryCommandInput, QueryCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface TagResourceCommandInput extends TagResourceRequest {
6
+ }
7
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, TimestreamQueryClientResolvedConfig> {
11
+ readonly input: TagResourceCommandInput;
12
+ constructor(input: TagResourceCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
6
+ }
7
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, TimestreamQueryClientResolvedConfig> {
11
+ readonly input: UntagResourceCommandInput;
12
+ constructor(input: UntagResourceCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateScheduledQueryRequest } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface UpdateScheduledQueryCommandInput extends UpdateScheduledQueryRequest {
6
+ }
7
+ export interface UpdateScheduledQueryCommandOutput extends __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateScheduledQueryCommand extends $Command<UpdateScheduledQueryCommandInput, UpdateScheduledQueryCommandOutput, TimestreamQueryClientResolvedConfig> {
11
+ readonly input: UpdateScheduledQueryCommandInput;
12
+ constructor(input: UpdateScheduledQueryCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateScheduledQueryCommandInput, UpdateScheduledQueryCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,13 @@
1
+ export * from "./CancelQueryCommand";
2
+ export * from "./CreateScheduledQueryCommand";
3
+ export * from "./DeleteScheduledQueryCommand";
4
+ export * from "./DescribeEndpointsCommand";
5
+ export * from "./DescribeScheduledQueryCommand";
6
+ export * from "./ExecuteScheduledQueryCommand";
7
+ export * from "./ListScheduledQueriesCommand";
8
+ export * from "./ListTagsForResourceCommand";
9
+ export * from "./PrepareQueryCommand";
10
+ export * from "./QueryCommand";
11
+ export * from "./TagResourceCommand";
12
+ export * from "./UntagResourceCommand";
13
+ export * from "./UpdateScheduledQueryCommand";
@@ -0,0 +1,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,6 @@
1
+ export * from "./TimestreamQuery";
2
+ export * from "./TimestreamQueryClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { TimestreamQueryServiceException } from "./models/TimestreamQueryServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class TimestreamQueryServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";