@aws-sdk/client-elasticache 3.298.0 → 3.300.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-types/commands/AddTagsToResourceCommand.d.ts +9 -0
- package/dist-types/commands/AuthorizeCacheSecurityGroupIngressCommand.d.ts +5 -0
- package/dist-types/commands/BatchApplyUpdateActionCommand.d.ts +9 -0
- package/dist-types/commands/BatchStopUpdateActionCommand.d.ts +9 -0
- package/dist-types/commands/CompleteMigrationCommand.d.ts +4 -0
- package/dist-types/commands/CopySnapshotCommand.d.ts +12 -0
- package/dist-types/commands/CreateCacheClusterCommand.d.ts +62 -0
- package/dist-types/commands/CreateCacheParameterGroupCommand.d.ts +11 -0
- package/dist-types/commands/CreateCacheSecurityGroupCommand.d.ts +10 -0
- package/dist-types/commands/CreateCacheSubnetGroupCommand.d.ts +13 -0
- package/dist-types/commands/CreateGlobalReplicationGroupCommand.d.ts +5 -0
- package/dist-types/commands/CreateReplicationGroupCommand.d.ts +83 -0
- package/dist-types/commands/CreateSnapshotCommand.d.ts +12 -0
- package/dist-types/commands/CreateUserCommand.d.ts +22 -0
- package/dist-types/commands/CreateUserGroupCommand.d.ts +13 -0
- package/dist-types/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +11 -0
- package/dist-types/commands/DecreaseReplicaCountCommand.d.ts +20 -0
- package/dist-types/commands/DeleteCacheClusterCommand.d.ts +4 -0
- package/dist-types/commands/DeleteCacheParameterGroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteCacheSecurityGroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteCacheSubnetGroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteGlobalReplicationGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteReplicationGroupCommand.d.ts +5 -0
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +3 -0
- package/dist-types/commands/DeleteUserGroupCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCacheClustersCommand.d.ts +7 -0
- package/dist-types/commands/DescribeCacheEngineVersionsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeCacheParameterGroupsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeCacheParametersCommand.d.ts +6 -0
- package/dist-types/commands/DescribeCacheSecurityGroupsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeCacheSubnetGroupsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +5 -0
- package/dist-types/commands/DescribeEventsCommand.d.ts +9 -0
- package/dist-types/commands/DescribeGlobalReplicationGroupsCommand.d.ts +6 -0
- package/dist-types/commands/DescribeReplicationGroupsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeReservedCacheNodesCommand.d.ts +10 -0
- package/dist-types/commands/DescribeReservedCacheNodesOfferingsCommand.d.ts +9 -0
- package/dist-types/commands/DescribeServiceUpdatesCommand.d.ts +8 -0
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +9 -0
- package/dist-types/commands/DescribeUpdateActionsCommand.d.ts +23 -0
- package/dist-types/commands/DescribeUserGroupsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeUsersCommand.d.ts +14 -0
- package/dist-types/commands/DisassociateGlobalReplicationGroupCommand.d.ts +5 -0
- package/dist-types/commands/FailoverGlobalReplicationGroupCommand.d.ts +5 -0
- package/dist-types/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +19 -0
- package/dist-types/commands/IncreaseReplicaCountCommand.d.ts +17 -0
- package/dist-types/commands/ListAllowedNodeTypeModificationsCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ModifyCacheClusterCommand.d.ts +46 -0
- package/dist-types/commands/ModifyCacheParameterGroupCommand.d.ts +9 -0
- package/dist-types/commands/ModifyCacheSubnetGroupCommand.d.ts +7 -0
- package/dist-types/commands/ModifyGlobalReplicationGroupCommand.d.ts +9 -0
- package/dist-types/commands/ModifyReplicationGroupCommand.d.ts +53 -0
- package/dist-types/commands/ModifyReplicationGroupShardConfigurationCommand.d.ts +19 -0
- package/dist-types/commands/ModifyUserCommand.d.ts +15 -0
- package/dist-types/commands/ModifyUserGroupCommand.d.ts +9 -0
- package/dist-types/commands/PurchaseReservedCacheNodesOfferingCommand.d.ts +11 -0
- package/dist-types/commands/RebalanceSlotsInGlobalReplicationGroupCommand.d.ts +4 -0
- package/dist-types/commands/RebootCacheClusterCommand.d.ts +6 -0
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +6 -0
- package/dist-types/commands/ResetCacheParameterGroupCommand.d.ts +10 -0
- package/dist-types/commands/RevokeCacheSecurityGroupIngressCommand.d.ts +5 -0
- package/dist-types/commands/StartMigrationCommand.d.ts +9 -0
- package/dist-types/commands/TestFailoverCommand.d.ts +4 -0
- package/package.json +12 -12
|
@@ -31,6 +31,15 @@ export interface DescribeEventsCommandOutput extends EventsMessage, __MetadataBe
|
|
|
31
31
|
* import { ElastiCacheClient, DescribeEventsCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
32
32
|
* // const { ElastiCacheClient, DescribeEventsCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
33
33
|
* const client = new ElastiCacheClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* SourceIdentifier: "STRING_VALUE",
|
|
36
|
+
* SourceType: "cache-cluster" || "cache-parameter-group" || "cache-security-group" || "cache-subnet-group" || "replication-group" || "user" || "user-group",
|
|
37
|
+
* StartTime: new Date("TIMESTAMP"),
|
|
38
|
+
* EndTime: new Date("TIMESTAMP"),
|
|
39
|
+
* Duration: Number("int"),
|
|
40
|
+
* MaxRecords: Number("int"),
|
|
41
|
+
* Marker: "STRING_VALUE",
|
|
42
|
+
* };
|
|
34
43
|
* const command = new DescribeEventsCommand(input);
|
|
35
44
|
* const response = await client.send(command);
|
|
36
45
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface DescribeGlobalReplicationGroupsCommandOutput extends DescribeGl
|
|
|
26
26
|
* import { ElastiCacheClient, DescribeGlobalReplicationGroupsCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
27
27
|
* // const { ElastiCacheClient, DescribeGlobalReplicationGroupsCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
28
28
|
* const client = new ElastiCacheClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* GlobalReplicationGroupId: "STRING_VALUE",
|
|
31
|
+
* MaxRecords: Number("int"),
|
|
32
|
+
* Marker: "STRING_VALUE",
|
|
33
|
+
* ShowMemberInfo: true || false,
|
|
34
|
+
* };
|
|
29
35
|
* const command = new DescribeGlobalReplicationGroupsCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -31,6 +31,11 @@ export interface DescribeReplicationGroupsCommandOutput extends ReplicationGroup
|
|
|
31
31
|
* import { ElastiCacheClient, DescribeReplicationGroupsCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
32
32
|
* // const { ElastiCacheClient, DescribeReplicationGroupsCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
33
33
|
* const client = new ElastiCacheClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* ReplicationGroupId: "STRING_VALUE",
|
|
36
|
+
* MaxRecords: Number("int"),
|
|
37
|
+
* Marker: "STRING_VALUE",
|
|
38
|
+
* };
|
|
34
39
|
* const command = new DescribeReplicationGroupsCommand(input);
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
@@ -27,6 +27,16 @@ export interface DescribeReservedCacheNodesCommandOutput extends ReservedCacheNo
|
|
|
27
27
|
* import { ElastiCacheClient, DescribeReservedCacheNodesCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
28
28
|
* // const { ElastiCacheClient, DescribeReservedCacheNodesCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
29
29
|
* const client = new ElastiCacheClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ReservedCacheNodeId: "STRING_VALUE",
|
|
32
|
+
* ReservedCacheNodesOfferingId: "STRING_VALUE",
|
|
33
|
+
* CacheNodeType: "STRING_VALUE",
|
|
34
|
+
* Duration: "STRING_VALUE",
|
|
35
|
+
* ProductDescription: "STRING_VALUE",
|
|
36
|
+
* OfferingType: "STRING_VALUE",
|
|
37
|
+
* MaxRecords: Number("int"),
|
|
38
|
+
* Marker: "STRING_VALUE",
|
|
39
|
+
* };
|
|
30
40
|
* const command = new DescribeReservedCacheNodesCommand(input);
|
|
31
41
|
* const response = await client.send(command);
|
|
32
42
|
* ```
|
|
@@ -27,6 +27,15 @@ export interface DescribeReservedCacheNodesOfferingsCommandOutput extends Reserv
|
|
|
27
27
|
* import { ElastiCacheClient, DescribeReservedCacheNodesOfferingsCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
28
28
|
* // const { ElastiCacheClient, DescribeReservedCacheNodesOfferingsCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
29
29
|
* const client = new ElastiCacheClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ReservedCacheNodesOfferingId: "STRING_VALUE",
|
|
32
|
+
* CacheNodeType: "STRING_VALUE",
|
|
33
|
+
* Duration: "STRING_VALUE",
|
|
34
|
+
* ProductDescription: "STRING_VALUE",
|
|
35
|
+
* OfferingType: "STRING_VALUE",
|
|
36
|
+
* MaxRecords: Number("int"),
|
|
37
|
+
* Marker: "STRING_VALUE",
|
|
38
|
+
* };
|
|
30
39
|
* const command = new DescribeReservedCacheNodesOfferingsCommand(input);
|
|
31
40
|
* const response = await client.send(command);
|
|
32
41
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface DescribeServiceUpdatesCommandOutput extends ServiceUpdatesMessa
|
|
|
26
26
|
* import { ElastiCacheClient, DescribeServiceUpdatesCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
27
27
|
* // const { ElastiCacheClient, DescribeServiceUpdatesCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
28
28
|
* const client = new ElastiCacheClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ServiceUpdateName: "STRING_VALUE",
|
|
31
|
+
* ServiceUpdateStatus: [
|
|
32
|
+
* "available" || "cancelled" || "expired",
|
|
33
|
+
* ],
|
|
34
|
+
* MaxRecords: Number("int"),
|
|
35
|
+
* Marker: "STRING_VALUE",
|
|
36
|
+
* };
|
|
29
37
|
* const command = new DescribeServiceUpdatesCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -32,6 +32,15 @@ export interface DescribeSnapshotsCommandOutput extends DescribeSnapshotsListMes
|
|
|
32
32
|
* import { ElastiCacheClient, DescribeSnapshotsCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
33
33
|
* // const { ElastiCacheClient, DescribeSnapshotsCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
34
34
|
* const client = new ElastiCacheClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* ReplicationGroupId: "STRING_VALUE",
|
|
37
|
+
* CacheClusterId: "STRING_VALUE",
|
|
38
|
+
* SnapshotName: "STRING_VALUE",
|
|
39
|
+
* SnapshotSource: "STRING_VALUE",
|
|
40
|
+
* Marker: "STRING_VALUE",
|
|
41
|
+
* MaxRecords: Number("int"),
|
|
42
|
+
* ShowNodeGroupConfig: true || false,
|
|
43
|
+
* };
|
|
35
44
|
* const command = new DescribeSnapshotsCommand(input);
|
|
36
45
|
* const response = await client.send(command);
|
|
37
46
|
* ```
|
|
@@ -26,6 +26,29 @@ export interface DescribeUpdateActionsCommandOutput extends UpdateActionsMessage
|
|
|
26
26
|
* import { ElastiCacheClient, DescribeUpdateActionsCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
27
27
|
* // const { ElastiCacheClient, DescribeUpdateActionsCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
28
28
|
* const client = new ElastiCacheClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ServiceUpdateName: "STRING_VALUE",
|
|
31
|
+
* ReplicationGroupIds: [
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* CacheClusterIds: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* Engine: "STRING_VALUE",
|
|
38
|
+
* ServiceUpdateStatus: [
|
|
39
|
+
* "available" || "cancelled" || "expired",
|
|
40
|
+
* ],
|
|
41
|
+
* ServiceUpdateTimeRange: {
|
|
42
|
+
* StartTime: new Date("TIMESTAMP"),
|
|
43
|
+
* EndTime: new Date("TIMESTAMP"),
|
|
44
|
+
* },
|
|
45
|
+
* UpdateActionStatus: [
|
|
46
|
+
* "not-applied" || "waiting-to-start" || "in-progress" || "stopping" || "stopped" || "complete" || "scheduling" || "scheduled" || "not-applicable",
|
|
47
|
+
* ],
|
|
48
|
+
* ShowNodeLevelUpdateStatus: true || false,
|
|
49
|
+
* MaxRecords: Number("int"),
|
|
50
|
+
* Marker: "STRING_VALUE",
|
|
51
|
+
* };
|
|
29
52
|
* const command = new DescribeUpdateActionsCommand(input);
|
|
30
53
|
* const response = await client.send(command);
|
|
31
54
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface DescribeUserGroupsCommandOutput extends DescribeUserGroupsResul
|
|
|
26
26
|
* import { ElastiCacheClient, DescribeUserGroupsCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
27
27
|
* // const { ElastiCacheClient, DescribeUserGroupsCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
28
28
|
* const client = new ElastiCacheClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* UserGroupId: "STRING_VALUE",
|
|
31
|
+
* MaxRecords: Number("int"),
|
|
32
|
+
* Marker: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new DescribeUserGroupsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,20 @@ export interface DescribeUsersCommandOutput extends DescribeUsersResult, __Metad
|
|
|
26
26
|
* import { ElastiCacheClient, DescribeUsersCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
27
27
|
* // const { ElastiCacheClient, DescribeUsersCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
28
28
|
* const client = new ElastiCacheClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Engine: "STRING_VALUE",
|
|
31
|
+
* UserId: "STRING_VALUE",
|
|
32
|
+
* Filters: [
|
|
33
|
+
* {
|
|
34
|
+
* Name: "STRING_VALUE", // required
|
|
35
|
+
* Values: [ // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* MaxRecords: Number("int"),
|
|
41
|
+
* Marker: "STRING_VALUE",
|
|
42
|
+
* };
|
|
29
43
|
* const command = new DescribeUsersCommand(input);
|
|
30
44
|
* const response = await client.send(command);
|
|
31
45
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface DisassociateGlobalReplicationGroupCommandOutput extends Disasso
|
|
|
26
26
|
* import { ElastiCacheClient, DisassociateGlobalReplicationGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
27
27
|
* // const { ElastiCacheClient, DisassociateGlobalReplicationGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
28
28
|
* const client = new ElastiCacheClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* GlobalReplicationGroupId: "STRING_VALUE", // required
|
|
31
|
+
* ReplicationGroupId: "STRING_VALUE", // required
|
|
32
|
+
* ReplicationGroupRegion: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new DisassociateGlobalReplicationGroupCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface FailoverGlobalReplicationGroupCommandOutput extends FailoverGlo
|
|
|
26
26
|
* import { ElastiCacheClient, FailoverGlobalReplicationGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
27
27
|
* // const { ElastiCacheClient, FailoverGlobalReplicationGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
28
28
|
* const client = new ElastiCacheClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* GlobalReplicationGroupId: "STRING_VALUE", // required
|
|
31
|
+
* PrimaryRegion: "STRING_VALUE", // required
|
|
32
|
+
* PrimaryReplicationGroupId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new FailoverGlobalReplicationGroupCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,25 @@ export interface IncreaseNodeGroupsInGlobalReplicationGroupCommandOutput extends
|
|
|
26
26
|
* import { ElastiCacheClient, IncreaseNodeGroupsInGlobalReplicationGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
27
27
|
* // const { ElastiCacheClient, IncreaseNodeGroupsInGlobalReplicationGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
28
28
|
* const client = new ElastiCacheClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* GlobalReplicationGroupId: "STRING_VALUE", // required
|
|
31
|
+
* NodeGroupCount: Number("int"), // required
|
|
32
|
+
* RegionalConfigurations: [
|
|
33
|
+
* {
|
|
34
|
+
* ReplicationGroupId: "STRING_VALUE", // required
|
|
35
|
+
* ReplicationGroupRegion: "STRING_VALUE", // required
|
|
36
|
+
* ReshardingConfiguration: [ // required
|
|
37
|
+
* {
|
|
38
|
+
* NodeGroupId: "STRING_VALUE",
|
|
39
|
+
* PreferredAvailabilityZones: [
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* ApplyImmediately: true || false, // required
|
|
47
|
+
* };
|
|
29
48
|
* const command = new IncreaseNodeGroupsInGlobalReplicationGroupCommand(input);
|
|
30
49
|
* const response = await client.send(command);
|
|
31
50
|
* ```
|
|
@@ -28,6 +28,23 @@ export interface IncreaseReplicaCountCommandOutput extends IncreaseReplicaCountR
|
|
|
28
28
|
* import { ElastiCacheClient, IncreaseReplicaCountCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
29
29
|
* // const { ElastiCacheClient, IncreaseReplicaCountCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
30
30
|
* const client = new ElastiCacheClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ReplicationGroupId: "STRING_VALUE", // required
|
|
33
|
+
* NewReplicaCount: Number("int"),
|
|
34
|
+
* ReplicaConfiguration: [
|
|
35
|
+
* {
|
|
36
|
+
* NodeGroupId: "STRING_VALUE", // required
|
|
37
|
+
* NewReplicaCount: Number("int"), // required
|
|
38
|
+
* PreferredAvailabilityZones: [
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* PreferredOutpostArns: [
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* ApplyImmediately: true || false, // required
|
|
47
|
+
* };
|
|
31
48
|
* const command = new IncreaseReplicaCountCommand(input);
|
|
32
49
|
* const response = await client.send(command);
|
|
33
50
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface ListAllowedNodeTypeModificationsCommandOutput extends AllowedNo
|
|
|
30
30
|
* import { ElastiCacheClient, ListAllowedNodeTypeModificationsCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
31
31
|
* // const { ElastiCacheClient, ListAllowedNodeTypeModificationsCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
32
32
|
* const client = new ElastiCacheClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* CacheClusterId: "STRING_VALUE",
|
|
35
|
+
* ReplicationGroupId: "STRING_VALUE",
|
|
36
|
+
* };
|
|
33
37
|
* const command = new ListAllowedNodeTypeModificationsCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -31,6 +31,9 @@ export interface ListTagsForResourceCommandOutput extends TagListMessage, __Meta
|
|
|
31
31
|
* import { ElastiCacheClient, ListTagsForResourceCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
32
32
|
* // const { ElastiCacheClient, ListTagsForResourceCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
33
33
|
* const client = new ElastiCacheClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* ResourceName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new ListTagsForResourceCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -28,6 +28,52 @@ export interface ModifyCacheClusterCommandOutput extends ModifyCacheClusterResul
|
|
|
28
28
|
* import { ElastiCacheClient, ModifyCacheClusterCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
29
29
|
* // const { ElastiCacheClient, ModifyCacheClusterCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
30
30
|
* const client = new ElastiCacheClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* CacheClusterId: "STRING_VALUE", // required
|
|
33
|
+
* NumCacheNodes: Number("int"),
|
|
34
|
+
* CacheNodeIdsToRemove: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* AZMode: "single-az" || "cross-az",
|
|
38
|
+
* NewAvailabilityZones: [
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* CacheSecurityGroupNames: [
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* SecurityGroupIds: [
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* PreferredMaintenanceWindow: "STRING_VALUE",
|
|
48
|
+
* NotificationTopicArn: "STRING_VALUE",
|
|
49
|
+
* CacheParameterGroupName: "STRING_VALUE",
|
|
50
|
+
* NotificationTopicStatus: "STRING_VALUE",
|
|
51
|
+
* ApplyImmediately: true || false,
|
|
52
|
+
* EngineVersion: "STRING_VALUE",
|
|
53
|
+
* AutoMinorVersionUpgrade: true || false,
|
|
54
|
+
* SnapshotRetentionLimit: Number("int"),
|
|
55
|
+
* SnapshotWindow: "STRING_VALUE",
|
|
56
|
+
* CacheNodeType: "STRING_VALUE",
|
|
57
|
+
* AuthToken: "STRING_VALUE",
|
|
58
|
+
* AuthTokenUpdateStrategy: "SET" || "ROTATE" || "DELETE",
|
|
59
|
+
* LogDeliveryConfigurations: [
|
|
60
|
+
* {
|
|
61
|
+
* LogType: "slow-log" || "engine-log",
|
|
62
|
+
* DestinationType: "cloudwatch-logs" || "kinesis-firehose",
|
|
63
|
+
* DestinationDetails: {
|
|
64
|
+
* CloudWatchLogsDetails: {
|
|
65
|
+
* LogGroup: "STRING_VALUE",
|
|
66
|
+
* },
|
|
67
|
+
* KinesisFirehoseDetails: {
|
|
68
|
+
* DeliveryStream: "STRING_VALUE",
|
|
69
|
+
* },
|
|
70
|
+
* },
|
|
71
|
+
* LogFormat: "text" || "json",
|
|
72
|
+
* Enabled: true || false,
|
|
73
|
+
* },
|
|
74
|
+
* ],
|
|
75
|
+
* IpDiscovery: "ipv4" || "ipv6",
|
|
76
|
+
* };
|
|
31
77
|
* const command = new ModifyCacheClusterCommand(input);
|
|
32
78
|
* const response = await client.send(command);
|
|
33
79
|
* ```
|
|
@@ -28,6 +28,15 @@ export interface ModifyCacheParameterGroupCommandOutput extends CacheParameterGr
|
|
|
28
28
|
* import { ElastiCacheClient, ModifyCacheParameterGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
29
29
|
* // const { ElastiCacheClient, ModifyCacheParameterGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
30
30
|
* const client = new ElastiCacheClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* CacheParameterGroupName: "STRING_VALUE", // required
|
|
33
|
+
* ParameterNameValues: [ // required
|
|
34
|
+
* {
|
|
35
|
+
* ParameterName: "STRING_VALUE",
|
|
36
|
+
* ParameterValue: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
31
40
|
* const command = new ModifyCacheParameterGroupCommand(input);
|
|
32
41
|
* const response = await client.send(command);
|
|
33
42
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface ModifyCacheSubnetGroupCommandOutput extends ModifyCacheSubnetGr
|
|
|
26
26
|
* import { ElastiCacheClient, ModifyCacheSubnetGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
27
27
|
* // const { ElastiCacheClient, ModifyCacheSubnetGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
28
28
|
* const client = new ElastiCacheClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CacheSubnetGroupName: "STRING_VALUE", // required
|
|
31
|
+
* CacheSubnetGroupDescription: "STRING_VALUE",
|
|
32
|
+
* SubnetIds: [
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* };
|
|
29
36
|
* const command = new ModifyCacheSubnetGroupCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface ModifyGlobalReplicationGroupCommandOutput extends ModifyGlobalR
|
|
|
26
26
|
* import { ElastiCacheClient, ModifyGlobalReplicationGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
27
27
|
* // const { ElastiCacheClient, ModifyGlobalReplicationGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
28
28
|
* const client = new ElastiCacheClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* GlobalReplicationGroupId: "STRING_VALUE", // required
|
|
31
|
+
* ApplyImmediately: true || false, // required
|
|
32
|
+
* CacheNodeType: "STRING_VALUE",
|
|
33
|
+
* EngineVersion: "STRING_VALUE",
|
|
34
|
+
* CacheParameterGroupName: "STRING_VALUE",
|
|
35
|
+
* GlobalReplicationGroupDescription: "STRING_VALUE",
|
|
36
|
+
* AutomaticFailoverEnabled: true || false,
|
|
37
|
+
* };
|
|
29
38
|
* const command = new ModifyGlobalReplicationGroupCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -41,6 +41,59 @@ export interface ModifyReplicationGroupCommandOutput extends ModifyReplicationGr
|
|
|
41
41
|
* import { ElastiCacheClient, ModifyReplicationGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
42
42
|
* // const { ElastiCacheClient, ModifyReplicationGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
43
43
|
* const client = new ElastiCacheClient(config);
|
|
44
|
+
* const input = {
|
|
45
|
+
* ReplicationGroupId: "STRING_VALUE", // required
|
|
46
|
+
* ReplicationGroupDescription: "STRING_VALUE",
|
|
47
|
+
* PrimaryClusterId: "STRING_VALUE",
|
|
48
|
+
* SnapshottingClusterId: "STRING_VALUE",
|
|
49
|
+
* AutomaticFailoverEnabled: true || false,
|
|
50
|
+
* MultiAZEnabled: true || false,
|
|
51
|
+
* NodeGroupId: "STRING_VALUE",
|
|
52
|
+
* CacheSecurityGroupNames: [
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* SecurityGroupIds: [
|
|
56
|
+
* "STRING_VALUE",
|
|
57
|
+
* ],
|
|
58
|
+
* PreferredMaintenanceWindow: "STRING_VALUE",
|
|
59
|
+
* NotificationTopicArn: "STRING_VALUE",
|
|
60
|
+
* CacheParameterGroupName: "STRING_VALUE",
|
|
61
|
+
* NotificationTopicStatus: "STRING_VALUE",
|
|
62
|
+
* ApplyImmediately: true || false,
|
|
63
|
+
* EngineVersion: "STRING_VALUE",
|
|
64
|
+
* AutoMinorVersionUpgrade: true || false,
|
|
65
|
+
* SnapshotRetentionLimit: Number("int"),
|
|
66
|
+
* SnapshotWindow: "STRING_VALUE",
|
|
67
|
+
* CacheNodeType: "STRING_VALUE",
|
|
68
|
+
* AuthToken: "STRING_VALUE",
|
|
69
|
+
* AuthTokenUpdateStrategy: "SET" || "ROTATE" || "DELETE",
|
|
70
|
+
* UserGroupIdsToAdd: [
|
|
71
|
+
* "STRING_VALUE",
|
|
72
|
+
* ],
|
|
73
|
+
* UserGroupIdsToRemove: [
|
|
74
|
+
* "STRING_VALUE",
|
|
75
|
+
* ],
|
|
76
|
+
* RemoveUserGroups: true || false,
|
|
77
|
+
* LogDeliveryConfigurations: [
|
|
78
|
+
* {
|
|
79
|
+
* LogType: "slow-log" || "engine-log",
|
|
80
|
+
* DestinationType: "cloudwatch-logs" || "kinesis-firehose",
|
|
81
|
+
* DestinationDetails: {
|
|
82
|
+
* CloudWatchLogsDetails: {
|
|
83
|
+
* LogGroup: "STRING_VALUE",
|
|
84
|
+
* },
|
|
85
|
+
* KinesisFirehoseDetails: {
|
|
86
|
+
* DeliveryStream: "STRING_VALUE",
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* LogFormat: "text" || "json",
|
|
90
|
+
* Enabled: true || false,
|
|
91
|
+
* },
|
|
92
|
+
* ],
|
|
93
|
+
* IpDiscovery: "ipv4" || "ipv6",
|
|
94
|
+
* TransitEncryptionEnabled: true || false,
|
|
95
|
+
* TransitEncryptionMode: "preferred" || "required",
|
|
96
|
+
* };
|
|
44
97
|
* const command = new ModifyReplicationGroupCommand(input);
|
|
45
98
|
* const response = await client.send(command);
|
|
46
99
|
* ```
|
|
@@ -27,6 +27,25 @@ export interface ModifyReplicationGroupShardConfigurationCommandOutput extends M
|
|
|
27
27
|
* import { ElastiCacheClient, ModifyReplicationGroupShardConfigurationCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
28
28
|
* // const { ElastiCacheClient, ModifyReplicationGroupShardConfigurationCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
29
29
|
* const client = new ElastiCacheClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ReplicationGroupId: "STRING_VALUE", // required
|
|
32
|
+
* NodeGroupCount: Number("int"), // required
|
|
33
|
+
* ApplyImmediately: true || false, // required
|
|
34
|
+
* ReshardingConfiguration: [
|
|
35
|
+
* {
|
|
36
|
+
* NodeGroupId: "STRING_VALUE",
|
|
37
|
+
* PreferredAvailabilityZones: [
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* NodeGroupsToRemove: [
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* NodeGroupsToRetain: [
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* };
|
|
30
49
|
* const command = new ModifyReplicationGroupShardConfigurationCommand(input);
|
|
31
50
|
* const response = await client.send(command);
|
|
32
51
|
* ```
|
|
@@ -26,6 +26,21 @@ export interface ModifyUserCommandOutput extends User, __MetadataBearer {
|
|
|
26
26
|
* import { ElastiCacheClient, ModifyUserCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
27
27
|
* // const { ElastiCacheClient, ModifyUserCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
28
28
|
* const client = new ElastiCacheClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* UserId: "STRING_VALUE", // required
|
|
31
|
+
* AccessString: "STRING_VALUE",
|
|
32
|
+
* AppendAccessString: "STRING_VALUE",
|
|
33
|
+
* Passwords: [
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* NoPasswordRequired: true || false,
|
|
37
|
+
* AuthenticationMode: {
|
|
38
|
+
* Type: "password" || "no-password-required" || "iam",
|
|
39
|
+
* Passwords: [
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* },
|
|
43
|
+
* };
|
|
29
44
|
* const command = new ModifyUserCommand(input);
|
|
30
45
|
* const response = await client.send(command);
|
|
31
46
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface ModifyUserGroupCommandOutput extends UserGroup, __MetadataBeare
|
|
|
26
26
|
* import { ElastiCacheClient, ModifyUserGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
27
27
|
* // const { ElastiCacheClient, ModifyUserGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
28
28
|
* const client = new ElastiCacheClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* UserGroupId: "STRING_VALUE", // required
|
|
31
|
+
* UserIdsToAdd: [
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* UserIdsToRemove: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
29
38
|
* const command = new ModifyUserGroupCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -29,6 +29,17 @@ export interface PurchaseReservedCacheNodesOfferingCommandOutput extends Purchas
|
|
|
29
29
|
* import { ElastiCacheClient, PurchaseReservedCacheNodesOfferingCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
30
30
|
* // const { ElastiCacheClient, PurchaseReservedCacheNodesOfferingCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
31
31
|
* const client = new ElastiCacheClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* ReservedCacheNodesOfferingId: "STRING_VALUE", // required
|
|
34
|
+
* ReservedCacheNodeId: "STRING_VALUE",
|
|
35
|
+
* CacheNodeCount: Number("int"),
|
|
36
|
+
* Tags: [
|
|
37
|
+
* {
|
|
38
|
+
* Key: "STRING_VALUE",
|
|
39
|
+
* Value: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
32
43
|
* const command = new PurchaseReservedCacheNodesOfferingCommand(input);
|
|
33
44
|
* const response = await client.send(command);
|
|
34
45
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface RebalanceSlotsInGlobalReplicationGroupCommandOutput extends Reb
|
|
|
26
26
|
* import { ElastiCacheClient, RebalanceSlotsInGlobalReplicationGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
27
27
|
* // const { ElastiCacheClient, RebalanceSlotsInGlobalReplicationGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
28
28
|
* const client = new ElastiCacheClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* GlobalReplicationGroupId: "STRING_VALUE", // required
|
|
31
|
+
* ApplyImmediately: true || false, // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new RebalanceSlotsInGlobalReplicationGroupCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -36,6 +36,12 @@ export interface RebootCacheClusterCommandOutput extends RebootCacheClusterResul
|
|
|
36
36
|
* import { ElastiCacheClient, RebootCacheClusterCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
37
37
|
* // const { ElastiCacheClient, RebootCacheClusterCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
38
38
|
* const client = new ElastiCacheClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* CacheClusterId: "STRING_VALUE", // required
|
|
41
|
+
* CacheNodeIdsToReboot: [ // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
39
45
|
* const command = new RebootCacheClusterCommand(input);
|
|
40
46
|
* const response = await client.send(command);
|
|
41
47
|
* ```
|
|
@@ -29,6 +29,12 @@ export interface RemoveTagsFromResourceCommandOutput extends TagListMessage, __M
|
|
|
29
29
|
* import { ElastiCacheClient, RemoveTagsFromResourceCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
30
30
|
* // const { ElastiCacheClient, RemoveTagsFromResourceCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
31
31
|
* const client = new ElastiCacheClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* ResourceName: "STRING_VALUE", // required
|
|
34
|
+
* TagKeys: [ // required
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
32
38
|
* const command = new RemoveTagsFromResourceCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
|
@@ -29,6 +29,16 @@ export interface ResetCacheParameterGroupCommandOutput extends CacheParameterGro
|
|
|
29
29
|
* import { ElastiCacheClient, ResetCacheParameterGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
30
30
|
* // const { ElastiCacheClient, ResetCacheParameterGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
31
31
|
* const client = new ElastiCacheClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* CacheParameterGroupName: "STRING_VALUE", // required
|
|
34
|
+
* ResetAllParameters: true || false,
|
|
35
|
+
* ParameterNameValues: [
|
|
36
|
+
* {
|
|
37
|
+
* ParameterName: "STRING_VALUE",
|
|
38
|
+
* ParameterValue: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
32
42
|
* const command = new ResetCacheParameterGroupCommand(input);
|
|
33
43
|
* const response = await client.send(command);
|
|
34
44
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface RevokeCacheSecurityGroupIngressCommandOutput extends RevokeCach
|
|
|
28
28
|
* import { ElastiCacheClient, RevokeCacheSecurityGroupIngressCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
29
29
|
* // const { ElastiCacheClient, RevokeCacheSecurityGroupIngressCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
30
30
|
* const client = new ElastiCacheClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* CacheSecurityGroupName: "STRING_VALUE", // required
|
|
33
|
+
* EC2SecurityGroupName: "STRING_VALUE", // required
|
|
34
|
+
* EC2SecurityGroupOwnerId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
31
36
|
* const command = new RevokeCacheSecurityGroupIngressCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface StartMigrationCommandOutput extends StartMigrationResponse, __M
|
|
|
26
26
|
* import { ElastiCacheClient, StartMigrationCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
27
27
|
* // const { ElastiCacheClient, StartMigrationCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
28
28
|
* const client = new ElastiCacheClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ReplicationGroupId: "STRING_VALUE", // required
|
|
31
|
+
* CustomerNodeEndpointList: [ // required
|
|
32
|
+
* {
|
|
33
|
+
* Address: "STRING_VALUE",
|
|
34
|
+
* Port: Number("int"),
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
29
38
|
* const command = new StartMigrationCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -87,6 +87,10 @@ export interface TestFailoverCommandOutput extends TestFailoverResult, __Metadat
|
|
|
87
87
|
* import { ElastiCacheClient, TestFailoverCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
88
88
|
* // const { ElastiCacheClient, TestFailoverCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
89
89
|
* const client = new ElastiCacheClient(config);
|
|
90
|
+
* const input = {
|
|
91
|
+
* ReplicationGroupId: "STRING_VALUE", // required
|
|
92
|
+
* NodeGroupId: "STRING_VALUE", // required
|
|
93
|
+
* };
|
|
90
94
|
* const command = new TestFailoverCommand(input);
|
|
91
95
|
* const response = await client.send(command);
|
|
92
96
|
* ```
|