@aws-sdk/client-memorydb 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 (172) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/MemoryDBClient.js +11 -8
  3. package/dist-cjs/commands/BatchUpdateClusterCommand.js +10 -0
  4. package/dist-cjs/commands/CopySnapshotCommand.js +10 -0
  5. package/dist-cjs/commands/CreateACLCommand.js +10 -0
  6. package/dist-cjs/commands/CreateClusterCommand.js +10 -0
  7. package/dist-cjs/commands/CreateParameterGroupCommand.js +10 -0
  8. package/dist-cjs/commands/CreateSnapshotCommand.js +10 -0
  9. package/dist-cjs/commands/CreateSubnetGroupCommand.js +10 -0
  10. package/dist-cjs/commands/CreateUserCommand.js +10 -0
  11. package/dist-cjs/commands/DeleteACLCommand.js +10 -0
  12. package/dist-cjs/commands/DeleteClusterCommand.js +10 -0
  13. package/dist-cjs/commands/DeleteParameterGroupCommand.js +10 -0
  14. package/dist-cjs/commands/DeleteSnapshotCommand.js +10 -0
  15. package/dist-cjs/commands/DeleteSubnetGroupCommand.js +10 -0
  16. package/dist-cjs/commands/DeleteUserCommand.js +10 -0
  17. package/dist-cjs/commands/DescribeACLsCommand.js +10 -0
  18. package/dist-cjs/commands/DescribeClustersCommand.js +10 -0
  19. package/dist-cjs/commands/DescribeEngineVersionsCommand.js +10 -0
  20. package/dist-cjs/commands/DescribeEventsCommand.js +10 -0
  21. package/dist-cjs/commands/DescribeParameterGroupsCommand.js +10 -0
  22. package/dist-cjs/commands/DescribeParametersCommand.js +10 -0
  23. package/dist-cjs/commands/DescribeServiceUpdatesCommand.js +10 -0
  24. package/dist-cjs/commands/DescribeSnapshotsCommand.js +10 -0
  25. package/dist-cjs/commands/DescribeSubnetGroupsCommand.js +10 -0
  26. package/dist-cjs/commands/DescribeUsersCommand.js +10 -0
  27. package/dist-cjs/commands/FailoverShardCommand.js +10 -0
  28. package/dist-cjs/commands/ListAllowedNodeTypeUpdatesCommand.js +10 -0
  29. package/dist-cjs/commands/ListTagsCommand.js +10 -0
  30. package/dist-cjs/commands/ResetParameterGroupCommand.js +10 -0
  31. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  32. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  33. package/dist-cjs/commands/UpdateACLCommand.js +10 -0
  34. package/dist-cjs/commands/UpdateClusterCommand.js +10 -0
  35. package/dist-cjs/commands/UpdateParameterGroupCommand.js +10 -0
  36. package/dist-cjs/commands/UpdateSubnetGroupCommand.js +10 -0
  37. package/dist-cjs/commands/UpdateUserCommand.js +10 -0
  38. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  39. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  40. package/dist-cjs/endpoint/ruleset.js +343 -0
  41. package/dist-cjs/runtimeConfig.shared.js +3 -3
  42. package/dist-es/MemoryDBClient.js +12 -9
  43. package/dist-es/commands/BatchUpdateClusterCommand.js +10 -0
  44. package/dist-es/commands/CopySnapshotCommand.js +10 -0
  45. package/dist-es/commands/CreateACLCommand.js +10 -0
  46. package/dist-es/commands/CreateClusterCommand.js +10 -0
  47. package/dist-es/commands/CreateParameterGroupCommand.js +10 -0
  48. package/dist-es/commands/CreateSnapshotCommand.js +10 -0
  49. package/dist-es/commands/CreateSubnetGroupCommand.js +10 -0
  50. package/dist-es/commands/CreateUserCommand.js +10 -0
  51. package/dist-es/commands/DeleteACLCommand.js +10 -0
  52. package/dist-es/commands/DeleteClusterCommand.js +10 -0
  53. package/dist-es/commands/DeleteParameterGroupCommand.js +10 -0
  54. package/dist-es/commands/DeleteSnapshotCommand.js +10 -0
  55. package/dist-es/commands/DeleteSubnetGroupCommand.js +10 -0
  56. package/dist-es/commands/DeleteUserCommand.js +10 -0
  57. package/dist-es/commands/DescribeACLsCommand.js +10 -0
  58. package/dist-es/commands/DescribeClustersCommand.js +10 -0
  59. package/dist-es/commands/DescribeEngineVersionsCommand.js +10 -0
  60. package/dist-es/commands/DescribeEventsCommand.js +10 -0
  61. package/dist-es/commands/DescribeParameterGroupsCommand.js +10 -0
  62. package/dist-es/commands/DescribeParametersCommand.js +10 -0
  63. package/dist-es/commands/DescribeServiceUpdatesCommand.js +10 -0
  64. package/dist-es/commands/DescribeSnapshotsCommand.js +10 -0
  65. package/dist-es/commands/DescribeSubnetGroupsCommand.js +10 -0
  66. package/dist-es/commands/DescribeUsersCommand.js +10 -0
  67. package/dist-es/commands/FailoverShardCommand.js +10 -0
  68. package/dist-es/commands/ListAllowedNodeTypeUpdatesCommand.js +10 -0
  69. package/dist-es/commands/ListTagsCommand.js +10 -0
  70. package/dist-es/commands/ResetParameterGroupCommand.js +10 -0
  71. package/dist-es/commands/TagResourceCommand.js +10 -0
  72. package/dist-es/commands/UntagResourceCommand.js +10 -0
  73. package/dist-es/commands/UpdateACLCommand.js +10 -0
  74. package/dist-es/commands/UpdateClusterCommand.js +10 -0
  75. package/dist-es/commands/UpdateParameterGroupCommand.js +10 -0
  76. package/dist-es/commands/UpdateSubnetGroupCommand.js +10 -0
  77. package/dist-es/commands/UpdateUserCommand.js +10 -0
  78. package/dist-es/endpoint/EndpointParameters.js +8 -0
  79. package/dist-es/endpoint/endpointResolver.js +8 -0
  80. package/dist-es/endpoint/ruleset.js +340 -0
  81. package/dist-es/runtimeConfig.shared.js +2 -2
  82. package/dist-types/MemoryDBClient.d.ts +6 -9
  83. package/dist-types/commands/BatchUpdateClusterCommand.d.ts +2 -0
  84. package/dist-types/commands/CopySnapshotCommand.d.ts +2 -0
  85. package/dist-types/commands/CreateACLCommand.d.ts +2 -0
  86. package/dist-types/commands/CreateClusterCommand.d.ts +2 -0
  87. package/dist-types/commands/CreateParameterGroupCommand.d.ts +2 -0
  88. package/dist-types/commands/CreateSnapshotCommand.d.ts +2 -0
  89. package/dist-types/commands/CreateSubnetGroupCommand.d.ts +2 -0
  90. package/dist-types/commands/CreateUserCommand.d.ts +2 -0
  91. package/dist-types/commands/DeleteACLCommand.d.ts +2 -0
  92. package/dist-types/commands/DeleteClusterCommand.d.ts +2 -0
  93. package/dist-types/commands/DeleteParameterGroupCommand.d.ts +2 -0
  94. package/dist-types/commands/DeleteSnapshotCommand.d.ts +2 -0
  95. package/dist-types/commands/DeleteSubnetGroupCommand.d.ts +2 -0
  96. package/dist-types/commands/DeleteUserCommand.d.ts +2 -0
  97. package/dist-types/commands/DescribeACLsCommand.d.ts +2 -0
  98. package/dist-types/commands/DescribeClustersCommand.d.ts +2 -0
  99. package/dist-types/commands/DescribeEngineVersionsCommand.d.ts +2 -0
  100. package/dist-types/commands/DescribeEventsCommand.d.ts +2 -0
  101. package/dist-types/commands/DescribeParameterGroupsCommand.d.ts +2 -0
  102. package/dist-types/commands/DescribeParametersCommand.d.ts +2 -0
  103. package/dist-types/commands/DescribeServiceUpdatesCommand.d.ts +2 -0
  104. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +2 -0
  105. package/dist-types/commands/DescribeSubnetGroupsCommand.d.ts +2 -0
  106. package/dist-types/commands/DescribeUsersCommand.d.ts +2 -0
  107. package/dist-types/commands/FailoverShardCommand.d.ts +2 -0
  108. package/dist-types/commands/ListAllowedNodeTypeUpdatesCommand.d.ts +2 -0
  109. package/dist-types/commands/ListTagsCommand.d.ts +2 -0
  110. package/dist-types/commands/ResetParameterGroupCommand.d.ts +2 -0
  111. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  112. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  113. package/dist-types/commands/UpdateACLCommand.d.ts +2 -0
  114. package/dist-types/commands/UpdateClusterCommand.d.ts +2 -0
  115. package/dist-types/commands/UpdateParameterGroupCommand.d.ts +2 -0
  116. package/dist-types/commands/UpdateSubnetGroupCommand.d.ts +2 -0
  117. package/dist-types/commands/UpdateUserCommand.d.ts +2 -0
  118. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  119. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  120. package/dist-types/endpoint/ruleset.d.ts +2 -0
  121. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  122. package/dist-types/runtimeConfig.d.ts +4 -2
  123. package/dist-types/runtimeConfig.native.d.ts +4 -2
  124. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  125. package/dist-types/ts3.4/MemoryDBClient.d.ts +15 -8
  126. package/dist-types/ts3.4/commands/BatchUpdateClusterCommand.d.ts +2 -0
  127. package/dist-types/ts3.4/commands/CopySnapshotCommand.d.ts +2 -0
  128. package/dist-types/ts3.4/commands/CreateACLCommand.d.ts +2 -0
  129. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -0
  130. package/dist-types/ts3.4/commands/CreateParameterGroupCommand.d.ts +2 -0
  131. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +2 -0
  132. package/dist-types/ts3.4/commands/CreateSubnetGroupCommand.d.ts +2 -0
  133. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +2 -0
  134. package/dist-types/ts3.4/commands/DeleteACLCommand.d.ts +2 -0
  135. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +2 -0
  136. package/dist-types/ts3.4/commands/DeleteParameterGroupCommand.d.ts +2 -0
  137. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +2 -0
  138. package/dist-types/ts3.4/commands/DeleteSubnetGroupCommand.d.ts +2 -0
  139. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -0
  140. package/dist-types/ts3.4/commands/DescribeACLsCommand.d.ts +2 -0
  141. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +2 -0
  142. package/dist-types/ts3.4/commands/DescribeEngineVersionsCommand.d.ts +2 -0
  143. package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -0
  144. package/dist-types/ts3.4/commands/DescribeParameterGroupsCommand.d.ts +2 -0
  145. package/dist-types/ts3.4/commands/DescribeParametersCommand.d.ts +2 -0
  146. package/dist-types/ts3.4/commands/DescribeServiceUpdatesCommand.d.ts +2 -0
  147. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +2 -0
  148. package/dist-types/ts3.4/commands/DescribeSubnetGroupsCommand.d.ts +2 -0
  149. package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +2 -0
  150. package/dist-types/ts3.4/commands/FailoverShardCommand.d.ts +2 -0
  151. package/dist-types/ts3.4/commands/ListAllowedNodeTypeUpdatesCommand.d.ts +2 -0
  152. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -0
  153. package/dist-types/ts3.4/commands/ResetParameterGroupCommand.d.ts +2 -0
  154. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  155. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  156. package/dist-types/ts3.4/commands/UpdateACLCommand.d.ts +2 -0
  157. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +2 -0
  158. package/dist-types/ts3.4/commands/UpdateParameterGroupCommand.d.ts +2 -0
  159. package/dist-types/ts3.4/commands/UpdateSubnetGroupCommand.d.ts +2 -0
  160. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +2 -0
  161. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  162. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  163. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  164. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  165. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  166. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  167. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  168. package/package.json +4 -2
  169. package/dist-cjs/endpoints.js +0 -143
  170. package/dist-es/endpoints.js +0 -139
  171. package/dist-types/endpoints.d.ts +0 -2
  172. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,139 +0,0 @@
1
- import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
- fips: {
4
- variants: [
5
- {
6
- hostname: "memory-db-fips.us-west-1.amazonaws.com",
7
- tags: [],
8
- },
9
- ],
10
- signingRegion: "us-west-1",
11
- },
12
- };
13
- const partitionHash = {
14
- aws: {
15
- regions: [
16
- "af-south-1",
17
- "ap-east-1",
18
- "ap-northeast-1",
19
- "ap-northeast-2",
20
- "ap-northeast-3",
21
- "ap-south-1",
22
- "ap-southeast-1",
23
- "ap-southeast-2",
24
- "ap-southeast-3",
25
- "ca-central-1",
26
- "eu-central-1",
27
- "eu-north-1",
28
- "eu-south-1",
29
- "eu-west-1",
30
- "eu-west-2",
31
- "eu-west-3",
32
- "fips",
33
- "me-central-1",
34
- "me-south-1",
35
- "sa-east-1",
36
- "us-east-1",
37
- "us-east-2",
38
- "us-west-1",
39
- "us-west-2",
40
- ],
41
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
42
- variants: [
43
- {
44
- hostname: "memory-db.{region}.amazonaws.com",
45
- tags: [],
46
- },
47
- {
48
- hostname: "memory-db-fips.{region}.amazonaws.com",
49
- tags: ["fips"],
50
- },
51
- {
52
- hostname: "memory-db-fips.{region}.api.aws",
53
- tags: ["dualstack", "fips"],
54
- },
55
- {
56
- hostname: "memory-db.{region}.api.aws",
57
- tags: ["dualstack"],
58
- },
59
- ],
60
- },
61
- "aws-cn": {
62
- regions: ["cn-north-1", "cn-northwest-1"],
63
- regionRegex: "^cn\\-\\w+\\-\\d+$",
64
- variants: [
65
- {
66
- hostname: "memory-db.{region}.amazonaws.com.cn",
67
- tags: [],
68
- },
69
- {
70
- hostname: "memory-db-fips.{region}.amazonaws.com.cn",
71
- tags: ["fips"],
72
- },
73
- {
74
- hostname: "memory-db-fips.{region}.api.amazonwebservices.com.cn",
75
- tags: ["dualstack", "fips"],
76
- },
77
- {
78
- hostname: "memory-db.{region}.api.amazonwebservices.com.cn",
79
- tags: ["dualstack"],
80
- },
81
- ],
82
- },
83
- "aws-iso": {
84
- regions: ["us-iso-east-1", "us-iso-west-1"],
85
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
86
- variants: [
87
- {
88
- hostname: "memory-db.{region}.c2s.ic.gov",
89
- tags: [],
90
- },
91
- {
92
- hostname: "memory-db-fips.{region}.c2s.ic.gov",
93
- tags: ["fips"],
94
- },
95
- ],
96
- },
97
- "aws-iso-b": {
98
- regions: ["us-isob-east-1"],
99
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
100
- variants: [
101
- {
102
- hostname: "memory-db.{region}.sc2s.sgov.gov",
103
- tags: [],
104
- },
105
- {
106
- hostname: "memory-db-fips.{region}.sc2s.sgov.gov",
107
- tags: ["fips"],
108
- },
109
- ],
110
- },
111
- "aws-us-gov": {
112
- regions: ["us-gov-east-1", "us-gov-west-1"],
113
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
114
- variants: [
115
- {
116
- hostname: "memory-db.{region}.amazonaws.com",
117
- tags: [],
118
- },
119
- {
120
- hostname: "memory-db-fips.{region}.amazonaws.com",
121
- tags: ["fips"],
122
- },
123
- {
124
- hostname: "memory-db-fips.{region}.api.aws",
125
- tags: ["dualstack", "fips"],
126
- },
127
- {
128
- hostname: "memory-db.{region}.api.aws",
129
- tags: ["dualstack"],
130
- },
131
- ],
132
- },
133
- };
134
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
135
- ...options,
136
- signingService: "memorydb",
137
- regionHash,
138
- partitionHash,
139
- });
@@ -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;