@aws-sdk/client-timestream-query 3.948.0 → 3.953.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 (35) hide show
  1. package/dist-cjs/index.js +326 -210
  2. package/dist-cjs/runtimeConfig.shared.js +6 -6
  3. package/dist-es/commands/CancelQueryCommand.js +2 -2
  4. package/dist-es/commands/CreateScheduledQueryCommand.js +2 -2
  5. package/dist-es/commands/DeleteScheduledQueryCommand.js +2 -2
  6. package/dist-es/commands/DescribeAccountSettingsCommand.js +2 -2
  7. package/dist-es/commands/DescribeEndpointsCommand.js +2 -2
  8. package/dist-es/commands/DescribeScheduledQueryCommand.js +2 -2
  9. package/dist-es/commands/ExecuteScheduledQueryCommand.js +2 -2
  10. package/dist-es/commands/ListScheduledQueriesCommand.js +2 -2
  11. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  12. package/dist-es/commands/PrepareQueryCommand.js +2 -2
  13. package/dist-es/commands/QueryCommand.js +2 -2
  14. package/dist-es/commands/TagResourceCommand.js +2 -2
  15. package/dist-es/commands/UntagResourceCommand.js +2 -2
  16. package/dist-es/commands/UpdateAccountSettingsCommand.js +2 -2
  17. package/dist-es/commands/UpdateScheduledQueryCommand.js +2 -2
  18. package/dist-es/index.js +1 -0
  19. package/dist-es/runtimeConfig.shared.js +6 -6
  20. package/dist-es/schemas/schemas_0.js +198 -177
  21. package/dist-types/TimestreamQueryClient.d.ts +1 -10
  22. package/dist-types/index.d.ts +1 -0
  23. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  24. package/dist-types/runtimeConfig.d.ts +6 -2
  25. package/dist-types/runtimeConfig.native.d.ts +6 -2
  26. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  27. package/dist-types/schemas/schemas_0.d.ts +96 -115
  28. package/dist-types/ts3.4/TimestreamQueryClient.d.ts +0 -4
  29. package/dist-types/ts3.4/index.d.ts +1 -0
  30. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  31. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  32. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  33. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  34. package/dist-types/ts3.4/schemas/schemas_0.d.ts +95 -116
  35. package/package.json +35 -35
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsJson1_0Protocol({
31
- defaultNamespace: "com.amazonaws.timestreamquery",
32
- serviceTarget: "Timestream_20181101",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.timestreamquery",
32
+ version: "2018-11-01",
33
+ serviceTarget: "Timestream_20181101",
34
+ },
35
35
  serviceId: config?.serviceId ?? "Timestream Query",
36
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CancelQuery } from "../schemas/schemas_0";
5
+ import { CancelQuery$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class CancelQueryCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class CancelQueryCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "CancelQuery", {})
21
21
  .n("TimestreamQueryClient", "CancelQueryCommand")
22
- .sc(CancelQuery)
22
+ .sc(CancelQuery$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateScheduledQuery } from "../schemas/schemas_0";
5
+ import { CreateScheduledQuery$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class CreateScheduledQueryCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class CreateScheduledQueryCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "CreateScheduledQuery", {})
21
21
  .n("TimestreamQueryClient", "CreateScheduledQueryCommand")
