@aws-sdk/client-timestream-write 3.194.0 → 3.196.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 (92) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/TimestreamWriteClient.js +12 -9
  3. package/dist-cjs/commands/CreateDatabaseCommand.js +10 -0
  4. package/dist-cjs/commands/CreateTableCommand.js +10 -0
  5. package/dist-cjs/commands/DeleteDatabaseCommand.js +10 -0
  6. package/dist-cjs/commands/DeleteTableCommand.js +10 -0
  7. package/dist-cjs/commands/DescribeDatabaseCommand.js +10 -0
  8. package/dist-cjs/commands/DescribeEndpointsCommand.js +10 -0
  9. package/dist-cjs/commands/DescribeTableCommand.js +10 -0
  10. package/dist-cjs/commands/ListDatabasesCommand.js +10 -0
  11. package/dist-cjs/commands/ListTablesCommand.js +10 -0
  12. package/dist-cjs/commands/ListTagsForResourceCommand.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/UpdateDatabaseCommand.js +10 -0
  16. package/dist-cjs/commands/UpdateTableCommand.js +10 -0
  17. package/dist-cjs/commands/WriteRecordsCommand.js +10 -0
  18. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  19. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  20. package/dist-cjs/endpoint/ruleset.js +312 -0
  21. package/dist-cjs/runtimeConfig.shared.js +3 -3
  22. package/dist-es/TimestreamWriteClient.js +13 -10
  23. package/dist-es/commands/CreateDatabaseCommand.js +10 -0
  24. package/dist-es/commands/CreateTableCommand.js +10 -0
  25. package/dist-es/commands/DeleteDatabaseCommand.js +10 -0
  26. package/dist-es/commands/DeleteTableCommand.js +10 -0
  27. package/dist-es/commands/DescribeDatabaseCommand.js +10 -0
  28. package/dist-es/commands/DescribeEndpointsCommand.js +10 -0
  29. package/dist-es/commands/DescribeTableCommand.js +10 -0
  30. package/dist-es/commands/ListDatabasesCommand.js +10 -0
  31. package/dist-es/commands/ListTablesCommand.js +10 -0
  32. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  33. package/dist-es/commands/TagResourceCommand.js +10 -0
  34. package/dist-es/commands/UntagResourceCommand.js +10 -0
  35. package/dist-es/commands/UpdateDatabaseCommand.js +10 -0
  36. package/dist-es/commands/UpdateTableCommand.js +10 -0
  37. package/dist-es/commands/WriteRecordsCommand.js +10 -0
  38. package/dist-es/endpoint/EndpointParameters.js +8 -0
  39. package/dist-es/endpoint/endpointResolver.js +8 -0
  40. package/dist-es/endpoint/ruleset.js +309 -0
  41. package/dist-es/runtimeConfig.shared.js +2 -2
  42. package/dist-types/TimestreamWriteClient.d.ts +6 -9
  43. package/dist-types/commands/CreateDatabaseCommand.d.ts +2 -0
  44. package/dist-types/commands/CreateTableCommand.d.ts +2 -0
  45. package/dist-types/commands/DeleteDatabaseCommand.d.ts +2 -0
  46. package/dist-types/commands/DeleteTableCommand.d.ts +2 -0
  47. package/dist-types/commands/DescribeDatabaseCommand.d.ts +2 -0
  48. package/dist-types/commands/DescribeEndpointsCommand.d.ts +2 -0
  49. package/dist-types/commands/DescribeTableCommand.d.ts +2 -0
  50. package/dist-types/commands/ListDatabasesCommand.d.ts +2 -0
  51. package/dist-types/commands/ListTablesCommand.d.ts +2 -0
  52. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  53. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  54. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  55. package/dist-types/commands/UpdateDatabaseCommand.d.ts +2 -0
  56. package/dist-types/commands/UpdateTableCommand.d.ts +2 -0
  57. package/dist-types/commands/WriteRecordsCommand.d.ts +2 -0
  58. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  59. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  60. package/dist-types/endpoint/ruleset.d.ts +2 -0
  61. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  62. package/dist-types/runtimeConfig.d.ts +4 -2
  63. package/dist-types/runtimeConfig.native.d.ts +4 -2
  64. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  65. package/dist-types/ts3.4/TimestreamWriteClient.d.ts +15 -8
  66. package/dist-types/ts3.4/commands/CreateDatabaseCommand.d.ts +2 -0
  67. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +2 -0
  68. package/dist-types/ts3.4/commands/DeleteDatabaseCommand.d.ts +2 -0
  69. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +2 -0
  70. package/dist-types/ts3.4/commands/DescribeDatabaseCommand.d.ts +2 -0
  71. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +2 -0
  72. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +2 -0
  73. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +2 -0
  74. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +2 -0
  75. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  76. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  77. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  78. package/dist-types/ts3.4/commands/UpdateDatabaseCommand.d.ts +2 -0
  79. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +2 -0
  80. package/dist-types/ts3.4/commands/WriteRecordsCommand.d.ts +2 -0
  81. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  82. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  83. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  84. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  85. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  86. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  87. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  88. package/package.json +5 -3
  89. package/dist-cjs/endpoints.js +0 -163
  90. package/dist-es/endpoints.js +0 -159
  91. package/dist-types/endpoints.d.ts +0 -2
  92. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,163 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defaultRegionInfoProvider = void 0;
