@aws-sdk/client-elasticache 3.1141.0 → 3.1143.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
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1140.0";
72
+ var version = "3.1142.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -1209,6 +1209,7 @@ const _CSa = "CacheSize";
1209
1209
  const _CSo = "CopySnapshot";
1210
1210
  const _CSr = "CreateSnapshot";
1211
1211
  const _CT = "ChangeType";
1212
+ const _CTo = "ConnectionType";
1212
1213
  const _CTr = "CreateTime";
1213
1214
  const _CU = "CreateUser";
1214
1215
  const _CUG = "CreateUserGroup";
@@ -2486,8 +2487,8 @@ var CreateReplicationGroupResult$ = [3, n0, _CRGR,
2486
2487
  ];
2487
2488
  var CreateServerlessCacheRequest$ = [3, n0, _CSCR,
2488
2489
  0,
2489
- [_SCN, _E, _D, _MEVa, _CUL, _KKI, _SGI, _SATR, _T, _UGIs, _SI, _SRL, _DST, _NT],
2490
- [0, 0, 0, 0, () => CacheUsageLimits$, 0, [() => SecurityGroupIdsList, 0], [() => SnapshotArnsList, 0], [() => TagList, 0], 0, [() => SubnetIdsList, 0], 1, 0, 0], 2
2490
+ [_SCN, _E, _D, _MEVa, _CUL, _KKI, _SGI, _SATR, _T, _UGIs, _SI, _SRL, _DST, _NT, _CTo],
2491
+ [0, 0, 0, 0, () => CacheUsageLimits$, 0, [() => SecurityGroupIdsList, 0], [() => SnapshotArnsList, 0], [() => TagList, 0], 0, [() => SubnetIdsList, 0], 1, 0, 0, 0], 2
2491
2492
  ];
