@aws-sdk/client-timestream-query 3.194.0 → 3.195.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 (84) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/TimestreamQueryClient.js +12 -9
  3. package/dist-cjs/commands/CancelQueryCommand.js +10 -0
  4. package/dist-cjs/commands/CreateScheduledQueryCommand.js +10 -0
  5. package/dist-cjs/commands/DeleteScheduledQueryCommand.js +10 -0
  6. package/dist-cjs/commands/DescribeEndpointsCommand.js +10 -0
  7. package/dist-cjs/commands/DescribeScheduledQueryCommand.js +10 -0
  8. package/dist-cjs/commands/ExecuteScheduledQueryCommand.js +10 -0
  9. package/dist-cjs/commands/ListScheduledQueriesCommand.js +10 -0
  10. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  11. package/dist-cjs/commands/PrepareQueryCommand.js +10 -0
  12. package/dist-cjs/commands/QueryCommand.js +10 -0
  13. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  14. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  15. package/dist-cjs/commands/UpdateScheduledQueryCommand.js +10 -0
  16. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  17. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  18. package/dist-cjs/endpoint/ruleset.js +312 -0
  19. package/dist-cjs/runtimeConfig.shared.js +3 -3
  20. package/dist-es/TimestreamQueryClient.js +13 -10
  21. package/dist-es/commands/CancelQueryCommand.js +10 -0
  22. package/dist-es/commands/CreateScheduledQueryCommand.js +10 -0
  23. package/dist-es/commands/DeleteScheduledQueryCommand.js +10 -0
  24. package/dist-es/commands/DescribeEndpointsCommand.js +10 -0
  25. package/dist-es/commands/DescribeScheduledQueryCommand.js +10 -0
  26. package/dist-es/commands/ExecuteScheduledQueryCommand.js +10 -0
  27. package/dist-es/commands/ListScheduledQueriesCommand.js +10 -0
  28. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  29. package/dist-es/commands/PrepareQueryCommand.js +10 -0
  30. package/dist-es/commands/QueryCommand.js +10 -0
  31. package/dist-es/commands/TagResourceCommand.js +10 -0
  32. package/dist-es/commands/UntagResourceCommand.js +10 -0
  33. package/dist-es/commands/UpdateScheduledQueryCommand.js +10 -0
  34. package/dist-es/endpoint/EndpointParameters.js +8 -0
  35. package/dist-es/endpoint/endpointResolver.js +8 -0
  36. package/dist-es/endpoint/ruleset.js +309 -0
  37. package/dist-es/runtimeConfig.shared.js +2 -2
  38. package/dist-types/TimestreamQueryClient.d.ts +6 -9
  39. package/dist-types/commands/CancelQueryCommand.d.ts +2 -0
  40. package/dist-types/commands/CreateScheduledQueryCommand.d.ts +2 -0
  41. package/dist-types/commands/DeleteScheduledQueryCommand.d.ts +2 -0
  42. package/dist-types/commands/DescribeEndpointsCommand.d.ts +2 -0
  43. package/dist-types/commands/DescribeScheduledQueryCommand.d.ts +2 -0
  44. package/dist-types/commands/ExecuteScheduledQueryCommand.d.ts +2 -0
  45. package/dist-types/commands/ListScheduledQueriesCommand.d.ts +2 -0
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  47. package/dist-types/commands/PrepareQueryCommand.d.ts +2 -0
  48. package/dist-types/commands/QueryCommand.d.ts +2 -0
  49. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  50. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  51. package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +2 -0
  52. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  53. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  54. package/dist-types/endpoint/ruleset.d.ts +2 -0
  55. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  56. package/dist-types/runtimeConfig.d.ts +4 -2
  57. package/dist-types/runtimeConfig.native.d.ts +4 -2
  58. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  59. package/dist-types/ts3.4/TimestreamQueryClient.d.ts +15 -8
  60. package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +2 -0
  61. package/dist-types/ts3.4/commands/CreateScheduledQueryCommand.d.ts +2 -0
  62. package/dist-types/ts3.4/commands/DeleteScheduledQueryCommand.d.ts +2 -0
  63. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +2 -0
  64. package/dist-types/ts3.4/commands/DescribeScheduledQueryCommand.d.ts +2 -0
  65. package/dist-types/ts3.4/commands/ExecuteScheduledQueryCommand.d.ts +2 -0
  66. package/dist-types/ts3.4/commands/ListScheduledQueriesCommand.d.ts +2 -0
  67. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  68. package/dist-types/ts3.4/commands/PrepareQueryCommand.d.ts +2 -0
  69. package/dist-types/ts3.4/commands/QueryCommand.d.ts +2 -0
  70. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  71. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  72. package/dist-types/ts3.4/commands/UpdateScheduledQueryCommand.d.ts +2 -0
  73. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  74. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  75. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  76. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  77. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  78. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  79. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  80. package/package.json +3 -1
  81. package/dist-cjs/endpoints.js +0 -132
  82. package/dist-es/endpoints.js +0 -128
  83. package/dist-types/endpoints.d.ts +0 -2
  84. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,128 +0,0 @@
