@aws-sdk/client-elasticache 3.299.0 → 3.301.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 (66) hide show
  1. package/dist-types/commands/AddTagsToResourceCommand.d.ts +9 -0
  2. package/dist-types/commands/AuthorizeCacheSecurityGroupIngressCommand.d.ts +5 -0
  3. package/dist-types/commands/BatchApplyUpdateActionCommand.d.ts +9 -0
  4. package/dist-types/commands/BatchStopUpdateActionCommand.d.ts +9 -0
  5. package/dist-types/commands/CompleteMigrationCommand.d.ts +4 -0
  6. package/dist-types/commands/CopySnapshotCommand.d.ts +12 -0
  7. package/dist-types/commands/CreateCacheClusterCommand.d.ts +62 -0
  8. package/dist-types/commands/CreateCacheParameterGroupCommand.d.ts +11 -0
  9. package/dist-types/commands/CreateCacheSecurityGroupCommand.d.ts +10 -0
  10. package/dist-types/commands/CreateCacheSubnetGroupCommand.d.ts +13 -0
  11. package/dist-types/commands/CreateGlobalReplicationGroupCommand.d.ts +5 -0
  12. package/dist-types/commands/CreateReplicationGroupCommand.d.ts +83 -0
  13. package/dist-types/commands/CreateSnapshotCommand.d.ts +12 -0
  14. package/dist-types/commands/CreateUserCommand.d.ts +22 -0
  15. package/dist-types/commands/CreateUserGroupCommand.d.ts +13 -0
  16. package/dist-types/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +11 -0
  17. package/dist-types/commands/DecreaseReplicaCountCommand.d.ts +20 -0
  18. package/dist-types/commands/DeleteCacheClusterCommand.d.ts +4 -0
  19. package/dist-types/commands/DeleteCacheParameterGroupCommand.d.ts +3 -0
  20. package/dist-types/commands/DeleteCacheSecurityGroupCommand.d.ts +3 -0
  21. package/dist-types/commands/DeleteCacheSubnetGroupCommand.d.ts +3 -0
  22. package/dist-types/commands/DeleteGlobalReplicationGroupCommand.d.ts +4 -0
  23. package/dist-types/commands/DeleteReplicationGroupCommand.d.ts +5 -0
  24. package/dist-types/commands/DeleteSnapshotCommand.d.ts +3 -0
  25. package/dist-types/commands/DeleteUserCommand.d.ts +3 -0
  26. package/dist-types/commands/DeleteUserGroupCommand.d.ts +3 -0
  27. package/dist-types/commands/DescribeCacheClustersCommand.d.ts +7 -0
  28. package/dist-types/commands/DescribeCacheEngineVersionsCommand.d.ts +8 -0
  29. package/dist-types/commands/DescribeCacheParameterGroupsCommand.d.ts +5 -0
  30. package/dist-types/commands/DescribeCacheParametersCommand.d.ts +6 -0
  31. package/dist-types/commands/DescribeCacheSecurityGroupsCommand.d.ts +5 -0
  32. package/dist-types/commands/DescribeCacheSubnetGroupsCommand.d.ts +5 -0
  33. package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +5 -0
  34. package/dist-types/commands/DescribeEventsCommand.d.ts +9 -0
  35. package/dist-types/commands/DescribeGlobalReplicationGroupsCommand.d.ts +6 -0
  36. package/dist-types/commands/DescribeReplicationGroupsCommand.d.ts +5 -0
  37. package/dist-types/commands/DescribeReservedCacheNodesCommand.d.ts +10 -0
  38. package/dist-types/commands/DescribeReservedCacheNodesOfferingsCommand.d.ts +9 -0
  39. package/dist-types/commands/DescribeServiceUpdatesCommand.d.ts +8 -0
  40. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +9 -0
  41. package/dist-types/commands/DescribeUpdateActionsCommand.d.ts +23 -0
  42. package/dist-types/commands/DescribeUserGroupsCommand.d.ts +5 -0
  43. package/dist-types/commands/DescribeUsersCommand.d.ts +14 -0
  44. package/dist-types/commands/DisassociateGlobalReplicationGroupCommand.d.ts +5 -0
  45. package/dist-types/commands/FailoverGlobalReplicationGroupCommand.d.ts +5 -0
  46. package/dist-types/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +19 -0
  47. package/dist-types/commands/IncreaseReplicaCountCommand.d.ts +17 -0
  48. package/dist-types/commands/ListAllowedNodeTypeModificationsCommand.d.ts +4 -0
  49. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  50. package/dist-types/commands/ModifyCacheClusterCommand.d.ts +46 -0
  51. package/dist-types/commands/ModifyCacheParameterGroupCommand.d.ts +9 -0
  52. package/dist-types/commands/ModifyCacheSubnetGroupCommand.d.ts +7 -0
  53. package/dist-types/commands/ModifyGlobalReplicationGroupCommand.d.ts +9 -0
  54. package/dist-types/commands/ModifyReplicationGroupCommand.d.ts +53 -0
  55. package/dist-types/commands/ModifyReplicationGroupShardConfigurationCommand.d.ts +19 -0
  56. package/dist-types/commands/ModifyUserCommand.d.ts +15 -0
  57. package/dist-types/commands/ModifyUserGroupCommand.d.ts +9 -0
  58. package/dist-types/commands/PurchaseReservedCacheNodesOfferingCommand.d.ts +11 -0
  59. package/dist-types/commands/RebalanceSlotsInGlobalReplicationGroupCommand.d.ts +4 -0
  60. package/dist-types/commands/RebootCacheClusterCommand.d.ts +6 -0
  61. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +6 -0
  62. package/dist-types/commands/ResetCacheParameterGroupCommand.d.ts +10 -0
  63. package/dist-types/commands/RevokeCacheSecurityGroupIngressCommand.d.ts +5 -0
  64. package/dist-types/commands/StartMigrationCommand.d.ts +9 -0
  65. package/dist-types/commands/TestFailoverCommand.d.ts +4 -0
  66. package/package.json +8 -8
