@aws-sdk/client-elasticache 3.39.0 → 3.43.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 (88) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist-cjs/endpoints.js +138 -9
  3. package/dist-cjs/models/models_0.js +11 -6
  4. package/dist-cjs/protocols/Aws_query.js +83 -0
  5. package/dist-cjs/runtimeConfig.browser.js +6 -3
  6. package/dist-cjs/runtimeConfig.js +5 -3
  7. package/dist-es/endpoints.js +138 -9
  8. package/dist-es/models/models_0.js +5 -0
  9. package/dist-es/protocols/Aws_query.js +269 -186
  10. package/dist-es/runtimeConfig.browser.js +3 -2
  11. package/dist-es/runtimeConfig.js +3 -3
  12. package/dist-types/ElastiCache.d.ts +6 -5
  13. package/dist-types/ElastiCacheClient.d.ts +8 -0
  14. package/dist-types/commands/AddTagsToResourceCommand.d.ts +1 -1
  15. package/dist-types/commands/AuthorizeCacheSecurityGroupIngressCommand.d.ts +1 -1
  16. package/dist-types/commands/BatchApplyUpdateActionCommand.d.ts +1 -1
  17. package/dist-types/commands/BatchStopUpdateActionCommand.d.ts +1 -1
  18. package/dist-types/commands/CompleteMigrationCommand.d.ts +1 -1
  19. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateCacheClusterCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateCacheParameterGroupCommand.d.ts +1 -1
  22. package/dist-types/commands/CreateCacheSecurityGroupCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateCacheSubnetGroupCommand.d.ts +1 -1
  24. package/dist-types/commands/CreateGlobalReplicationGroupCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateReplicationGroupCommand.d.ts +1 -1
  26. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  27. package/dist-types/commands/CreateUserCommand.d.ts +2 -2
  28. package/dist-types/commands/CreateUserGroupCommand.d.ts +2 -2
  29. package/dist-types/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +1 -1
  30. package/dist-types/commands/DecreaseReplicaCountCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteCacheClusterCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteCacheParameterGroupCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteCacheSecurityGroupCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteCacheSubnetGroupCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteGlobalReplicationGroupCommand.d.ts +1 -1
  36. package/dist-types/commands/DeleteReplicationGroupCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteUserCommand.d.ts +2 -2
  39. package/dist-types/commands/DeleteUserGroupCommand.d.ts +2 -2
  40. package/dist-types/commands/DescribeCacheClustersCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeCacheEngineVersionsCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeCacheParameterGroupsCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeCacheParametersCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeCacheSecurityGroupsCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeCacheSubnetGroupsCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeEventsCommand.d.ts +1 -1
  48. package/dist-types/commands/DescribeGlobalReplicationGroupsCommand.d.ts +1 -1
  49. package/dist-types/commands/DescribeReplicationGroupsCommand.d.ts +1 -1
  50. package/dist-types/commands/DescribeReservedCacheNodesCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeReservedCacheNodesOfferingsCommand.d.ts +1 -1
  52. package/dist-types/commands/DescribeServiceUpdatesCommand.d.ts +1 -1
  53. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
  54. package/dist-types/commands/DescribeUpdateActionsCommand.d.ts +1 -1
  55. package/dist-types/commands/DescribeUserGroupsCommand.d.ts +1 -1
  56. package/dist-types/commands/DescribeUsersCommand.d.ts +1 -1
  57. package/dist-types/commands/DisassociateGlobalReplicationGroupCommand.d.ts +1 -1
  58. package/dist-types/commands/FailoverGlobalReplicationGroupCommand.d.ts +1 -1
  59. package/dist-types/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +1 -1
  60. package/dist-types/commands/IncreaseReplicaCountCommand.d.ts +1 -1
  61. package/dist-types/commands/ListAllowedNodeTypeModificationsCommand.d.ts +1 -1
  62. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  63. package/dist-types/commands/ModifyCacheClusterCommand.d.ts +1 -1
  64. package/dist-types/commands/ModifyCacheParameterGroupCommand.d.ts +1 -1
  65. package/dist-types/commands/ModifyCacheSubnetGroupCommand.d.ts +1 -1
  66. package/dist-types/commands/ModifyGlobalReplicationGroupCommand.d.ts +1 -1
  67. package/dist-types/commands/ModifyReplicationGroupCommand.d.ts +1 -1
  68. package/dist-types/commands/ModifyReplicationGroupShardConfigurationCommand.d.ts +1 -1
  69. package/dist-types/commands/ModifyUserCommand.d.ts +1 -1
  70. package/dist-types/commands/ModifyUserGroupCommand.d.ts +1 -1
  71. package/dist-types/commands/PurchaseReservedCacheNodesOfferingCommand.d.ts +1 -1
  72. package/dist-types/commands/RebalanceSlotsInGlobalReplicationGroupCommand.d.ts +1 -1
  73. package/dist-types/commands/RebootCacheClusterCommand.d.ts +1 -1
  74. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
  75. package/dist-types/commands/ResetCacheParameterGroupCommand.d.ts +1 -1
  76. package/dist-types/commands/RevokeCacheSecurityGroupIngressCommand.d.ts +1 -1
  77. package/dist-types/commands/StartMigrationCommand.d.ts +1 -1
  78. package/dist-types/commands/TestFailoverCommand.d.ts +3 -2
  79. package/dist-types/models/models_0.d.ts +544 -78
  80. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  81. package/dist-types/runtimeConfig.d.ts +2 -0
  82. package/dist-types/runtimeConfig.native.d.ts +2 -0
  83. package/dist-types/ts3.4/ElastiCacheClient.d.ts +4 -0
  84. package/dist-types/ts3.4/models/models_0.d.ts +14 -0
  85. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  86. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  87. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  88. package/package.json +24 -24
