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