2492
2493
  var CreateServerlessCacheResponse$ = [3, n0, _CSCRr,
2493
2494
  0,
@@ -3156,8 +3157,8 @@ var SecurityGroupMembership$ = [3, n0, _SGM,
3156
3157
  ];
3157
3158
  var ServerlessCache$ = [3, n0, _SC,
3158
3159
  0,
3159
- [_SCN, _D, _CTr, _St, _E, _MEVa, _FEV, _CUL, _KKI, _SET, _SGI, _En, _RE, _ARN, _UGIs, _SI, _SRL, _DST, _NT],
3160
- [0, 0, 4, 0, 0, 0, 0, () => CacheUsageLimits$, 0, 0, [() => SecurityGroupIdsList, 0], () => Endpoint$, () => Endpoint$, 0, 0, [() => SubnetIdsList, 0], 1, 0, 0]
3160
+ [_SCN, _D, _CTr, _St, _E, _MEVa, _FEV, _CUL, _KKI, _SET, _SGI, _En, _RE, _ARN, _UGIs, _SI, _SRL, _DST, _NT, _CTo],
3161
+ [0, 0, 4, 0, 0, 0, 0, () => CacheUsageLimits$, 0, 0, [() => SecurityGroupIdsList, 0], () => Endpoint$, () => Endpoint$, 0, 0, [() => SubnetIdsList, 0], 1, 0, 0, 0]
3161
3162
  ];
3162
3163
  var ServerlessCacheConfiguration$ = [3, n0, _SCC,
3163
3164
  0,
@@ -4710,6 +4711,10 @@ const OutpostMode = {
4710
4711
  const DataStorageUnit = {
4711
4712
  GB: "GB",
4712
4713
  };
4714
+ const ConnectionType = {
4715
+ PUBLIC: "public",
4716
+ VPC: "vpc",
4717
+ };
4713
4718
  const InputAuthenticationType = {
4714
4719
  IAM: "iam",
4715
4720
  NO_PASSWORD: "no-password-required",
@@ -4855,6 +4860,7 @@ exports.CompleteMigrationCommand = CompleteMigrationCommand;
4855
4860
  exports.CompleteMigrationMessage$ = CompleteMigrationMessage$;
4856
4861
  exports.CompleteMigrationResponse$ = CompleteMigrationResponse$;
4857
4862
  exports.ConfigureShard$ = ConfigureShard$;
4863
+ exports.ConnectionType = ConnectionType;
4858
4864
  exports.CopyServerlessCacheSnapshot$ = CopyServerlessCacheSnapshot$;
4859
4865
  exports.CopyServerlessCacheSnapshotCommand = CopyServerlessCacheSnapshotCommand;
4860
4866
  exports.CopyServerlessCacheSnapshotRequest$ = CopyServerlessCacheSnapshotRequest$;
@@ -95,6 +95,10 @@ export const OutpostMode = {
95
95
  export const DataStorageUnit = {
96
96
  GB: "GB",
97
97
  };
98
+ export const ConnectionType = {
99
+ PUBLIC: "public",
100
+ VPC: "vpc",
101
+ };
98
102
  export const InputAuthenticationType = {
99
103
  IAM: "iam",
100
104
  NO_PASSWORD: "no-password-required",
@@ -153,6 +153,7 @@ const _CSa = "CacheSize";
153
153
  const _CSo = "CopySnapshot";
154
154
  const _CSr = "CreateSnapshot";
155
155
  const _CT = "ChangeType";
156
+ const _CTo = "ConnectionType";
156
157
  const _CTr = "CreateTime";
157
158
  const _CU = "CreateUser";
158
159
  const _CUG = "CreateUserGroup";
@@ -1433,8 +1434,8 @@ export var CreateReplicationGroupResult$ = [3, n0, _CRGR,
1433
1434
  ];
1434
1435
  export var CreateServerlessCacheRequest$ = [3, n0, _CSCR,
1435
1436
  0,
1436
- [_SCN, _E, _D, _MEVa, _CUL, _KKI, _SGI, _SATR, _T, _UGIs, _SI, _SRL, _DST, _NT],
1437
- [0, 0, 0, 0, () => CacheUsageLimits$, 0, [() => SecurityGroupIdsList, 0], [() => SnapshotArnsList, 0], [() => TagList, 0], 0, [() => SubnetIdsList, 0], 1, 0, 0], 2
1437
+ [_SCN, _E, _D, _MEVa, _CUL, _KKI, _SGI, _SATR, _T, _UGIs, _SI, _SRL, _DST, _NT, _CTo],
1438
+ [0, 0, 0, 0, () => CacheUsageLimits$, 0, [() => SecurityGroupIdsList, 0], [() => SnapshotArnsList, 0], [() => TagList, 0], 0, [() => SubnetIdsList, 0], 1, 0, 0, 0], 2
1438
1439
  ];
1439
1440
  export var CreateServerlessCacheResponse$ = [3, n0, _CSCRr,
1440
1441
  0,
@@ -2103,8 +2104,8 @@ export var SecurityGroupMembership$ = [3, n0, _SGM,
2103
2104
  ];
2104
2105
  export var ServerlessCache$ = [3, n0, _SC,
2105
2106
  0,
2106
- [_SCN, _D, _CTr, _St, _E, _MEVa, _FEV, _CUL, _KKI, _SET, _SGI, _En, _RE, _ARN, _UGIs, _SI, _SRL, _DST, _NT],
2107
- [0, 0, 4, 0, 0, 0, 0, () => CacheUsageLimits$, 0, 0, [() => SecurityGroupIdsList, 0], () => Endpoint$, () => Endpoint$, 0, 0, [() => SubnetIdsList, 0], 1, 0, 0]
2107
+ [_SCN, _D, _CTr, _St, _E, _MEVa, _FEV, _CUL, _KKI, _SET, _SGI, _En, _RE, _ARN, _UGIs, _SI, _SRL, _DST, _NT, _CTo],
2108
+ [0, 0, 4, 0, 0, 0, 0, () => CacheUsageLimits$, 0, 0, [() => SecurityGroupIdsList, 0], () => Endpoint$, () => Endpoint$, 0, 0, [() => SubnetIdsList, 0], 1, 0, 0, 0]
2108
2109
  ];
2109
2110
  export var ServerlessCacheConfiguration$ = [3, n0, _SCC,
2110
2111
  0,
@@ -69,6 +69,7 @@ declare const CreateServerlessCacheCommand_base: {
69
69
  * SnapshotRetentionLimit: Number("int"),
70
70
  * DailySnapshotTime: "STRING_VALUE",
71
71
  * NetworkType: "ipv4" || "ipv6" || "dual_stack",
72
+ * ConnectionType: "vpc" || "public",
72
73
  * };
73
74
  * const command = new CreateServerlessCacheCommand(input);
74
75
  * const response = await client.send(command);
@@ -113,6 +114,7 @@ declare const CreateServerlessCacheCommand_base: {
113
114
  * // SnapshotRetentionLimit: Number("int"),
114
115
  * // DailySnapshotTime: "STRING_VALUE",
115
116
  * // NetworkType: "ipv4" || "ipv6" || "dual_stack",
117
+ * // ConnectionType: "vpc" || "public",
116
118
  * // },
117
119
  * // };
118
120
  *
@@ -85,6 +85,7 @@ declare const DeleteServerlessCacheCommand_base: {
85
85
  * // SnapshotRetentionLimit: Number("int"),
86
86
  * // DailySnapshotTime: "STRING_VALUE",
87
87
  * // NetworkType: "ipv4" || "ipv6" || "dual_stack",
88
+ * // ConnectionType: "vpc" || "public",
88
89
  * // },
89
90
  * // };
90
91
  *
@@ -85,6 +85,7 @@ declare const DescribeServerlessCachesCommand_base: {
85
85
  * // SnapshotRetentionLimit: Number("int"),
86
86
  * // DailySnapshotTime: "STRING_VALUE",
87
87
  * // NetworkType: "ipv4" || "ipv6" || "dual_stack",
88
+ * // ConnectionType: "vpc" || "public",
88
89
  * // },
89
90
  * // ],
90
91
  * // };
@@ -100,6 +100,7 @@ declare const ModifyServerlessCacheCommand_base: {
100
100
  * // SnapshotRetentionLimit: Number("int"),
101
101
  * // DailySnapshotTime: "STRING_VALUE",
102
102
  * // NetworkType: "ipv4" || "ipv6" || "dual_stack",
103
+ * // ConnectionType: "vpc" || "public",
103
104
  * // },
104
105
  * // };
105
106
  *
@@ -255,6 +255,18 @@ export declare const DataStorageUnit: {
255
255
  * @public
256
256
  */
257
257
  export type DataStorageUnit = (typeof DataStorageUnit)[keyof typeof DataStorageUnit];
258
+ /**
259
+ * @public
260
+ * @enum
261
+ */
262
+ export declare const ConnectionType: {
263
+ readonly PUBLIC: "public";
264
+ readonly VPC: "vpc";
265
+ };
266
+ /**
267
+ * @public
268
+ */
269
+ export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType];
258
270
  /**
259
271
  * @public
260
272
  * @enum
@@ -1,4 +1,4 @@
1
- import type { AuthenticationType, AuthTokenUpdateStatus, AuthTokenUpdateStrategyType, AutomaticFailoverStatus, AZMode, ChangeType, ClusterMode, DataStorageUnit, DataTieringStatus, DestinationType, Durability, EffectiveDurability, InputAuthenticationType, IpDiscovery, LogDeliveryConfigurationStatus, LogFormat, LogType, MultiAZStatus, NetworkType, NodeUpdateInitiatedBy, NodeUpdateStatus, OutpostMode, PendingAutomaticFailoverStatus, ServiceUpdateSeverity, ServiceUpdateStatus, ServiceUpdateType, SlaMet, SourceType, StorageEncryptionType, TransitEncryptionMode, UpdateActionStatus } from "./enums";
1
+ import type { AuthenticationType, AuthTokenUpdateStatus, AuthTokenUpdateStrategyType, AutomaticFailoverStatus, AZMode, ChangeType, ClusterMode, ConnectionType, DataStorageUnit, DataTieringStatus, DestinationType, Durability, EffectiveDurability, InputAuthenticationType, IpDiscovery, LogDeliveryConfigurationStatus, LogFormat, LogType, MultiAZStatus, NetworkType, NodeUpdateInitiatedBy, NodeUpdateStatus, OutpostMode, PendingAutomaticFailoverStatus, ServiceUpdateSeverity, ServiceUpdateStatus, ServiceUpdateType, SlaMet, SourceType, StorageEncryptionType, TransitEncryptionMode, UpdateActionStatus } from "./enums";
2
2
  /**
3
3
  * <p>A tag that can be added to an ElastiCache cluster or replication group. Tags are
4
4
  * composed of a Key/Value pair. You can use tags to categorize and track all your
@@ -4220,6 +4220,16 @@ export interface CreateServerlessCacheRequest {
4220
4220
  * @public
4221
4221
  */
4222
4222
  NetworkType?: NetworkType | undefined;
4223
+ /**
4224
+ * <p>The connection type for the serverless cache.
4225
+ * Must be either <code>vpc</code> | <code>public</code>.
4226
+ * Use <code>vpc</code> to access the cache through a VPC endpoint, or <code>public</code> to access the cache over the internet.
4227
+ * If not specified, defaults to <code>vpc</code>.
4228
+ * This value cannot be changed after the serverless cache is created.
4229
+ * Setting this to <code>public</code> requires Valkey 9 or above.</p>
4230
+ * @public
4231
+ */
4232
+ ConnectionType?: ConnectionType | undefined;
4223
4233
  }
4224
4234
  /**
4225
4235
  * <p>The resource representing a serverless cache.</p>
@@ -4332,6 +4342,13 @@ export interface ServerlessCache {
4332
4342
  * @public
4333
4343
  */
4334
4344
  NetworkType?: NetworkType | undefined;
4345
+ /**
4346
+ * <p>The connection type for the serverless cache.
4347
+ * Must be either <code>vpc</code> | <code>public</code>.
4348
+ * If not specified, defaults to <code>vpc</code>.</p>
4349
+ * @public
4350
+ */
4351
+ ConnectionType?: ConnectionType | undefined;
4335
4352
  }
4336
4353
  /**
4337
4354
  * @public
@@ -121,6 +121,11 @@ export declare const DataStorageUnit: {
121
121
  readonly GB: "GB";
122
122
  };
123
123
  export type DataStorageUnit = (typeof DataStorageUnit)[keyof typeof DataStorageUnit];
124
+ export declare const ConnectionType: {
125
+ readonly PUBLIC: "public";
126
+ readonly VPC: "vpc";
127
+ };
128
+ export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType];
124
129
  export declare const InputAuthenticationType: {
125
130
  readonly IAM: "iam";
126
131
  readonly NO_PASSWORD: "no-password-required";
@@ -6,6 +6,7 @@ import {
6
6
  AZMode,
7
7
  ChangeType,
8
8
  ClusterMode,
9
+ ConnectionType,
9
10
  DataStorageUnit,
10
11
  DataTieringStatus,
11
12
  DestinationType,
@@ -570,6 +571,7 @@ export interface CreateServerlessCacheRequest {
570
571
  SnapshotRetentionLimit?: number | undefined;
571
572
  DailySnapshotTime?: string | undefined;
572
573
  NetworkType?: NetworkType | undefined;
574
+ ConnectionType?: ConnectionType | undefined;
573
575
  }
574
576
  export interface ServerlessCache {
575
577
  ServerlessCacheName?: string | undefined;
@@ -591,6 +593,7 @@ export interface ServerlessCache {
591
593
  SnapshotRetentionLimit?: number | undefined;
592
594
  DailySnapshotTime?: string | undefined;
593
595
  NetworkType?: NetworkType | undefined;
596
+ ConnectionType?: ConnectionType | undefined;
594
597
  }
595
598
  export interface CreateServerlessCacheResponse {
596
599
  ServerlessCache?: ServerlessCache | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-elasticache",
3
- "version": "3.1141.0",
3
+ "version": "3.1143.0",
4
4
  "description": "AWS SDK for JavaScript Elasticache Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-elasticache",
6
6
  "license": "Apache-2.0",