22
- .sc(CreateScheduledQuery)
22
+ .sc(CreateScheduledQuery$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { DeleteScheduledQuery } from "../schemas/schemas_0";
5
+ import { DeleteScheduledQuery$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class DeleteScheduledQueryCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class DeleteScheduledQueryCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "DeleteScheduledQuery", {})
21
21
  .n("TimestreamQueryClient", "DeleteScheduledQueryCommand")
22
- .sc(DeleteScheduledQuery)
22
+ .sc(DeleteScheduledQuery$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { DescribeAccountSettings } from "../schemas/schemas_0";
5
+ import { DescribeAccountSettings$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class DescribeAccountSettingsCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class DescribeAccountSettingsCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "DescribeAccountSettings", {})
21
21
  .n("TimestreamQueryClient", "DescribeAccountSettingsCommand")
22
- .sc(DescribeAccountSettings)
22
+ .sc(DescribeAccountSettings$)
23
23
  .build() {
24
24
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeEndpoints } from "../schemas/schemas_0";
4
+ import { DescribeEndpoints$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeEndpointsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeEndpointsCommand extends $Command
11
11
  })
12
12
  .s("Timestream_20181101", "DescribeEndpoints", {})
13
13
  .n("TimestreamQueryClient", "DescribeEndpointsCommand")
14
- .sc(DescribeEndpoints)
14
+ .sc(DescribeEndpoints$)
15
15
  .build() {
16
16
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { DescribeScheduledQuery } from "../schemas/schemas_0";
5
+ import { DescribeScheduledQuery$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class DescribeScheduledQueryCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class DescribeScheduledQueryCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "DescribeScheduledQuery", {})
21
21
  .n("TimestreamQueryClient", "DescribeScheduledQueryCommand")
22
- .sc(DescribeScheduledQuery)
22
+ .sc(DescribeScheduledQuery$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ExecuteScheduledQuery } from "../schemas/schemas_0";
5
+ import { ExecuteScheduledQuery$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class ExecuteScheduledQueryCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class ExecuteScheduledQueryCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "ExecuteScheduledQuery", {})
21
21
  .n("TimestreamQueryClient", "ExecuteScheduledQueryCommand")
22
- .sc(ExecuteScheduledQuery)
22
+ .sc(ExecuteScheduledQuery$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListScheduledQueries } from "../schemas/schemas_0";
5
+ import { ListScheduledQueries$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class ListScheduledQueriesCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class ListScheduledQueriesCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "ListScheduledQueries", {})
21
21
  .n("TimestreamQueryClient", "ListScheduledQueriesCommand")
22
- .sc(ListScheduledQueries)
22
+ .sc(ListScheduledQueries$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListTagsForResource } from "../schemas/schemas_0";
5
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class ListTagsForResourceCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class ListTagsForResourceCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "ListTagsForResource", {})
21
21
  .n("TimestreamQueryClient", "ListTagsForResourceCommand")
22
- .sc(ListTagsForResource)
22
+ .sc(ListTagsForResource$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { PrepareQuery } from "../schemas/schemas_0";
5
+ import { PrepareQuery$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class PrepareQueryCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class PrepareQueryCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "PrepareQuery", {})
21
21
  .n("TimestreamQueryClient", "PrepareQueryCommand")
22
- .sc(PrepareQuery)
22
+ .sc(PrepareQuery$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { Query } from "../schemas/schemas_0";
5
+ import { Query$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class QueryCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class QueryCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "Query", {})
21
21
  .n("TimestreamQueryClient", "QueryCommand")
22
- .sc(Query)
22
+ .sc(Query$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { TagResource } from "../schemas/schemas_0";
5
+ import { TagResource$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class TagResourceCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class TagResourceCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "TagResource", {})
21
21
  .n("TimestreamQueryClient", "TagResourceCommand")
22
- .sc(TagResource)
22
+ .sc(TagResource$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UntagResource } from "../schemas/schemas_0";
5
+ import { UntagResource$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class UntagResourceCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class UntagResourceCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "UntagResource", {})
21
21
  .n("TimestreamQueryClient", "UntagResourceCommand")
22
- .sc(UntagResource)
22
+ .sc(UntagResource$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UpdateAccountSettings } from "../schemas/schemas_0";
5
+ import { UpdateAccountSettings$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class UpdateAccountSettingsCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class UpdateAccountSettingsCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "UpdateAccountSettings", {})
21
21
  .n("TimestreamQueryClient", "UpdateAccountSettingsCommand")
22
- .sc(UpdateAccountSettings)
22
+ .sc(UpdateAccountSettings$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UpdateScheduledQuery } from "../schemas/schemas_0";
5
+ import { UpdateScheduledQuery$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class UpdateScheduledQueryCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class UpdateScheduledQueryCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "UpdateScheduledQuery", {})
21
21
  .n("TimestreamQueryClient", "UpdateScheduledQueryCommand")
22
- .sc(UpdateScheduledQuery)
22
+ .sc(UpdateScheduledQuery$)
23
23
  .build() {
24
24
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./TimestreamQueryClient";
2
2
  export * from "./TimestreamQuery";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_0Protocol({
28
- defaultNamespace: "com.amazonaws.timestreamquery",
29
- serviceTarget: "Timestream_20181101",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.timestreamquery",
29
+ version: "2018-11-01",
30
+ serviceTarget: "Timestream_20181101",
31
+ },
32
32
  serviceId: config?.serviceId ?? "Timestream Query",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,