1
- import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {};
3
- const partitionHash = {
4
- aws: {
5
- regions: [
6
- "af-south-1",
7
- "ap-east-1",
8
- "ap-northeast-1",
9
- "ap-northeast-2",
10
- "ap-northeast-3",
11
- "ap-south-1",
12
- "ap-southeast-1",
13
- "ap-southeast-2",
14
- "ap-southeast-3",
15
- "ca-central-1",
16
- "eu-central-1",
17
- "eu-north-1",
18
- "eu-south-1",
19
- "eu-west-1",
20
- "eu-west-2",
21
- "eu-west-3",
22
- "me-central-1",
23
- "me-south-1",
24
- "sa-east-1",
25
- "us-east-1",
26
- "us-east-2",
27
- "us-west-1",
28
- "us-west-2",
29
- ],
30
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
31
- variants: [
32
- {
33
- hostname: "query.timestream.{region}.amazonaws.com",
34
- tags: [],
35
- },
36
- {
37
- hostname: "query.timestream-fips.{region}.amazonaws.com",
38
- tags: ["fips"],
39
- },
40
- {
41
- hostname: "query.timestream-fips.{region}.api.aws",
42
- tags: ["dualstack", "fips"],
43
- },
44
- {
45
- hostname: "query.timestream.{region}.api.aws",
46
- tags: ["dualstack"],
47
- },
48
- ],
49
- },
50
- "aws-cn": {
51
- regions: ["cn-north-1", "cn-northwest-1"],
52
- regionRegex: "^cn\\-\\w+\\-\\d+$",
53
- variants: [
54
- {
55
- hostname: "query.timestream.{region}.amazonaws.com.cn",
56
- tags: [],
57
- },
58
- {
59
- hostname: "query.timestream-fips.{region}.amazonaws.com.cn",
60
- tags: ["fips"],
61
- },
62
- {
63
- hostname: "query.timestream-fips.{region}.api.amazonwebservices.com.cn",
64
- tags: ["dualstack", "fips"],
65
- },
66
- {
67
- hostname: "query.timestream.{region}.api.amazonwebservices.com.cn",
68
- tags: ["dualstack"],
69
- },
70
- ],
71
- },
72
- "aws-iso": {
73
- regions: ["us-iso-east-1", "us-iso-west-1"],
74
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
75
- variants: [
76
- {
77
- hostname: "query.timestream.{region}.c2s.ic.gov",
78
- tags: [],
79
- },
80
- {
81
- hostname: "query.timestream-fips.{region}.c2s.ic.gov",
82
- tags: ["fips"],
83
- },
84
- ],
85
- },
86
- "aws-iso-b": {
87
- regions: ["us-isob-east-1"],
88
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
89
- variants: [
90
- {
91
- hostname: "query.timestream.{region}.sc2s.sgov.gov",
92
- tags: [],
93
- },
94
- {
95
- hostname: "query.timestream-fips.{region}.sc2s.sgov.gov",
96
- tags: ["fips"],
97
- },
98
- ],
99
- },
100
- "aws-us-gov": {
101
- regions: ["us-gov-east-1", "us-gov-west-1"],
102
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
103
- variants: [
104
- {
105
- hostname: "query.timestream.{region}.amazonaws.com",
106
- tags: [],
107
- },
108
- {
109
- hostname: "query.timestream-fips.{region}.amazonaws.com",
110
- tags: ["fips"],
111
- },
112
- {
113
- hostname: "query.timestream-fips.{region}.api.aws",
114
- tags: ["dualstack", "fips"],
115
- },
116
- {
117
- hostname: "query.timestream.{region}.api.aws",
118
- tags: ["dualstack"],
119
- },
120
- ],
121
- },
122
- };
123
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
124
- ...options,
125
- signingService: "timestream",
126
- regionHash,
127
- partitionHash,
128
- });
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;