@aws-sdk/client-elasticache 3.583.0 → 3.588.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.
package/dist-cjs/index.js CHANGED
@@ -5702,10 +5702,10 @@ var se_DescribeEventsMessage = /* @__PURE__ */ __name((input, context) => {
5702
5702
  entries[_ST] = input[_ST];
5703
5703
  }
5704
5704
  if (input[_STt] != null) {
5705
- entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z";
5705
+ entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]);
5706
5706
  }
5707
5707
  if (input[_ET] != null) {
5708
- entries[_ET] = input[_ET].toISOString().split(".")[0] + "Z";
5708
+ entries[_ET] = (0, import_smithy_client.serializeDateTime)(input[_ET]);
5709
5709
  }
5710
5710
  if (input[_Du] != null) {
5711
5711
  entries[_Du] = input[_Du];
@@ -7169,10 +7169,10 @@ var se_TestMigrationMessage = /* @__PURE__ */ __name((input, context) => {
7169
7169
  var se_TimeRangeFilter = /* @__PURE__ */ __name((input, context) => {
7170
7170
  const entries = {};
7171
7171
  if (input[_STt] != null) {
7172
- entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z";
7172
+ entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]);
7173
7173
  }
7174
7174
  if (input[_ET] != null) {
7175
- entries[_ET] = input[_ET].toISOString().split(".")[0] + "Z";
7175
+ entries[_ET] = (0, import_smithy_client.serializeDateTime)(input[_ET]);
7176
7176
  }
7177
7177
  return entries;
7178
7178
  }, "se_TimeRangeFilter");
@@ -1,6 +1,6 @@
1
1
  import { parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "@aws-sdk/core";
2
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
- import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, withBaseException, } from "@smithy/smithy-client";
3
+ import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, withBaseException, } from "@smithy/smithy-client";
4
4
  import { ElastiCacheServiceException as __BaseException } from "../models/ElastiCacheServiceException";
5
5
  import { AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, CacheClusterAlreadyExistsFault, CacheClusterNotFoundFault, CacheParameterGroupAlreadyExistsFault, CacheParameterGroupNotFoundFault, CacheParameterGroupQuotaExceededFault, CacheSecurityGroupAlreadyExistsFault, CacheSecurityGroupNotFoundFault, CacheSecurityGroupQuotaExceededFault, CacheSubnetGroupAlreadyExistsFault, CacheSubnetGroupInUse, CacheSubnetGroupNotFoundFault, CacheSubnetGroupQuotaExceededFault, CacheSubnetQuotaExceededFault, ClusterQuotaForCustomerExceededFault, DefaultUserAssociatedToUserGroupFault, DefaultUserRequired, DuplicateUserNameFault, GlobalReplicationGroupAlreadyExistsFault, GlobalReplicationGroupNotFoundFault, InsufficientCacheClusterCapacityFault, InvalidARNFault, InvalidCacheClusterStateFault, InvalidCacheParameterGroupStateFault, InvalidCacheSecurityGroupStateFault, InvalidCredentialsException, InvalidGlobalReplicationGroupStateFault, InvalidKMSKeyFault, InvalidParameterCombinationException, InvalidParameterValueException, InvalidReplicationGroupStateFault, InvalidServerlessCacheSnapshotStateFault, InvalidServerlessCacheStateFault, InvalidSnapshotStateFault, InvalidSubnet, InvalidUserGroupStateFault, InvalidUserStateFault, InvalidVPCNetworkStateFault, NodeGroupsPerReplicationGroupQuotaExceededFault, NodeQuotaForClusterExceededFault, NodeQuotaForCustomerExceededFault, NoOperationFault, ReplicationGroupAlreadyExistsFault, ReplicationGroupNotFoundFault, ReplicationGroupNotUnderMigrationFault, ReservedCacheNodeAlreadyExistsFault, ReservedCacheNodeNotFoundFault, ReservedCacheNodeQuotaExceededFault, ReservedCacheNodesOfferingNotFoundFault, ServerlessCacheAlreadyExistsFault, ServerlessCacheNotFoundFault, ServerlessCacheQuotaForCustomerExceededFault, ServerlessCacheSnapshotAlreadyExistsFault, ServerlessCacheSnapshotNotFoundFault, ServerlessCacheSnapshotQuotaExceededFault, ServiceLinkedRoleNotFoundFault, ServiceUpdateNotFoundFault, SnapshotAlreadyExistsFault, SnapshotFeatureNotSupportedFault, SnapshotNotFoundFault, SnapshotQuotaExceededFault, SubnetInUse, SubnetNotAllowedFault, TagNotFoundFault, TagQuotaPerResourceExceeded, UserAlreadyExistsFault, UserGroupAlreadyExistsFault, UserGroupNotFoundFault, UserGroupQuotaExceededFault, UserNotFoundFault, UserQuotaExceededFault, } from "../models/models_0";