@@ -37,6 +37,15 @@ export interface AddTagsToResourceCommandOutput extends TagListMessage, __Metada
37
37
  * import { ElastiCacheClient, AddTagsToResourceCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
38
38
  * // const { ElastiCacheClient, AddTagsToResourceCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
39
39
  * const client = new ElastiCacheClient(config);
40
+ * const input = { // AddTagsToResourceMessage
41
+ * ResourceName: "STRING_VALUE", // required
42
+ * Tags: [ // TagList // required
43
+ * { // Tag
44
+ * Key: "STRING_VALUE",
45
+ * Value: "STRING_VALUE",
46
+ * },
47
+ * ],
48
+ * };
40
49
  * const command = new AddTagsToResourceCommand(input);
41
50
  * const response = await client.send(command);
42
51
  * ```
@@ -32,6 +32,11 @@ export interface AuthorizeCacheSecurityGroupIngressCommandOutput extends Authori
32
32
  * import { ElastiCacheClient, AuthorizeCacheSecurityGroupIngressCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
33
33
  * // const { ElastiCacheClient, AuthorizeCacheSecurityGroupIngressCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
34
34
  * const client = new ElastiCacheClient(config);
35
+ * const input = { // AuthorizeCacheSecurityGroupIngressMessage
36
+ * CacheSecurityGroupName: "STRING_VALUE", // required
37
+ * EC2SecurityGroupName: "STRING_VALUE", // required
38
+ * EC2SecurityGroupOwnerId: "STRING_VALUE", // required
39
+ * };
35
40
  * const command = new AuthorizeCacheSecurityGroupIngressCommand(input);
36
41
  * const response = await client.send(command);
37
42
  * ```
@@ -26,6 +26,15 @@ export interface BatchApplyUpdateActionCommandOutput extends UpdateActionResults
26
26
  * import { ElastiCacheClient, BatchApplyUpdateActionCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
27
27
  * // const { ElastiCacheClient, BatchApplyUpdateActionCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
28
28
  * const client = new ElastiCacheClient(config);
29
+ * const input = { // BatchApplyUpdateActionMessage
30
+ * ReplicationGroupIds: [ // ReplicationGroupIdList
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * CacheClusterIds: [ // CacheClusterIdList
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * ServiceUpdateName: "STRING_VALUE", // required
37
+ * };
29
38
  * const command = new BatchApplyUpdateActionCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,15 @@ export interface BatchStopUpdateActionCommandOutput extends UpdateActionResultsM
26
26
  * import { ElastiCacheClient, BatchStopUpdateActionCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
27
27
  * // const { ElastiCacheClient, BatchStopUpdateActionCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
28
28
  * const client = new ElastiCacheClient(config);
29
+ * const input = { // BatchStopUpdateActionMessage
30
+ * ReplicationGroupIds: [ // ReplicationGroupIdList
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * CacheClusterIds: [ // CacheClusterIdList
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * ServiceUpdateName: "STRING_VALUE", // required
37
+ * };
29
38
  * const command = new BatchStopUpdateActionCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,10 @@ export interface CompleteMigrationCommandOutput extends CompleteMigrationRespons
26
26
  * import { ElastiCacheClient, CompleteMigrationCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
27
27
  * // const { ElastiCacheClient, CompleteMigrationCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
28
28
  * const client = new ElastiCacheClient(config);
29
+ * const input = { // CompleteMigrationMessage
30
+ * ReplicationGroupId: "STRING_VALUE", // required
31
+ * Force: true || false,
32
+ * };
29
33
  * const command = new CompleteMigrationCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -116,6 +116,18 @@ export interface CopySnapshotCommandOutput extends CopySnapshotResult, __Metadat
116
116
  * import { ElastiCacheClient, CopySnapshotCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
117
117
  * // const { ElastiCacheClient, CopySnapshotCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
118
118
  * const client = new ElastiCacheClient(config);
119
+ * const input = { // CopySnapshotMessage
120
+ * SourceSnapshotName: "STRING_VALUE", // required
121
+ * TargetSnapshotName: "STRING_VALUE", // required
122
+ * TargetBucket: "STRING_VALUE",
123
+ * KmsKeyId: "STRING_VALUE",
124
+ * Tags: [ // TagList
125
+ * { // Tag
126
+ * Key: "STRING_VALUE",
127
+ * Value: "STRING_VALUE",
128
+ * },
129
+ * ],
130
+ * };
119
131
  * const command = new CopySnapshotCommand(input);
120
132
  * const response = await client.send(command);
121
133
  * ```
@@ -29,6 +29,68 @@ export interface CreateCacheClusterCommandOutput extends CreateCacheClusterResul
29
29
  * import { ElastiCacheClient, CreateCacheClusterCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
30
30
  * // const { ElastiCacheClient, CreateCacheClusterCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
31
31
  * const client = new ElastiCacheClient(config);
32
+ * const input = { // CreateCacheClusterMessage
33
+ * CacheClusterId: "STRING_VALUE", // required
34
+ * ReplicationGroupId: "STRING_VALUE",
35
+ * AZMode: "single-az" || "cross-az",
36
+ * PreferredAvailabilityZone: "STRING_VALUE",
37
+ * PreferredAvailabilityZones: [ // PreferredAvailabilityZoneList
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * NumCacheNodes: Number("int"),
41
+ * CacheNodeType: "STRING_VALUE",
42
+ * Engine: "STRING_VALUE",
43
+ * EngineVersion: "STRING_VALUE",
44
+ * CacheParameterGroupName: "STRING_VALUE",
45
+ * CacheSubnetGroupName: "STRING_VALUE",
46
+ * CacheSecurityGroupNames: [ // CacheSecurityGroupNameList
47
+ * "STRING_VALUE",
48
+ * ],
49
+ * SecurityGroupIds: [ // SecurityGroupIdsList
50
+ * "STRING_VALUE",
51
+ * ],
52
+ * Tags: [ // TagList
53
+ * { // Tag
54
+ * Key: "STRING_VALUE",
55
+ * Value: "STRING_VALUE",
56
+ * },
57
+ * ],
58
+ * SnapshotArns: [ // SnapshotArnsList
59
+ * "STRING_VALUE",
60
+ * ],
61
+ * SnapshotName: "STRING_VALUE",
62
+ * PreferredMaintenanceWindow: "STRING_VALUE",
63
+ * Port: Number("int"),
64
+ * NotificationTopicArn: "STRING_VALUE",
65
+ * AutoMinorVersionUpgrade: true || false,
66
+ * SnapshotRetentionLimit: Number("int"),
67
+ * SnapshotWindow: "STRING_VALUE",
68
+ * AuthToken: "STRING_VALUE",
69
+ * OutpostMode: "single-outpost" || "cross-outpost",
70
+ * PreferredOutpostArn: "STRING_VALUE",
71
+ * PreferredOutpostArns: [ // PreferredOutpostArnList
72
+ * "STRING_VALUE",
73
+ * ],
74
+ * LogDeliveryConfigurations: [ // LogDeliveryConfigurationRequestList
75
+ * { // LogDeliveryConfigurationRequest
76
+ * LogType: "slow-log" || "engine-log",
77
+ * DestinationType: "cloudwatch-logs" || "kinesis-firehose",
78
+ * DestinationDetails: { // DestinationDetails
79
+ * CloudWatchLogsDetails: { // CloudWatchLogsDestinationDetails
80
+ * LogGroup: "STRING_VALUE",
81
+ * },
82
+ * KinesisFirehoseDetails: { // KinesisFirehoseDestinationDetails
83
+ * DeliveryStream: "STRING_VALUE",
84
+ * },
85
+ * },
86
+ * LogFormat: "text" || "json",
87
+ * Enabled: true || false,
88
+ * },
89
+ * ],
90
+ * TransitEncryptionEnabled: true || false,
91
+ * NetworkType: "ipv4" || "ipv6" || "dual_stack",
92
+ * IpDiscovery: "ipv4" || "ipv6",
93
+ * };
32
94
  * const command = new CreateCacheClusterCommand(input);
33
95
  * const response = await client.send(command);
34
96
  * ```
@@ -41,6 +41,17 @@ export interface CreateCacheParameterGroupCommandOutput extends CreateCacheParam
41
41
  * import { ElastiCacheClient, CreateCacheParameterGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
42
42
  * // const { ElastiCacheClient, CreateCacheParameterGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
43
43
  * const client = new ElastiCacheClient(config);
44
+ * const input = { // CreateCacheParameterGroupMessage
45
+ * CacheParameterGroupName: "STRING_VALUE", // required
46
+ * CacheParameterGroupFamily: "STRING_VALUE", // required
47
+ * Description: "STRING_VALUE", // required
48
+ * Tags: [ // TagList
49
+ * { // Tag
50
+ * Key: "STRING_VALUE",
51
+ * Value: "STRING_VALUE",
52
+ * },
53
+ * ],
54
+ * };
44
55
  * const command = new CreateCacheParameterGroupCommand(input);
45
56
  * const response = await client.send(command);
46
57
  * ```
@@ -31,6 +31,16 @@ export interface CreateCacheSecurityGroupCommandOutput extends CreateCacheSecuri
31
31
  * import { ElastiCacheClient, CreateCacheSecurityGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
32
32
  * // const { ElastiCacheClient, CreateCacheSecurityGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
33
33
  * const client = new ElastiCacheClient(config);
34
+ * const input = { // CreateCacheSecurityGroupMessage
35
+ * CacheSecurityGroupName: "STRING_VALUE", // required
36
+ * Description: "STRING_VALUE", // required
37
+ * Tags: [ // TagList
38
+ * { // Tag
39
+ * Key: "STRING_VALUE",
40
+ * Value: "STRING_VALUE",
41
+ * },
42
+ * ],
43
+ * };
34
44
  * const command = new CreateCacheSecurityGroupCommand(input);
35
45
  * const response = await client.send(command);
36
46
  * ```
@@ -27,6 +27,19 @@ export interface CreateCacheSubnetGroupCommandOutput extends CreateCacheSubnetGr
27
27
  * import { ElastiCacheClient, CreateCacheSubnetGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
28
28
  * // const { ElastiCacheClient, CreateCacheSubnetGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
29
29
  * const client = new ElastiCacheClient(config);
30
+ * const input = { // CreateCacheSubnetGroupMessage
31
+ * CacheSubnetGroupName: "STRING_VALUE", // required
32
+ * CacheSubnetGroupDescription: "STRING_VALUE", // required
33
+ * SubnetIds: [ // SubnetIdentifierList // required
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * Tags: [ // TagList
37
+ * { // Tag
38
+ * Key: "STRING_VALUE",
39
+ * Value: "STRING_VALUE",
40
+ * },
41
+ * ],
42
+ * };
30
43
  * const command = new CreateCacheSubnetGroupCommand(input);
31
44
  * const response = await client.send(command);
32
45
  * ```
@@ -40,6 +40,11 @@ export interface CreateGlobalReplicationGroupCommandOutput extends CreateGlobalR
40
40
  * import { ElastiCacheClient, CreateGlobalReplicationGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
41
41
  * // const { ElastiCacheClient, CreateGlobalReplicationGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
42
42
  * const client = new ElastiCacheClient(config);
43
+ * const input = { // CreateGlobalReplicationGroupMessage
44
+ * GlobalReplicationGroupIdSuffix: "STRING_VALUE", // required
45
+ * GlobalReplicationGroupDescription: "STRING_VALUE",
46
+ * PrimaryReplicationGroupId: "STRING_VALUE", // required
47
+ * };
43
48
  * const command = new CreateGlobalReplicationGroupCommand(input);
44
49
  * const response = await client.send(command);
45
50
  * ```
@@ -50,6 +50,89 @@ export interface CreateReplicationGroupCommandOutput extends CreateReplicationGr
50
50
  * import { ElastiCacheClient, CreateReplicationGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
51
51
  * // const { ElastiCacheClient, CreateReplicationGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
52
52
  * const client = new ElastiCacheClient(config);
53
+ * const input = { // CreateReplicationGroupMessage
54
+ * ReplicationGroupId: "STRING_VALUE", // required
55
+ * ReplicationGroupDescription: "STRING_VALUE", // required
56
+ * GlobalReplicationGroupId: "STRING_VALUE",
57
+ * PrimaryClusterId: "STRING_VALUE",
58
+ * AutomaticFailoverEnabled: true || false,
59
+ * MultiAZEnabled: true || false,
60
+ * NumCacheClusters: Number("int"),
61
+ * PreferredCacheClusterAZs: [ // AvailabilityZonesList
62
+ * "STRING_VALUE",
63
+ * ],
64
+ * NumNodeGroups: Number("int"),
65
+ * ReplicasPerNodeGroup: Number("int"),
66
+ * NodeGroupConfiguration: [ // NodeGroupConfigurationList
67
+ * { // NodeGroupConfiguration
68
+ * NodeGroupId: "STRING_VALUE",
69
+ * Slots: "STRING_VALUE",
70
+ * ReplicaCount: Number("int"),
71
+ * PrimaryAvailabilityZone: "STRING_VALUE",
72
+ * ReplicaAvailabilityZones: [
73
+ * "STRING_VALUE",
74
+ * ],
75
+ * PrimaryOutpostArn: "STRING_VALUE",
76
+ * ReplicaOutpostArns: [ // OutpostArnsList
77
+ * "STRING_VALUE",
78
+ * ],
79
+ * },
80
+ * ],
81
+ * CacheNodeType: "STRING_VALUE",
82
+ * Engine: "STRING_VALUE",
83
+ * EngineVersion: "STRING_VALUE",
84
+ * CacheParameterGroupName: "STRING_VALUE",
85
+ * CacheSubnetGroupName: "STRING_VALUE",
86
+ * CacheSecurityGroupNames: [ // CacheSecurityGroupNameList
87
+ * "STRING_VALUE",
88
+ * ],
89
+ * SecurityGroupIds: [ // SecurityGroupIdsList
90
+ * "STRING_VALUE",
91
+ * ],
92
+ * Tags: [ // TagList
93
+ * { // Tag
94
+ * Key: "STRING_VALUE",
95
+ * Value: "STRING_VALUE",
96
+ * },
97
+ * ],
98
+ * SnapshotArns: [ // SnapshotArnsList
99
+ * "STRING_VALUE",
100
+ * ],
101
+ * SnapshotName: "STRING_VALUE",
102
+ * PreferredMaintenanceWindow: "STRING_VALUE",
103
+ * Port: Number("int"),
104
+ * NotificationTopicArn: "STRING_VALUE",
105
+ * AutoMinorVersionUpgrade: true || false,
106
+ * SnapshotRetentionLimit: Number("int"),
107
+ * SnapshotWindow: "STRING_VALUE",
108
+ * AuthToken: "STRING_VALUE",
109
+ * TransitEncryptionEnabled: true || false,
110
+ * AtRestEncryptionEnabled: true || false,
111
+ * KmsKeyId: "STRING_VALUE",
112
+ * UserGroupIds: [ // UserGroupIdListInput
113
+ * "STRING_VALUE",
114
+ * ],
115
+ * LogDeliveryConfigurations: [ // LogDeliveryConfigurationRequestList
116
+ * { // LogDeliveryConfigurationRequest
117
+ * LogType: "slow-log" || "engine-log",
118
+ * DestinationType: "cloudwatch-logs" || "kinesis-firehose",
119
+ * DestinationDetails: { // DestinationDetails
120
+ * CloudWatchLogsDetails: { // CloudWatchLogsDestinationDetails
121
+ * LogGroup: "STRING_VALUE",
122
+ * },
123
+ * KinesisFirehoseDetails: { // KinesisFirehoseDestinationDetails
124
+ * DeliveryStream: "STRING_VALUE",
125
+ * },
126
+ * },
127
+ * LogFormat: "text" || "json",
128
+ * Enabled: true || false,
129
+ * },
130
+ * ],
131
+ * DataTieringEnabled: true || false,
132
+ * NetworkType: "ipv4" || "ipv6" || "dual_stack",
133
+ * IpDiscovery: "ipv4" || "ipv6",
134
+ * TransitEncryptionMode: "preferred" || "required",
135
+ * };
53
136
  * const command = new CreateReplicationGroupCommand(input);
54
137
  * const response = await client.send(command);
55
138
  * ```
@@ -30,6 +30,18 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotResult, __Met
30
30
  * import { ElastiCacheClient, CreateSnapshotCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
31
31
  * // const { ElastiCacheClient, CreateSnapshotCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
32
32
  * const client = new ElastiCacheClient(config);
33
+ * const input = { // CreateSnapshotMessage
34
+ * ReplicationGroupId: "STRING_VALUE",
35
+ * CacheClusterId: "STRING_VALUE",
36
+ * SnapshotName: "STRING_VALUE", // required
37
+ * KmsKeyId: "STRING_VALUE",
38
+ * Tags: [ // TagList
39
+ * { // Tag
40
+ * Key: "STRING_VALUE",
41
+ * Value: "STRING_VALUE",
42
+ * },
43
+ * ],
44
+ * };
33
45
  * const command = new CreateSnapshotCommand(input);
34
46
  * const response = await client.send(command);
35
47
  * ```
@@ -26,6 +26,28 @@ export interface CreateUserCommandOutput extends User, __MetadataBearer {
26
26
  * import { ElastiCacheClient, CreateUserCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
27
27
  * // const { ElastiCacheClient, CreateUserCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
28
28
  * const client = new ElastiCacheClient(config);
29
+ * const input = { // CreateUserMessage
30
+ * UserId: "STRING_VALUE", // required
31
+ * UserName: "STRING_VALUE", // required
32
+ * Engine: "STRING_VALUE", // required
33
+ * Passwords: [ // PasswordListInput
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * AccessString: "STRING_VALUE", // required
37
+ * NoPasswordRequired: true || false,
38
+ * Tags: [ // TagList
39
+ * { // Tag
40
+ * Key: "STRING_VALUE",
41
+ * Value: "STRING_VALUE",
42
+ * },
43
+ * ],
44
+ * AuthenticationMode: { // AuthenticationMode
45
+ * Type: "password" || "no-password-required" || "iam",
46
+ * Passwords: [
47
+ * "STRING_VALUE",
48
+ * ],
49
+ * },
50
+ * };
29
51
  * const command = new CreateUserCommand(input);
30
52
  * const response = await client.send(command);
31
53
  * ```
@@ -27,6 +27,19 @@ export interface CreateUserGroupCommandOutput extends UserGroup, __MetadataBeare
27
27
  * import { ElastiCacheClient, CreateUserGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
28
28
  * // const { ElastiCacheClient, CreateUserGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
29
29
  * const client = new ElastiCacheClient(config);
30
+ * const input = { // CreateUserGroupMessage
31
+ * UserGroupId: "STRING_VALUE", // required
32
+ * Engine: "STRING_VALUE", // required
33
+ * UserIds: [ // UserIdListInput
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * Tags: [ // TagList
37
+ * { // Tag
38
+ * Key: "STRING_VALUE",
39
+ * Value: "STRING_VALUE",
40
+ * },
41
+ * ],
42
+ * };
30
43
  * const command = new CreateUserGroupCommand(input);
31
44
  * const response = await client.send(command);
32
45
  * ```
@@ -26,6 +26,17 @@ export interface DecreaseNodeGroupsInGlobalReplicationGroupCommandOutput extends
26
26
  * import { ElastiCacheClient, DecreaseNodeGroupsInGlobalReplicationGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
27
27
  * // const { ElastiCacheClient, DecreaseNodeGroupsInGlobalReplicationGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
28
28
  * const client = new ElastiCacheClient(config);
29
+ * const input = { // DecreaseNodeGroupsInGlobalReplicationGroupMessage
30
+ * GlobalReplicationGroupId: "STRING_VALUE", // required
31
+ * NodeGroupCount: Number("int"), // required
32
+ * GlobalNodeGroupsToRemove: [ // GlobalNodeGroupIdList
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * GlobalNodeGroupsToRetain: [
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * ApplyImmediately: true || false, // required
39
+ * };
29
40
  * const command = new DecreaseNodeGroupsInGlobalReplicationGroupCommand(input);
30
41
  * const response = await client.send(command);
31
42
  * ```
@@ -28,6 +28,26 @@ export interface DecreaseReplicaCountCommandOutput extends DecreaseReplicaCountR
28
28
  * import { ElastiCacheClient, DecreaseReplicaCountCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
29
29
  * // const { ElastiCacheClient, DecreaseReplicaCountCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
30
30
  * const client = new ElastiCacheClient(config);
31
+ * const input = { // DecreaseReplicaCountMessage
32
+ * ReplicationGroupId: "STRING_VALUE", // required
33
+ * NewReplicaCount: Number("int"),
34
+ * ReplicaConfiguration: [ // ReplicaConfigurationList
35
+ * { // ConfigureShard
36
+ * NodeGroupId: "STRING_VALUE", // required
37
+ * NewReplicaCount: Number("int"), // required
38
+ * PreferredAvailabilityZones: [ // PreferredAvailabilityZoneList
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * PreferredOutpostArns: [ // PreferredOutpostArnList
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * },
45
+ * ],
46
+ * ReplicasToRemove: [ // RemoveReplicasList
47
+ * "STRING_VALUE",
48
+ * ],
49
+ * ApplyImmediately: true || false, // required
50
+ * };
31
51
  * const command = new DecreaseReplicaCountCommand(input);
32
52
  * const response = await client.send(command);
33
53
  * ```
@@ -54,6 +54,10 @@ export interface DeleteCacheClusterCommandOutput extends DeleteCacheClusterResul
54
54
  * import { ElastiCacheClient, DeleteCacheClusterCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
55
55
  * // const { ElastiCacheClient, DeleteCacheClusterCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
56
56
  * const client = new ElastiCacheClient(config);
57
+ * const input = { // DeleteCacheClusterMessage
58
+ * CacheClusterId: "STRING_VALUE", // required
59
+ * FinalSnapshotIdentifier: "STRING_VALUE",
60
+ * };
57
61
  * const command = new DeleteCacheClusterCommand(input);
58
62
  * const response = await client.send(command);
59
63
  * ```
@@ -28,6 +28,9 @@ export interface DeleteCacheParameterGroupCommandOutput extends __MetadataBearer
28
28
  * import { ElastiCacheClient, DeleteCacheParameterGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
29
29
  * // const { ElastiCacheClient, DeleteCacheParameterGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
30
30
  * const client = new ElastiCacheClient(config);
31
+ * const input = { // DeleteCacheParameterGroupMessage
32
+ * CacheParameterGroupName: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new DeleteCacheParameterGroupCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -29,6 +29,9 @@ export interface DeleteCacheSecurityGroupCommandOutput extends __MetadataBearer
29
29
  * import { ElastiCacheClient, DeleteCacheSecurityGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
30
30
  * // const { ElastiCacheClient, DeleteCacheSecurityGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
31
31
  * const client = new ElastiCacheClient(config);
32
+ * const input = { // DeleteCacheSecurityGroupMessage
33
+ * CacheSecurityGroupName: "STRING_VALUE", // required
34
+ * };
32
35
  * const command = new DeleteCacheSecurityGroupCommand(input);
33
36
  * const response = await client.send(command);
34
37
  * ```
@@ -29,6 +29,9 @@ export interface DeleteCacheSubnetGroupCommandOutput extends __MetadataBearer {
29
29
  * import { ElastiCacheClient, DeleteCacheSubnetGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
30
30
  * // const { ElastiCacheClient, DeleteCacheSubnetGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
31
31
  * const client = new ElastiCacheClient(config);
32
+ * const input = { // DeleteCacheSubnetGroupMessage
33
+ * CacheSubnetGroupName: "STRING_VALUE", // required
34
+ * };
32
35
  * const command = new DeleteCacheSubnetGroupCommand(input);
33
36
  * const response = await client.send(command);
34
37
  * ```
@@ -39,6 +39,10 @@ export interface DeleteGlobalReplicationGroupCommandOutput extends DeleteGlobalR
39
39
  * import { ElastiCacheClient, DeleteGlobalReplicationGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
40
40
  * // const { ElastiCacheClient, DeleteGlobalReplicationGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
41
41
  * const client = new ElastiCacheClient(config);
42
+ * const input = { // DeleteGlobalReplicationGroupMessage
43
+ * GlobalReplicationGroupId: "STRING_VALUE", // required
44
+ * RetainPrimaryReplicationGroup: true || false, // required
45
+ * };
42
46
  * const command = new DeleteGlobalReplicationGroupCommand(input);
43
47
  * const response = await client.send(command);
44
48
  * ```
@@ -34,6 +34,11 @@ export interface DeleteReplicationGroupCommandOutput extends DeleteReplicationGr
34
34
  * import { ElastiCacheClient, DeleteReplicationGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
35
35
  * // const { ElastiCacheClient, DeleteReplicationGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
36
36
  * const client = new ElastiCacheClient(config);
37
+ * const input = { // DeleteReplicationGroupMessage
38
+ * ReplicationGroupId: "STRING_VALUE", // required
39
+ * RetainPrimaryCluster: true || false,
40
+ * FinalSnapshotIdentifier: "STRING_VALUE",
41
+ * };
37
42
  * const command = new DeleteReplicationGroupCommand(input);
38
43
  * const response = await client.send(command);
39
44
  * ```
@@ -31,6 +31,9 @@ export interface DeleteSnapshotCommandOutput extends DeleteSnapshotResult, __Met
31
31
  * import { ElastiCacheClient, DeleteSnapshotCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
32
32
  * // const { ElastiCacheClient, DeleteSnapshotCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
33
33
  * const client = new ElastiCacheClient(config);
34
+ * const input = { // DeleteSnapshotMessage
35
+ * SnapshotName: "STRING_VALUE", // required
36
+ * };
34
37
  * const command = new DeleteSnapshotCommand(input);
35
38
  * const response = await client.send(command);
36
39
  * ```
@@ -26,6 +26,9 @@ export interface DeleteUserCommandOutput extends User, __MetadataBearer {
26
26
  * import { ElastiCacheClient, DeleteUserCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
27
27
  * // const { ElastiCacheClient, DeleteUserCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
28
28
  * const client = new ElastiCacheClient(config);
29
+ * const input = { // DeleteUserMessage
30
+ * UserId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteUserCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DeleteUserGroupCommandOutput extends UserGroup, __MetadataBeare
26
26
  * import { ElastiCacheClient, DeleteUserGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
27
27
  * // const { ElastiCacheClient, DeleteUserGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
28
28
  * const client = new ElastiCacheClient(config);
29
+ * const input = { // DeleteUserGroupMessage
30
+ * UserGroupId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteUserGroupCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -41,6 +41,13 @@ export interface DescribeCacheClustersCommandOutput extends CacheClusterMessage,
41
41
  * import { ElastiCacheClient, DescribeCacheClustersCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
42
42
  * // const { ElastiCacheClient, DescribeCacheClustersCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
43
43
  * const client = new ElastiCacheClient(config);
44
+ * const input = { // DescribeCacheClustersMessage
45
+ * CacheClusterId: "STRING_VALUE",
46
+ * MaxRecords: Number("int"),
47
+ * Marker: "STRING_VALUE",
48
+ * ShowCacheNodeInfo: true || false,
49
+ * ShowCacheClustersNotInReplicationGroups: true || false,
50
+ * };
44
51
  * const command = new DescribeCacheClustersCommand(input);
45
52
  * const response = await client.send(command);
46
53
  * ```
@@ -27,6 +27,14 @@ export interface DescribeCacheEngineVersionsCommandOutput extends CacheEngineVer
27
27
  * import { ElastiCacheClient, DescribeCacheEngineVersionsCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
28
28
  * // const { ElastiCacheClient, DescribeCacheEngineVersionsCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
29
29
  * const client = new ElastiCacheClient(config);
30
+ * const input = { // DescribeCacheEngineVersionsMessage
31
+ * Engine: "STRING_VALUE",
32
+ * EngineVersion: "STRING_VALUE",
33
+ * CacheParameterGroupFamily: "STRING_VALUE",
34
+ * MaxRecords: Number("int"),
35
+ * Marker: "STRING_VALUE",
36
+ * DefaultOnly: true || false,
37
+ * };
30
38
  * const command = new DescribeCacheEngineVersionsCommand(input);
31
39
  * const response = await client.send(command);
32
40
  * ```
@@ -28,6 +28,11 @@ export interface DescribeCacheParameterGroupsCommandOutput extends CacheParamete
28
28
  * import { ElastiCacheClient, DescribeCacheParameterGroupsCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
29
29
  * // const { ElastiCacheClient, DescribeCacheParameterGroupsCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
30
30
  * const client = new ElastiCacheClient(config);
31
+ * const input = { // DescribeCacheParameterGroupsMessage
32
+ * CacheParameterGroupName: "STRING_VALUE",
33
+ * MaxRecords: Number("int"),
34
+ * Marker: "STRING_VALUE",
35
+ * };
31
36
  * const command = new DescribeCacheParameterGroupsCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -27,6 +27,12 @@ export interface DescribeCacheParametersCommandOutput extends CacheParameterGrou
27
27
  * import { ElastiCacheClient, DescribeCacheParametersCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
28
28
  * // const { ElastiCacheClient, DescribeCacheParametersCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
29
29
  * const client = new ElastiCacheClient(config);
30
+ * const input = { // DescribeCacheParametersMessage
31
+ * CacheParameterGroupName: "STRING_VALUE", // required
32
+ * Source: "STRING_VALUE",
33
+ * MaxRecords: Number("int"),
34
+ * Marker: "STRING_VALUE",
35
+ * };
30
36
  * const command = new DescribeCacheParametersCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -29,6 +29,11 @@ export interface DescribeCacheSecurityGroupsCommandOutput extends CacheSecurityG
29
29
  * import { ElastiCacheClient, DescribeCacheSecurityGroupsCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
30
30
  * // const { ElastiCacheClient, DescribeCacheSecurityGroupsCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
31
31
  * const client = new ElastiCacheClient(config);
32
+ * const input = { // DescribeCacheSecurityGroupsMessage
33
+ * CacheSecurityGroupName: "STRING_VALUE",
34
+ * MaxRecords: Number("int"),
35
+ * Marker: "STRING_VALUE",
36
+ * };
32
37
  * const command = new DescribeCacheSecurityGroupsCommand(input);
33
38
  * const response = await client.send(command);
34
39
  * ```
@@ -29,6 +29,11 @@ export interface DescribeCacheSubnetGroupsCommandOutput extends CacheSubnetGroup
29
29
  * import { ElastiCacheClient, DescribeCacheSubnetGroupsCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
30
30
  * // const { ElastiCacheClient, DescribeCacheSubnetGroupsCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
31
31
  * const client = new ElastiCacheClient(config);
32
+ * const input = { // DescribeCacheSubnetGroupsMessage
33
+ * CacheSubnetGroupName: "STRING_VALUE",
34
+ * MaxRecords: Number("int"),
35
+ * Marker: "STRING_VALUE",
36
+ * };
32
37
  * const command = new DescribeCacheSubnetGroupsCommand(input);
33
38
  * const response = await client.send(command);
34
39
  * ```