@aws-sdk/client-elasticache 3.1021.0 → 3.1023.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.
@@ -1440,8 +1440,8 @@ exports.CreateReplicationGroupResult$ = [3, n0, _CRGR,
1440
1440
  ];
1441
1441
  exports.CreateServerlessCacheRequest$ = [3, n0, _CSCR,
1442
1442
  0,
1443
- [_SCN, _E, _D, _MEVa, _CUL, _KKI, _SGI, _SATR, _T, _UGIs, _SI, _SRL, _DST],
1444
- [0, 0, 0, 0, () => exports.CacheUsageLimits$, 0, [() => SecurityGroupIdsList, 0], [() => SnapshotArnsList, 0], [() => TagList, 0], 0, [() => SubnetIdsList, 0], 1, 0], 2
1443
+ [_SCN, _E, _D, _MEVa, _CUL, _KKI, _SGI, _SATR, _T, _UGIs, _SI, _SRL, _DST, _NT],
1444
+ [0, 0, 0, 0, () => exports.CacheUsageLimits$, 0, [() => SecurityGroupIdsList, 0], [() => SnapshotArnsList, 0], [() => TagList, 0], 0, [() => SubnetIdsList, 0], 1, 0, 0], 2
1445
1445
  ];
1446
1446
  exports.CreateServerlessCacheResponse$ = [3, n0, _CSCRr,
1447
1447
  0,
@@ -2110,8 +2110,8 @@ exports.SecurityGroupMembership$ = [3, n0, _SGM,
2110
2110
  ];
2111
2111
  exports.ServerlessCache$ = [3, n0, _SC,
2112
2112
  0,
2113
- [_SCN, _D, _CTr, _St, _E, _MEVa, _FEV, _CUL, _KKI, _SGI, _En, _RE, _ARN, _UGIs, _SI, _SRL, _DST],
2114
- [0, 0, 4, 0, 0, 0, 0, () => exports.CacheUsageLimits$, 0, [() => SecurityGroupIdsList, 0], () => exports.Endpoint$, () => exports.Endpoint$, 0, 0, [() => SubnetIdsList, 0], 1, 0]
2113
+ [_SCN, _D, _CTr, _St, _E, _MEVa, _FEV, _CUL, _KKI, _SGI, _En, _RE, _ARN, _UGIs, _SI, _SRL, _DST, _NT],
2114
+ [0, 0, 4, 0, 0, 0, 0, () => exports.CacheUsageLimits$, 0, [() => SecurityGroupIdsList, 0], () => exports.Endpoint$, () => exports.Endpoint$, 0, 0, [() => SubnetIdsList, 0], 1, 0, 0]
2115
2115
  ];
2116
2116
  exports.ServerlessCacheConfiguration$ = [3, n0, _SCC,
2117
2117
  0,
@@ -1430,8 +1430,8 @@ export var CreateReplicationGroupResult$ = [3, n0, _CRGR,
1430
1430
  ];
1431
1431
  export var CreateServerlessCacheRequest$ = [3, n0, _CSCR,
1432
1432
  0,
1433
- [_SCN, _E, _D, _MEVa, _CUL, _KKI, _SGI, _SATR, _T, _UGIs, _SI, _SRL, _DST],
1434
- [0, 0, 0, 0, () => CacheUsageLimits$, 0, [() => SecurityGroupIdsList, 0], [() => SnapshotArnsList, 0], [() => TagList, 0], 0, [() => SubnetIdsList, 0], 1, 0], 2
1433
+ [_SCN, _E, _D, _MEVa, _CUL, _KKI, _SGI, _SATR, _T, _UGIs, _SI, _SRL, _DST, _NT],
1434
+ [0, 0, 0, 0, () => CacheUsageLimits$, 0, [() => SecurityGroupIdsList, 0], [() => SnapshotArnsList, 0], [() => TagList, 0], 0, [() => SubnetIdsList, 0], 1, 0, 0], 2
1435
1435
  ];
1436
1436
  export var CreateServerlessCacheResponse$ = [3, n0, _CSCRr,
1437
1437
  0,
@@ -2100,8 +2100,8 @@ export var SecurityGroupMembership$ = [3, n0, _SGM,
2100
2100
  ];
2101
2101
  export var ServerlessCache$ = [3, n0, _SC,
2102
2102
  0,
2103
- [_SCN, _D, _CTr, _St, _E, _MEVa, _FEV, _CUL, _KKI, _SGI, _En, _RE, _ARN, _UGIs, _SI, _SRL, _DST],
2104
- [0, 0, 4, 0, 0, 0, 0, () => CacheUsageLimits$, 0, [() => SecurityGroupIdsList, 0], () => Endpoint$, () => Endpoint$, 0, 0, [() => SubnetIdsList, 0], 1, 0]
2103
+ [_SCN, _D, _CTr, _St, _E, _MEVa, _FEV, _CUL, _KKI, _SGI, _En, _RE, _ARN, _UGIs, _SI, _SRL, _DST, _NT],
2104
+ [0, 0, 4, 0, 0, 0, 0, () => CacheUsageLimits$, 0, [() => SecurityGroupIdsList, 0], () => Endpoint$, () => Endpoint$, 0, 0, [() => SubnetIdsList, 0], 1, 0, 0]
2105
2105
  ];
2106
2106
  export var ServerlessCacheConfiguration$ = [3, n0, _SCC,
2107
2107
  0,
@@ -71,6 +71,7 @@ declare const CreateServerlessCacheCommand_base: {
71
71
  * ],
72
72
  * SnapshotRetentionLimit: Number("int"),
73
73
  * DailySnapshotTime: "STRING_VALUE",
74
+ * NetworkType: "ipv4" || "ipv6" || "dual_stack",
74
75
  * };
75
76
  * const command = new CreateServerlessCacheCommand(input);
76
77
  * const response = await client.send(command);
@@ -113,6 +114,7 @@ declare const CreateServerlessCacheCommand_base: {
113
114
  * // ],
114
115
  * // SnapshotRetentionLimit: Number("int"),
115
116
  * // DailySnapshotTime: "STRING_VALUE",
117
+ * // NetworkType: "ipv4" || "ipv6" || "dual_stack",
116
118
  * // },
117
119
  * // };
118
120
  *
@@ -86,6 +86,7 @@ declare const DeleteServerlessCacheCommand_base: {
86
86
  * // ],
87
87
  * // SnapshotRetentionLimit: Number("int"),
88
88
  * // DailySnapshotTime: "STRING_VALUE",
89
+ * // NetworkType: "ipv4" || "ipv6" || "dual_stack",
89
90
  * // },
90
91
  * // };
91
92
  *
@@ -86,6 +86,7 @@ declare const DescribeServerlessCachesCommand_base: {
86
86
  * // ],
87
87
  * // SnapshotRetentionLimit: Number("int"),
88
88
  * // DailySnapshotTime: "STRING_VALUE",
89
+ * // NetworkType: "ipv4" || "ipv6" || "dual_stack",
89
90
  * // },
90
91
  * // ],
91
92
  * // };
@@ -101,6 +101,7 @@ declare const ModifyServerlessCacheCommand_base: {
101
101
  * // ],
102
102
  * // SnapshotRetentionLimit: Number("int"),
103
103
  * // DailySnapshotTime: "STRING_VALUE",
104
+ * // NetworkType: "ipv4" || "ipv6" || "dual_stack",
104
105
  * // },
105
106
  * // };
106
107
  *
@@ -876,7 +876,7 @@ export interface ReplicationGroup {
876
876
  */
877
877
  ClusterMode?: ClusterMode | undefined;
878
878
  /**
879
- * <p>The engine used in a replication group. The options are redis, memcached or valkey.</p>
879
+ * <p>The engine used in a replication group. The options are valkey, memcached or redis.</p>
880
880
  * @public
881
881
  */
882
882
  Engine?: string | undefined;
@@ -901,7 +901,7 @@ export interface CopyServerlessCacheSnapshotRequest {
901
901
  */
902
902
  SourceServerlessCacheSnapshotName: string | undefined;
903
903
  /**
904
- * <p>The identifier for the snapshot to be created. Available for Valkey, Redis OSS and Serverless Memcached only.</p>
904
+ * <p>The identifier for the snapshot to be created. Available for Valkey, Redis OSS and Serverless Memcached only. This value is stored as a lowercase string.</p>
905
905
  * @public
906
906
  */
907
907
  TargetServerlessCacheSnapshotName: string | undefined;
@@ -1012,7 +1012,7 @@ export interface CopySnapshotMessage {
1012
1012
  /**
1013
1013
  * <p>A name for the snapshot copy. ElastiCache does not permit overwriting a snapshot,
1014
1014
  * therefore this name must be unique within its context - ElastiCache or an Amazon S3
1015
- * bucket if exporting.</p>
1015
+ * bucket if exporting. This value is stored as a lowercase string.</p>
1016
1016
  * @public
1017
1017
  */
1018
1018
  TargetSnapshotName: string | undefined;
@@ -2943,7 +2943,7 @@ export interface CreateCacheClusterResult {
2943
2943
  */
2944
2944
  export interface CreateCacheParameterGroupMessage {
2945
2945
  /**
2946
- * <p>A user-specified name for the cache parameter group.</p>
2946
+ * <p>A user-specified name for the cache parameter group. This value is stored as a lowercase string.</p>
2947
2947
  * @public
2948
2948
  */
2949
2949
  CacheParameterGroupName: string | undefined;
@@ -3245,7 +3245,7 @@ export interface CreateGlobalReplicationGroupMessage {
3245
3245
  GlobalReplicationGroupDescription?: string | undefined;
3246
3246
  /**
3247
3247
  * <p>The name of the primary cluster that accepts writes and will replicate updates to the
3248
- * secondary cluster.</p>
3248
+ * secondary cluster. This value is stored as a lowercase string.</p>
3249
3249
  * @public
3250
3250
  */
3251
3251
  PrimaryReplicationGroupId: string | undefined;
@@ -3963,7 +3963,7 @@ export interface CreateReplicationGroupMessage {
3963
3963
  * replication group. </p>
3964
3964
  * <p>
3965
3965
  * <b>Required:</b> Only available when creating a replication
3966
- * group in an Amazon VPC using Valkey 7.2 and later, Redis OSS version <code>3.2.6</code>, or Redis OSS <code>4.x</code> and
3966
+ * group in an Amazon VPC using Valkey <code>7.2</code> and later, Redis OSS version <code>3.2.6</code>, or Redis OSS <code>4.x</code> and
3967
3967
  * later.</p>
3968
3968
  * <p>Default: <code>true</code> when using Valkey, <code>false</code> when using Redis OSS</p>
3969
3969
  * @public
@@ -4168,8 +4168,8 @@ export interface CreateServerlessCacheRequest {
4168
4168
  */
4169
4169
  SubnetIds?: string[] | undefined;
4170
4170
  /**
4171
- * <p>The number of snapshots that will be retained for the serverless cache that is being created.
4172
- * As new snapshots beyond this limit are added, the oldest snapshots will be deleted on a rolling basis. Available for Valkey, Redis OSS and Serverless Memcached only.</p>
4171
+ * <p>The number of days for which ElastiCache retains automatic snapshots before deleting them.
4172
+ * Available for Valkey, Redis OSS and Serverless Memcached only. The maximum value allowed is 35 days.</p>
4173
4173
  * @public
4174
4174
  */
4175
4175
  SnapshotRetentionLimit?: number | undefined;
@@ -4179,6 +4179,15 @@ export interface CreateServerlessCacheRequest {
4179
4179
  * @public
4180
4180
  */
4181
4181
  DailySnapshotTime?: string | undefined;
4182
+ /**
4183
+ * <p>The IP protocol version used by the serverless cache.
4184
+ * Must be either <code>ipv4</code> | <code>ipv6</code> | <code>dual_stack</code>.
4185
+ * <code>ipv6</code> is only supported with ipv6-only subnets.
4186
+ * If not specified, defaults to <code>ipv4</code>, unless all provided subnets are IPv6-only, in which case it defaults to <code>ipv6</code>.
4187
+ * </p>
4188
+ * @public
4189
+ */
4190
+ NetworkType?: NetworkType | undefined;
4182
4191
  }
4183
4192
  /**
4184
4193
  * <p>The resource representing a serverless cache.</p>
@@ -4265,7 +4274,7 @@ export interface ServerlessCache {
4265
4274
  */
4266
4275
  SubnetIds?: string[] | undefined;
4267
4276
  /**
4268
- * <p>The current setting for the number of serverless cache snapshots the system will retain. Available for Valkey, Redis OSS and Serverless Memcached only.</p>
4277
+ * <p>The number of days for which ElastiCache retains automatic snapshots before deleting them. Available for Valkey, Redis OSS and Serverless Memcached only. The maximum value allowed is 35 days.</p>
4269
4278
  * @public
4270
4279
  */
4271
4280
  SnapshotRetentionLimit?: number | undefined;
@@ -4275,6 +4284,14 @@ export interface ServerlessCache {
4275
4284
  * @public
4276
4285
  */
4277
4286
  DailySnapshotTime?: string | undefined;
4287
+ /**
4288
+ * <p>The type of IP address protocol used by the serverless cache.
4289
+ * Must be either <code>ipv4</code> | <code>ipv6</code> | <code>dual_stack</code>.
4290
+ * <code>ipv6</code> is only supported with IPv6-only subnets.
4291
+ * If not specified, defaults to <code>ipv4</code>, unless all provided subnets are IPv6-only, in which case it defaults to <code>ipv6</code>.</p>
4292
+ * @public
4293
+ */
4294
+ NetworkType?: NetworkType | undefined;
4278
4295
  }
4279
4296
  /**
4280
4297
  * @public
@@ -4292,7 +4309,7 @@ export interface CreateServerlessCacheResponse {
4292
4309
  export interface CreateServerlessCacheSnapshotRequest {
4293
4310
  /**
4294
4311
  * <p>The name for the snapshot being created. Must be unique for the customer account. Available for Valkey, Redis OSS and Serverless Memcached only.
4295
- * Must be between 1 and 255 characters.</p>
4312
+ * Must be between 1 and 255 characters. This value is stored as a lowercase string.</p>
4296
4313
  * @public
4297
4314
  */
4298
4315
  ServerlessCacheSnapshotName: string | undefined;
@@ -4340,7 +4357,7 @@ export interface CreateSnapshotMessage {
4340
4357
  */
4341
4358
  CacheClusterId?: string | undefined;
4342
4359
  /**
4343
- * <p>A name for the snapshot being created.</p>
4360
+ * <p>A name for the snapshot being created. This value is stored as a lowercase string.</p>
4344
4361
  * @public
4345
4362
  */
4346
4363
  SnapshotName: string | undefined;
@@ -4390,7 +4407,7 @@ export interface AuthenticationMode {
4390
4407
  */
4391
4408
  export interface CreateUserMessage {
4392
4409
  /**
4393
- * <p>The ID of the user.</p>
4410
+ * <p>The ID of the user. This value is stored as a lowercase string.</p>
4394
4411
  * @public
4395
4412
  */
4396
4413
  UserId: string | undefined;
@@ -4502,7 +4519,7 @@ export interface User {
4502
4519
  */
4503
4520
  export interface CreateUserGroupMessage {
4504
4521
  /**
4505
- * <p>The ID of the user group.</p>
4522
+ * <p>The ID of the user group. This value is stored as a lowercase string.</p>
4506
4523
  * @public
4507
4524
  */
4508
4525
  UserGroupId: string | undefined;
@@ -8338,7 +8355,7 @@ export interface ModifyGlobalReplicationGroupMessage {
8338
8355
  */
8339
8356
  CacheNodeType?: string | undefined;
8340
8357
  /**
8341
- * <p>Modifies the engine listed in a global replication group message. The options are redis, memcached or valkey.</p>
8358
+ * <p>Modifies the engine listed in a global replication group message. The options are valkey, memcached or redis.</p>
8342
8359
  * @public
8343
8360
  */
8344
8361
  Engine?: string | undefined;
@@ -8538,7 +8555,7 @@ export interface ModifyReplicationGroupMessage {
8538
8555
  */
8539
8556
  ApplyImmediately?: boolean | undefined;
8540
8557
  /**
8541
- * <p>Modifies the engine listed in a replication group message. The options are redis, memcached or valkey.</p>
8558
+ * <p>Modifies the engine listed in a replication group message. The options are valkey, memcached or redis.</p>
8542
8559
  * @public
8543
8560
  */
8544
8561
  Engine?: string | undefined;
@@ -8818,7 +8835,7 @@ export interface ModifyServerlessCacheRequest {
8818
8835
  */
8819
8836
  DailySnapshotTime?: string | undefined;
8820
8837
  /**
8821
- * <p>Modifies the engine listed in a serverless cache request. The options are redis, memcached or valkey.</p>
8838
+ * <p>Modifies the engine listed in a serverless cache request. The options are valkey, memcached or redis.</p>
8822
8839
  * @public
8823
8840
  */
8824
8841
  Engine?: string | undefined;
@@ -560,6 +560,7 @@ export interface CreateServerlessCacheRequest {
560
560
  SubnetIds?: string[] | undefined;
561
561
  SnapshotRetentionLimit?: number | undefined;
562
562
  DailySnapshotTime?: string | undefined;
563
+ NetworkType?: NetworkType | undefined;
563
564
  }
564
565
  export interface ServerlessCache {
565
566
  ServerlessCacheName?: string | undefined;
@@ -579,6 +580,7 @@ export interface ServerlessCache {
579
580
  SubnetIds?: string[] | undefined;
580
581
  SnapshotRetentionLimit?: number | undefined;
581
582
  DailySnapshotTime?: string | undefined;
583
+ NetworkType?: NetworkType | undefined;
582
584
  }
583
585
  export interface CreateServerlessCacheResponse {
584
586
  ServerlessCache?: ServerlessCache | undefined;
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.1021.0",
4
+ "version": "3.1023.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-elasticache",