@@ -1,9 +1,65 @@
1
1
  import { __assign, __awaiter, __generator } from "tslib";
2
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
- fips: {
5
- hostname: "elasticache.us-gov-west-1.amazonaws.com",
6
- signingRegion: "us-gov-west-1",
4
+ "us-east-1": {
5
+ variants: [
6
+ {
7
+ hostname: "elasticache.us-east-1.amazonaws.com",
8
+ tags: [],
9
+ },
10
+ {
11
+ hostname: "elasticache-fips.us-east-1.amazonaws.com",
12
+ tags: ["fips"],
13
+ },
14
+ ],
15
+ },
16
+ "us-east-2": {
17
+ variants: [
18
+ {
19
+ hostname: "elasticache.us-east-2.amazonaws.com",
20
+ tags: [],
21
+ },
22
+ {
23
+ hostname: "elasticache-fips.us-east-2.amazonaws.com",
24
+ tags: ["fips"],
25
+ },
26
+ ],
27
+ },
28
+ "us-gov-west-1": {
29
+ variants: [
30
+ {
31
+ hostname: "elasticache.us-gov-west-1.amazonaws.com",
32
+ tags: [],
33
+ },
34
+ {
35
+ hostname: "elasticache.us-gov-west-1.amazonaws.com",
36
+ tags: ["fips"],
37
+ },
38
+ ],
39
+ },
40
+ "us-west-1": {
41
+ variants: [
42
+ {
43
+ hostname: "elasticache.us-west-1.amazonaws.com",
44
+ tags: [],
45
+ },
46
+ {
47
+ hostname: "elasticache-fips.us-west-1.amazonaws.com",
48
+ tags: ["fips"],
49
+ },
50
+ ],
51
+ },
52
+ "us-west-2": {
53
+ variants: [
54
+ {
55
+ hostname: "elasticache.us-west-2.amazonaws.com",
56
+ tags: [],
57
+ },
58
+ {
59
+ hostname: "elasticache-fips.us-west-2.amazonaws.com",
60
+ tags: ["fips"],
61
+ },
62
+ ],
7
63
  },
8
64
  };