4
- const config_resolver_1 = require("@aws-sdk/config-resolver");
5
- const regionHash = {
6
- "ingest-fips-us-east-1": {
7
- variants: [
8
- {
9
- hostname: "ingest.timestream-fips.us-east-1.amazonaws.com",
10
- tags: [],
11
- },
12
- ],
13
- signingRegion: "us-east-1",
14
- },
15
- "ingest-fips-us-east-2": {
16
- variants: [
17
- {
18
- hostname: "ingest.timestream-fips.us-east-2.amazonaws.com",
19
- tags: [],
20
- },
21
- ],
22
- signingRegion: "us-east-2",
23
- },
24
- "ingest-fips-us-west-2": {
25
- variants: [
26
- {
27
- hostname: "ingest.timestream-fips.us-west-2.amazonaws.com",
28
- tags: [],
29
- },
30
- ],
31
- signingRegion: "us-west-2",
32
- },
33
- };
34
- const partitionHash = {
35
- aws: {
36
- regions: [
37
- "af-south-1",
38
- "ap-east-1",
39
- "ap-northeast-1",
40
- "ap-northeast-2",
41
- "ap-northeast-3",
42
- "ap-south-1",
43
- "ap-southeast-1",
44
- "ap-southeast-2",
45
- "ap-southeast-3",
46
- "ca-central-1",
47
- "eu-central-1",
48
- "eu-north-1",
49
- "eu-south-1",
50
- "eu-west-1",
51
- "eu-west-2",
52
- "eu-west-3",
53
- "ingest-fips-us-east-1",
54
- "ingest-fips-us-east-2",
55
- "ingest-fips-us-west-2",
56
- "me-central-1",
57
- "me-south-1",
58
- "sa-east-1",
59
- "us-east-1",
60
- "us-east-2",
61
- "us-west-1",
62
- "us-west-2",
63
- ],
64
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
65
- variants: [
66
- {
67
- hostname: "ingest.timestream.{region}.amazonaws.com",
68
- tags: [],
69
- },
70
- {
71
- hostname: "ingest.timestream-fips.{region}.amazonaws.com",
72
- tags: ["fips"],
73
- },
74
- {
75
- hostname: "ingest.timestream-fips.{region}.api.aws",
76
- tags: ["dualstack", "fips"],
77
- },
78
- {
79
- hostname: "ingest.timestream.{region}.api.aws",
80
- tags: ["dualstack"],
81
- },
82
- ],
83
- },
84
- "aws-cn": {
85
- regions: ["cn-north-1", "cn-northwest-1"],
86
- regionRegex: "^cn\\-\\w+\\-\\d+$",
87
- variants: [
88
- {
89
- hostname: "ingest.timestream.{region}.amazonaws.com.cn",
90
- tags: [],
91
- },
92
- {
93
- hostname: "ingest.timestream-fips.{region}.amazonaws.com.cn",
94
- tags: ["fips"],
95
- },
96
- {
97
- hostname: "ingest.timestream-fips.{region}.api.amazonwebservices.com.cn",
98
- tags: ["dualstack", "fips"],
99
- },
100
- {
101
- hostname: "ingest.timestream.{region}.api.amazonwebservices.com.cn",
102
- tags: ["dualstack"],
103
- },
104
- ],
105
- },
106
- "aws-iso": {
107
- regions: ["us-iso-east-1", "us-iso-west-1"],
108
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
109
- variants: [
110
- {
111
- hostname: "ingest.timestream.{region}.c2s.ic.gov",
112
- tags: [],
113
- },
114
- {
115
- hostname: "ingest.timestream-fips.{region}.c2s.ic.gov",
116
- tags: ["fips"],
117
- },
118
- ],
119
- },
120
- "aws-iso-b": {
121
- regions: ["us-isob-east-1"],
122
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
123
- variants: [
124
- {
125
- hostname: "ingest.timestream.{region}.sc2s.sgov.gov",
126
- tags: [],
127
- },
128
- {
129
- hostname: "ingest.timestream-fips.{region}.sc2s.sgov.gov",
130
- tags: ["fips"],
131
- },
132
- ],
133
- },
134
- "aws-us-gov": {
135
- regions: ["us-gov-east-1", "us-gov-west-1"],
136
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
137
- variants: [
138
- {
139
- hostname: "ingest.timestream.{region}.amazonaws.com",
140
- tags: [],
141
- },
142
- {
143
- hostname: "ingest.timestream-fips.{region}.amazonaws.com",
144
- tags: ["fips"],
145
- },
146
- {
147
- hostname: "ingest.timestream-fips.{region}.api.aws",
148
- tags: ["dualstack", "fips"],
149
- },
150
- {
151
- hostname: "ingest.timestream.{region}.api.aws",
152
- tags: ["dualstack"],
153
- },
154
- ],
155
- },
156
- };
157
- const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
158
- ...options,
159
- signingService: "timestream",
160
- regionHash,
161
- partitionHash,
162
- });
163
- exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
@@ -1,159 +0,0 @@
1
- import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
- "ingest-fips-us-east-1": {
4
- variants: [
5
- {
6
- hostname: "ingest.timestream-fips.us-east-1.amazonaws.com",
7
- tags: [],
8
- },
9
- ],
10
- signingRegion: "us-east-1",
11
- },
12
- "ingest-fips-us-east-2": {
13
- variants: [
14
- {
15
- hostname: "ingest.timestream-fips.us-east-2.amazonaws.com",
16
- tags: [],
17
- },
18
- ],
19
- signingRegion: "us-east-2",
20
- },
21
- "ingest-fips-us-west-2": {
22
- variants: [
23
- {
24
- hostname: "ingest.timestream-fips.us-west-2.amazonaws.com",
25
- tags: [],
26
- },
27
- ],
28
- signingRegion: "us-west-2",
29
- },
30
- };
31
- const partitionHash = {
32
- aws: {
33
- regions: [
34
- "af-south-1",
35
- "ap-east-1",
36
- "ap-northeast-1",
37
- "ap-northeast-2",
38
- "ap-northeast-3",
39
- "ap-south-1",
40
- "ap-southeast-1",
41
- "ap-southeast-2",
42
- "ap-southeast-3",
43
- "ca-central-1",
44
- "eu-central-1",
45
- "eu-north-1",
46
- "eu-south-1",
47
- "eu-west-1",
48
- "eu-west-2",
49
- "eu-west-3",
50
- "ingest-fips-us-east-1",
51
- "ingest-fips-us-east-2",
52
- "ingest-fips-us-west-2",
53
- "me-central-1",
54
- "me-south-1",
55
- "sa-east-1",
56
- "us-east-1",
57
- "us-east-2",
58
- "us-west-1",
59
- "us-west-2",
60
- ],
61
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
62
- variants: [
63
- {
64
- hostname: "ingest.timestream.{region}.amazonaws.com",
65
- tags: [],
66
- },
67
- {
68
- hostname: "ingest.timestream-fips.{region}.amazonaws.com",
69
- tags: ["fips"],
70
- },
71
- {
72
- hostname: "ingest.timestream-fips.{region}.api.aws",
73
- tags: ["dualstack", "fips"],
74
- },
75
- {
76
- hostname: "ingest.timestream.{region}.api.aws",
77
- tags: ["dualstack"],
78
- },
79
- ],
80
- },
81
- "aws-cn": {
82
- regions: ["cn-north-1", "cn-northwest-1"],
83
- regionRegex: "^cn\\-\\w+\\-\\d+$",
84
- variants: [
85
- {
86
- hostname: "ingest.timestream.{region}.amazonaws.com.cn",
87
- tags: [],
88
- },
89
- {
90
- hostname: "ingest.timestream-fips.{region}.amazonaws.com.cn",
91
- tags: ["fips"],
92
- },
93
- {
94
- hostname: "ingest.timestream-fips.{region}.api.amazonwebservices.com.cn",
95
- tags: ["dualstack", "fips"],
96
- },
97
- {
98
- hostname: "ingest.timestream.{region}.api.amazonwebservices.com.cn",
99
- tags: ["dualstack"],
100
- },
101
- ],
102
- },
103
- "aws-iso": {
104
- regions: ["us-iso-east-1", "us-iso-west-1"],
105
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
106
- variants: [
107
- {
108
- hostname: "ingest.timestream.{region}.c2s.ic.gov",
109
- tags: [],
110
- },
111
- {
112
- hostname: "ingest.timestream-fips.{region}.c2s.ic.gov",
113
- tags: ["fips"],
114
- },
115
- ],
116
- },
117
- "aws-iso-b": {
118
- regions: ["us-isob-east-1"],
119
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
120
- variants: [
121
- {
122
- hostname: "ingest.timestream.{region}.sc2s.sgov.gov",
123
- tags: [],
124
- },
125
- {
126
- hostname: "ingest.timestream-fips.{region}.sc2s.sgov.gov",
127
- tags: ["fips"],
128
- },
129
- ],
130
- },
131
- "aws-us-gov": {
132
- regions: ["us-gov-east-1", "us-gov-west-1"],
133
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
134
- variants: [
135
- {
136
- hostname: "ingest.timestream.{region}.amazonaws.com",
137
- tags: [],
138
- },
139
- {
140
- hostname: "ingest.timestream-fips.{region}.amazonaws.com",
141
- tags: ["fips"],
142
- },
143
- {
144
- hostname: "ingest.timestream-fips.{region}.api.aws",
145
- tags: ["dualstack", "fips"],
146
- },
147
- {
148
- hostname: "ingest.timestream.{region}.api.aws",
149
- tags: ["dualstack"],
150
- },
151
- ],
152
- },
153
- };
154
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
155
- ...options,
156
- signingService: "timestream",
157
- regionHash,
158
- partitionHash,
159
- });
@@ -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;