6
6
  import { APICallRateForCustomerExceededFault, NodeGroupNotFoundFault, ReplicationGroupAlreadyUnderMigrationFault, TestFailoverNotAvailableFault, } from "../models/models_1";
@@ -3831,10 +3831,10 @@ const se_DescribeEventsMessage = (input, context) => {
3831
3831
  entries[_ST] = input[_ST];
3832
3832
  }
3833
3833
  if (input[_STt] != null) {
3834
- entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z";
3834
+ entries[_STt] = __serializeDateTime(input[_STt]);
3835
3835
  }
3836
3836
  if (input[_ET] != null) {
3837
- entries[_ET] = input[_ET].toISOString().split(".")[0] + "Z";
3837
+ entries[_ET] = __serializeDateTime(input[_ET]);
3838
3838
  }
3839
3839
  if (input[_Du] != null) {
3840
3840
  entries[_Du] = input[_Du];
@@ -5275,10 +5275,10 @@ const se_TestMigrationMessage = (input, context) => {
5275
5275
  const se_TimeRangeFilter = (input, context) => {
5276
5276
  const entries = {};
5277
5277
  if (input[_STt] != null) {
5278
- entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z";
5278
+ entries[_STt] = __serializeDateTime(input[_STt]);
5279
5279
  }
5280
5280
  if (input[_ET] != null) {
5281
- entries[_ET] = input[_ET].toISOString().split(".")[0] + "Z";
5281
+ entries[_ET] = __serializeDateTime(input[_ET]);
5282
5282
  }
5283
5283
  return entries;
5284
5284
  };
@@ -26,7 +26,7 @@ declare const TestFailoverCommand_base: {
26
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
27
  };
28
28
  /**
29
- * <p>Represents the input of a <code>TestFailover</code> operation which test automatic
29
+ * <p>Represents the input of a <code>TestFailover</code> operation which tests automatic
30
30
  * failover on a specified node group (called shard in the console) in a replication group
31
31
  * (called cluster in the console).</p>
32
32
  * <p>This API is designed for testing the behavior of your application in case of
@@ -38,7 +38,7 @@ declare const TestFailoverCommand_base: {
38
38
  * </p>
39
39
  * <ul>
40
40
  * <li>
41
- * <p>A customer can use this operation to test automatic failover on up to 5 shards
41
+ * <p>A customer can use this operation to test automatic failover on up to 15 shards
42
42
  * (called node groups in the ElastiCache API and Amazon CLI) in any rolling
43
43
  * 24-hour period.</p>
44
44
  * </li>
@@ -8621,7 +8621,7 @@ export interface DescribeUserGroupsResult {
8621
8621
  /**
8622
8622
  * <p>An optional marker returned from a prior request. Use this marker for pagination of
8623
8623
  * results from this operation. If this parameter is specified, the response includes only
8624
- * records beyond the marker, up to the value specified by MaxRecords. ></p>
8624
+ * records beyond the marker, up to the value specified by MaxRecords.></p>
8625
8625
  * @public
8626
8626
  */
8627
8627
  Marker?: string;
@@ -9353,10 +9353,13 @@ export interface ModifyCacheClusterMessage {
9353
9353
  * specified with the <code>auth-token</code> parameter. Possible values:</p>
9354
9354
  * <ul>
9355
9355
  * <li>
9356
- * <p>Rotate</p>
9356
+ * <p>ROTATE - default, if no update strategy is provided</p>
9357
+ * </li>
9358
+ * <li>
9359
+ * <p>SET - allowed only after ROTATE</p>
9357
9360
  * </li>
9358
9361
  * <li>
9359
- * <p>Set</p>
9362
+ * <p>DELETE - allowed only when transitioning to RBAC</p>
9360
9363
  * </li>
9361
9364
  * </ul>
9362
9365
  * <p> For more information, see <a href="http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/auth.html">Authenticating Users with Redis AUTH</a>
@@ -9790,10 +9793,13 @@ export interface ModifyReplicationGroupMessage {
9790
9793
  * specified with the <code>auth-token</code> parameter. Possible values:</p>
9791
9794
  * <ul>
9792
9795
  * <li>
9793
- * <p>Rotate</p>
9796
+ * <p>ROTATE - default, if no update strategy is provided</p>
9797
+ * </li>
9798
+ * <li>
9799
+ * <p>SET - allowed only after ROTATE</p>
9794
9800
  * </li>
9795
9801
  * <li>
9796
- * <p>Set</p>
9802
+ * <p>DELETE - allowed only when transitioning to RBAC</p>
9797
9803
  * </li>
9798
9804
  * </ul>
9799
9805
  * <p> For more information, see <a href="http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/auth.html">Authenticating Users with Redis AUTH</a>
@@ -93,7 +93,7 @@ export interface TestFailoverMessage {
93
93
  ReplicationGroupId: string | undefined;
94
94
  /**
95
95
  * <p>The name of the node group (called shard in the console) in this replication group on
96
- * which automatic failover is to be tested. You may test automatic failover on up to 5
96
+ * which automatic failover is to be tested. You may test automatic failover on up to 15
97
97
  * node groups in any rolling 24-hour period.</p>
98
98
  * @public
99
99
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-elasticache",
3
3
  "description": "AWS SDK for JavaScript Elasticache Client for Node.js, Browser and React Native",
4
- "version": "3.583.0",
4
+ "version": "3.588.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-elasticache",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.583.0",
24
- "@aws-sdk/client-sts": "3.583.0",
25
- "@aws-sdk/core": "3.582.0",
26
- "@aws-sdk/credential-provider-node": "3.583.0",
23
+ "@aws-sdk/client-sso-oidc": "3.588.0",
24
+ "@aws-sdk/client-sts": "3.588.0",
25
+ "@aws-sdk/core": "3.588.0",
26
+ "@aws-sdk/credential-provider-node": "3.588.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
30
- "@aws-sdk/middleware-user-agent": "3.583.0",
31
- "@aws-sdk/region-config-resolver": "3.577.0",
30
+ "@aws-sdk/middleware-user-agent": "3.587.0",
31
+ "@aws-sdk/region-config-resolver": "3.587.0",
32
32
  "@aws-sdk/types": "3.577.0",
33
- "@aws-sdk/util-endpoints": "3.583.0",
33
+ "@aws-sdk/util-endpoints": "3.587.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.577.0",
35
- "@aws-sdk/util-user-agent-node": "3.577.0",
36
- "@smithy/config-resolver": "^3.0.0",
37
- "@smithy/core": "^2.0.1",
35
+ "@aws-sdk/util-user-agent-node": "3.587.0",
36
+ "@smithy/config-resolver": "^3.0.1",
37
+ "@smithy/core": "^2.1.1",
38
38
  "@smithy/fetch-http-handler": "^3.0.1",
39
39
  "@smithy/hash-node": "^3.0.0",
40
40
  "@smithy/invalid-dependency": "^3.0.0",
41
41
  "@smithy/middleware-content-length": "^3.0.0",
42
- "@smithy/middleware-endpoint": "^3.0.0",
43
- "@smithy/middleware-retry": "^3.0.1",
42
+ "@smithy/middleware-endpoint": "^3.0.1",
43
+ "@smithy/middleware-retry": "^3.0.3",
44
44
  "@smithy/middleware-serde": "^3.0.0",
45
45
  "@smithy/middleware-stack": "^3.0.0",
46
- "@smithy/node-config-provider": "^3.0.0",
46
+ "@smithy/node-config-provider": "^3.1.0",
47
47
  "@smithy/node-http-handler": "^3.0.0",
48
48
  "@smithy/protocol-http": "^4.0.0",
49
- "@smithy/smithy-client": "^3.0.1",
49
+ "@smithy/smithy-client": "^3.1.1",
50
50
  "@smithy/types": "^3.0.0",
51
51
  "@smithy/url-parser": "^3.0.0",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.1",
56
- "@smithy/util-defaults-mode-node": "^3.0.1",
57
- "@smithy/util-endpoints": "^2.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.3",
56
+ "@smithy/util-defaults-mode-node": "^3.0.3",
57
+ "@smithy/util-endpoints": "^2.0.1",
58
58
  "@smithy/util-middleware": "^3.0.0",
59
59
  "@smithy/util-retry": "^3.0.0",
60
60
  "@smithy/util-utf8": "^3.0.0",