9
65
  var partitionHash = {
@@ -28,32 +84,105 @@ var partitionHash = {
28
84
  "me-south-1",
29
85
  "sa-east-1",
30
86
  "us-east-1",
87
+ "us-east-1-fips",
31
88
  "us-east-2",
89
+ "us-east-2-fips",
32
90
  "us-west-1",
91
+ "us-west-1-fips",
33
92
  "us-west-2",
93
+ "us-west-2-fips",
34
94
  ],
35
95
  regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
36
- hostname: "elasticache.{region}.amazonaws.com",
96
+ variants: [
97
+ {
98
+ hostname: "elasticache.{region}.amazonaws.com",
99
+ tags: [],
100
+ },
101
+ {
102
+ hostname: "elasticache-fips.{region}.amazonaws.com",
103
+ tags: ["fips"],
104
+ },
105
+ {
106
+ hostname: "elasticache-fips.{region}.api.aws",
107
+ tags: ["dualstack", "fips"],
108
+ },
109
+ {
110
+ hostname: "elasticache.{region}.api.aws",
111
+ tags: ["dualstack"],
112
+ },
113
+ ],
37
114
  },
38
115
  "aws-cn": {
39
116
  regions: ["cn-north-1", "cn-northwest-1"],
40
117
  regionRegex: "^cn\\-\\w+\\-\\d+$",
41
- hostname: "elasticache.{region}.amazonaws.com.cn",
118
+ variants: [
119
+ {
120
+ hostname: "elasticache.{region}.amazonaws.com.cn",
121
+ tags: [],
122
+ },
123
+ {
124
+ hostname: "elasticache-fips.{region}.amazonaws.com.cn",
125
+ tags: ["fips"],
126
+ },
127
+ {
128
+ hostname: "elasticache-fips.{region}.api.amazonwebservices.com.cn",
129
+ tags: ["dualstack", "fips"],
130
+ },
131
+ {
132
+ hostname: "elasticache.{region}.api.amazonwebservices.com.cn",
133
+ tags: ["dualstack"],
134
+ },
135
+ ],
42
136
  },
43
137
  "aws-iso": {
44
138
  regions: ["us-iso-east-1", "us-iso-west-1"],
45
139
  regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
46
- hostname: "elasticache.{region}.c2s.ic.gov",
140
+ variants: [
141
+ {
142
+ hostname: "elasticache.{region}.c2s.ic.gov",
143
+ tags: [],
144
+ },
145
+ {
146
+ hostname: "elasticache-fips.{region}.c2s.ic.gov",
147
+ tags: ["fips"],
148
+ },
149
+ ],
47
150
  },
48
151
  "aws-iso-b": {
49
152
  regions: ["us-isob-east-1"],
50
153
  regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
51
- hostname: "elasticache.{region}.sc2s.sgov.gov",
154
+ variants: [
155
+ {
156
+ hostname: "elasticache.{region}.sc2s.sgov.gov",
157
+ tags: [],
158
+ },
159
+ {
160
+ hostname: "elasticache-fips.{region}.sc2s.sgov.gov",
161
+ tags: ["fips"],
162
+ },
163
+ ],
52
164
  },
53
165
  "aws-us-gov": {
54
- regions: ["fips", "us-gov-east-1", "us-gov-west-1"],
166
+ regions: ["fips", "us-gov-east-1", "us-gov-west-1", "us-gov-west-1-fips"],
55
167
  regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
56
- hostname: "elasticache.{region}.amazonaws.com",
168
+ variants: [
169
+ {
170
+ hostname: "elasticache.{region}.amazonaws.com",
171
+ tags: [],
172
+ },
173
+ {
174
+ hostname: "elasticache.{region}.amazonaws.com",
175
+ tags: ["fips"],
176
+ },
177
+ {
178
+ hostname: "elasticache-fips.{region}.api.aws",
179
+ tags: ["dualstack", "fips"],
180
+ },
181
+ {
182
+ hostname: "elasticache.{region}.api.aws",
183
+ tags: ["dualstack"],
184
+ },
185
+ ],
57
186
  },
58
187
  };
59
188
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
@@ -146,6 +146,11 @@ export var Endpoint;
146
146
  (function (Endpoint) {
147
147
  Endpoint.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
148
148
  })(Endpoint || (Endpoint = {}));
149
+ export var DataTieringStatus;
150
+ (function (DataTieringStatus) {
151
+ DataTieringStatus["DISABLED"] = "disabled";
152
+ DataTieringStatus["ENABLED"] = "enabled";
153
+ })(DataTieringStatus || (DataTieringStatus = {}));
149
154
  export var GlobalReplicationGroupInfo;
150
155
  (function (GlobalReplicationGroupInfo) {
151
156
  GlobalReplicationGroupInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };