@aws-sdk/client-elasticache 3.385.0 → 3.387.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/README.md +17 -9
- package/dist-cjs/ElastiCache.js +2 -0
- package/dist-cjs/ElastiCacheClient.js +2 -2
- package/dist-cjs/commands/TestMigrationCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/protocols/Aws_query.js +79 -2
- package/dist-es/ElastiCache.js +2 -0
- package/dist-es/ElastiCacheClient.js +2 -2
- package/dist-es/commands/TestMigrationCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/protocols/Aws_query.js +75 -0
- package/dist-types/ElastiCache.d.ts +16 -9
- package/dist-types/ElastiCacheClient.d.ts +14 -13
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +23 -17
- package/dist-types/commands/AuthorizeCacheSecurityGroupIngressCommand.d.ts +8 -6
- package/dist-types/commands/BatchApplyUpdateActionCommand.d.ts +3 -1
- package/dist-types/commands/BatchStopUpdateActionCommand.d.ts +3 -1
- package/dist-types/commands/CopySnapshotCommand.d.ts +54 -50
- package/dist-types/commands/CreateCacheClusterCommand.d.ts +19 -12
- package/dist-types/commands/CreateCacheParameterGroupCommand.d.ts +16 -10
- package/dist-types/commands/CreateCacheSecurityGroupCommand.d.ts +10 -8
- package/dist-types/commands/CreateCacheSubnetGroupCommand.d.ts +15 -7
- package/dist-types/commands/CreateGlobalReplicationGroupCommand.d.ts +10 -9
- package/dist-types/commands/CreateReplicationGroupCommand.d.ts +45 -31
- package/dist-types/commands/CreateSnapshotCommand.d.ts +11 -7
- package/dist-types/commands/CreateUserCommand.d.ts +5 -2
- package/dist-types/commands/CreateUserGroupCommand.d.ts +5 -2
- package/dist-types/commands/DecreaseReplicaCountCommand.d.ts +12 -9
- package/dist-types/commands/DeleteCacheClusterCommand.d.ts +10 -9
- package/dist-types/commands/DeleteCacheParameterGroupCommand.d.ts +7 -5
- package/dist-types/commands/DeleteCacheSecurityGroupCommand.d.ts +4 -2
- package/dist-types/commands/DeleteCacheSubnetGroupCommand.d.ts +4 -2
- package/dist-types/commands/DeleteGlobalReplicationGroupCommand.d.ts +14 -7
- package/dist-types/commands/DeleteReplicationGroupCommand.d.ts +14 -10
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +5 -4
- package/dist-types/commands/DeleteUserCommand.d.ts +3 -1
- package/dist-types/commands/DeleteUserGroupCommand.d.ts +3 -1
- package/dist-types/commands/DescribeCacheClustersCommand.d.ts +13 -13
- package/dist-types/commands/DescribeCacheEngineVersionsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeCacheParameterGroupsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeCacheParametersCommand.d.ts +3 -3
- package/dist-types/commands/DescribeCacheSecurityGroupsCommand.d.ts +5 -5
- package/dist-types/commands/DescribeCacheSubnetGroupsCommand.d.ts +6 -5
- package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +2 -2
- package/dist-types/commands/DescribeEventsCommand.d.ts +5 -6
- package/dist-types/commands/DescribeGlobalReplicationGroupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeReplicationGroupsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeReservedCacheNodesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeReservedCacheNodesOfferingsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +2 -2
- package/dist-types/commands/DisassociateGlobalReplicationGroupCommand.d.ts +3 -1
- package/dist-types/commands/FailoverGlobalReplicationGroupCommand.d.ts +2 -1
- package/dist-types/commands/IncreaseReplicaCountCommand.d.ts +12 -9
- package/dist-types/commands/ListAllowedNodeTypeModificationsCommand.d.ts +6 -5
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -10
- package/dist-types/commands/ModifyCacheClusterCommand.d.ts +12 -9
- package/dist-types/commands/ModifyCacheParameterGroupCommand.d.ts +6 -5
- package/dist-types/commands/ModifyCacheSubnetGroupCommand.d.ts +8 -4
- package/dist-types/commands/ModifyReplicationGroupCommand.d.ts +14 -10
- package/dist-types/commands/ModifyReplicationGroupShardConfigurationCommand.d.ts +8 -7
- package/dist-types/commands/PurchaseReservedCacheNodesOfferingCommand.d.ts +8 -6
- package/dist-types/commands/RebalanceSlotsInGlobalReplicationGroupCommand.d.ts +2 -1
- package/dist-types/commands/RebootCacheClusterCommand.d.ts +11 -10
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +13 -8
- package/dist-types/commands/ResetCacheParameterGroupCommand.d.ts +8 -6
- package/dist-types/commands/RevokeCacheSecurityGroupIngressCommand.d.ts +6 -5
- package/dist-types/commands/TestFailoverCommand.d.ts +38 -21
- package/dist-types/commands/TestMigrationCommand.d.ts +210 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +9 -9
- package/dist-types/models/models_0.d.ts +1496 -1152
- package/dist-types/protocols/Aws_query.d.ts +9 -0
- package/dist-types/ts3.4/ElastiCache.d.ts +17 -0
- package/dist-types/ts3.4/ElastiCacheClient.d.ts +12 -3
- package/dist-types/ts3.4/commands/TestMigrationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
- package/package.json +29 -29
|
@@ -23,49 +23,63 @@ export interface TestFailoverCommandOutput extends TestFailoverResult, __Metadat
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Represents the input of a <code>TestFailover</code> operation which test automatic
|
|
27
|
-
* a specified node group (called shard in the console) in a replication group
|
|
28
|
-
*
|
|
29
|
-
*
|
|
26
|
+
* <p>Represents the input of a <code>TestFailover</code> operation which test automatic
|
|
27
|
+
* failover on a specified node group (called shard in the console) in a replication group
|
|
28
|
+
* (called cluster in the console).</p>
|
|
29
|
+
* <p>This API is designed for testing the behavior of your application in case of
|
|
30
|
+
* ElastiCache failover. It is not designed to be an operational tool for initiating a
|
|
31
|
+
* failover to overcome a problem you may have with the cluster. Moreover, in certain
|
|
32
|
+
* conditions such as large-scale operational events, Amazon may block this API. </p>
|
|
30
33
|
* <p class="title">
|
|
31
34
|
* <b>Note the following</b>
|
|
32
35
|
* </p>
|
|
33
36
|
* <ul>
|
|
34
37
|
* <li>
|
|
35
|
-
* <p>A customer can use this operation to test automatic failover on up to 5 shards
|
|
36
|
-
* in any rolling
|
|
38
|
+
* <p>A customer can use this operation to test automatic failover on up to 5 shards
|
|
39
|
+
* (called node groups in the ElastiCache API and Amazon CLI) in any rolling
|
|
40
|
+
* 24-hour period.</p>
|
|
37
41
|
* </li>
|
|
38
42
|
* <li>
|
|
39
|
-
* <p>If calling this operation on shards in different clusters (called replication
|
|
43
|
+
* <p>If calling this operation on shards in different clusters (called replication
|
|
44
|
+
* groups in the API and CLI), the calls can be made concurrently.</p>
|
|
40
45
|
* <p> </p>
|
|
41
46
|
* </li>
|
|
42
47
|
* <li>
|
|
43
|
-
* <p>If calling this operation multiple times on different shards in the same Redis
|
|
44
|
-
* the first node replacement must
|
|
48
|
+
* <p>If calling this operation multiple times on different shards in the same Redis
|
|
49
|
+
* (cluster mode enabled) replication group, the first node replacement must
|
|
50
|
+
* complete before a subsequent call can be made.</p>
|
|
45
51
|
* </li>
|
|
46
52
|
* <li>
|
|
47
|
-
* <p>To determine whether the node replacement is complete you can check Events
|
|
48
|
-
* the Amazon CLI, or the ElastiCache API.
|
|
49
|
-
* Look for the following automatic failover related events, listed here in order
|
|
53
|
+
* <p>To determine whether the node replacement is complete you can check Events
|
|
54
|
+
* using the Amazon ElastiCache console, the Amazon CLI, or the ElastiCache API.
|
|
55
|
+
* Look for the following automatic failover related events, listed here in order
|
|
56
|
+
* of occurrance:</p>
|
|
50
57
|
* <ol>
|
|
51
58
|
* <li>
|
|
52
|
-
* <p>Replication group message: <code>Test Failover API called for node
|
|
59
|
+
* <p>Replication group message: <code>Test Failover API called for node
|
|
60
|
+
* group <node-group-id></code>
|
|
53
61
|
* </p>
|
|
54
62
|
* </li>
|
|
55
63
|
* <li>
|
|
56
|
-
* <p>Cache cluster message: <code>Failover from primary node
|
|
64
|
+
* <p>Cache cluster message: <code>Failover from primary node
|
|
65
|
+
* <primary-node-id> to replica node <node-id>
|
|
66
|
+
* completed</code>
|
|
57
67
|
* </p>
|
|
58
68
|
* </li>
|
|
59
69
|
* <li>
|
|
60
|
-
* <p>Replication group message: <code>Failover from primary node
|
|
70
|
+
* <p>Replication group message: <code>Failover from primary node
|
|
71
|
+
* <primary-node-id> to replica node <node-id>
|
|
72
|
+
* completed</code>
|
|
61
73
|
* </p>
|
|
62
74
|
* </li>
|
|
63
75
|
* <li>
|
|
64
|
-
* <p>Cache cluster message: <code>Recovering cache nodes
|
|
76
|
+
* <p>Cache cluster message: <code>Recovering cache nodes
|
|
77
|
+
* <node-id></code>
|
|
65
78
|
* </p>
|
|
66
79
|
* </li>
|
|
67
80
|
* <li>
|
|
68
|
-
* <p>Cache cluster message: <code>Finished recovery for cache nodes
|
|
81
|
+
* <p>Cache cluster message: <code>Finished recovery for cache nodes
|
|
82
|
+
* <node-id></code>
|
|
69
83
|
* </p>
|
|
70
84
|
* </li>
|
|
71
85
|
* </ol>
|
|
@@ -73,8 +87,9 @@ export interface TestFailoverCommandOutput extends TestFailoverResult, __Metadat
|
|
|
73
87
|
* <ul>
|
|
74
88
|
* <li>
|
|
75
89
|
* <p>
|
|
76
|
-
* <a href="https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ECEvents.Viewing.html">Viewing
|
|
77
|
-
*
|
|
90
|
+
* <a href="https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ECEvents.Viewing.html">Viewing
|
|
91
|
+
* ElastiCache Events</a> in the <i>ElastiCache User
|
|
92
|
+
* Guide</i>
|
|
78
93
|
* </p>
|
|
79
94
|
* </li>
|
|
80
95
|
* <li>
|
|
@@ -84,7 +99,8 @@ export interface TestFailoverCommandOutput extends TestFailoverResult, __Metadat
|
|
|
84
99
|
* </ul>
|
|
85
100
|
* </li>
|
|
86
101
|
* </ul>
|
|
87
|
-
* <p>Also see, <a href="https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/AutoFailover.html#auto-failover-test">Testing
|
|
102
|
+
* <p>Also see, <a href="https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/AutoFailover.html#auto-failover-test">Testing
|
|
103
|
+
* Multi-AZ </a> in the <i>ElastiCache User Guide</i>.</p>
|
|
88
104
|
* @example
|
|
89
105
|
* Use a bare-bones client and the command you need to make an API call.
|
|
90
106
|
* ```javascript
|
|
@@ -248,7 +264,8 @@ export interface TestFailoverCommandOutput extends TestFailoverResult, __Metadat
|
|
|
248
264
|
*
|
|
249
265
|
* @throws {@link NodeGroupNotFoundFault} (client fault)
|
|
250
266
|
* <p>The node group specified by the <code>NodeGroupId</code> parameter could not be found.
|
|
251
|
-
* Please verify that the node group exists and that you spelled the
|
|
267
|
+
* Please verify that the node group exists and that you spelled the
|
|
268
|
+
* <code>NodeGroupId</code> value correctly.</p>
|
|
252
269
|
*
|
|
253
270
|
* @throws {@link ReplicationGroupNotFoundFault} (client fault)
|
|
254
271
|
* <p>The specified replication group does not exist.</p>
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ElastiCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElastiCacheClient";
|
|
5
|
+
import { TestMigrationMessage, TestMigrationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link TestMigrationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TestMigrationCommandInput extends TestMigrationMessage {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TestMigrationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TestMigrationCommandOutput extends TestMigrationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p> Async API to test connection between source and target replication group. </p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { ElastiCacheClient, TestMigrationCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
31
|
+
* // const { ElastiCacheClient, TestMigrationCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
32
|
+
* const client = new ElastiCacheClient(config);
|
|
33
|
+
* const input = { // TestMigrationMessage
|
|
34
|
+
* ReplicationGroupId: "STRING_VALUE", // required
|
|
35
|
+
* CustomerNodeEndpointList: [ // CustomerNodeEndpointList // required
|
|
36
|
+
* { // CustomerNodeEndpoint
|
|
37
|
+
* Address: "STRING_VALUE",
|
|
38
|
+
* Port: Number("int"),
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
42
|
+
* const command = new TestMigrationCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // TestMigrationResponse
|
|
45
|
+
* // ReplicationGroup: { // ReplicationGroup
|
|
46
|
+
* // ReplicationGroupId: "STRING_VALUE",
|
|
47
|
+
* // Description: "STRING_VALUE",
|
|
48
|
+
* // GlobalReplicationGroupInfo: { // GlobalReplicationGroupInfo
|
|
49
|
+
* // GlobalReplicationGroupId: "STRING_VALUE",
|
|
50
|
+
* // GlobalReplicationGroupMemberRole: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // Status: "STRING_VALUE",
|
|
53
|
+
* // PendingModifiedValues: { // ReplicationGroupPendingModifiedValues
|
|
54
|
+
* // PrimaryClusterId: "STRING_VALUE",
|
|
55
|
+
* // AutomaticFailoverStatus: "enabled" || "disabled",
|
|
56
|
+
* // Resharding: { // ReshardingStatus
|
|
57
|
+
* // SlotMigration: { // SlotMigration
|
|
58
|
+
* // ProgressPercentage: Number("double"),
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
61
|
+
* // AuthTokenStatus: "SETTING" || "ROTATING",
|
|
62
|
+
* // UserGroups: { // UserGroupsUpdateStatus
|
|
63
|
+
* // UserGroupIdsToAdd: [ // UserGroupIdList
|
|
64
|
+
* // "STRING_VALUE",
|
|
65
|
+
* // ],
|
|
66
|
+
* // UserGroupIdsToRemove: [
|
|
67
|
+
* // "STRING_VALUE",
|
|
68
|
+
* // ],
|
|
69
|
+
* // },
|
|
70
|
+
* // LogDeliveryConfigurations: [ // PendingLogDeliveryConfigurationList
|
|
71
|
+
* // { // PendingLogDeliveryConfiguration
|
|
72
|
+
* // LogType: "slow-log" || "engine-log",
|
|
73
|
+
* // DestinationType: "cloudwatch-logs" || "kinesis-firehose",
|
|
74
|
+
* // DestinationDetails: { // DestinationDetails
|
|
75
|
+
* // CloudWatchLogsDetails: { // CloudWatchLogsDestinationDetails
|
|
76
|
+
* // LogGroup: "STRING_VALUE",
|
|
77
|
+
* // },
|
|
78
|
+
* // KinesisFirehoseDetails: { // KinesisFirehoseDestinationDetails
|
|
79
|
+
* // DeliveryStream: "STRING_VALUE",
|
|
80
|
+
* // },
|
|
81
|
+
* // },
|
|
82
|
+
* // LogFormat: "text" || "json",
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
85
|
+
* // TransitEncryptionEnabled: true || false,
|
|
86
|
+
* // TransitEncryptionMode: "preferred" || "required",
|
|
87
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
88
|
+
* // },
|
|
89
|
+
* // MemberClusters: [ // ClusterIdList
|
|
90
|
+
* // "STRING_VALUE",
|
|
91
|
+
* // ],
|
|
92
|
+
* // NodeGroups: [ // NodeGroupList
|
|
93
|
+
* // { // NodeGroup
|
|
94
|
+
* // NodeGroupId: "STRING_VALUE",
|
|
95
|
+
* // Status: "STRING_VALUE",
|
|
96
|
+
* // PrimaryEndpoint: { // Endpoint
|
|
97
|
+
* // Address: "STRING_VALUE",
|
|
98
|
+
* // Port: Number("int"),
|
|
99
|
+
* // },
|
|
100
|
+
* // ReaderEndpoint: {
|
|
101
|
+
* // Address: "STRING_VALUE",
|
|
102
|
+
* // Port: Number("int"),
|
|
103
|
+
* // },
|
|
104
|
+
* // Slots: "STRING_VALUE",
|
|
105
|
+
* // NodeGroupMembers: [ // NodeGroupMemberList
|
|
106
|
+
* // { // NodeGroupMember
|
|
107
|
+
* // CacheClusterId: "STRING_VALUE",
|
|
108
|
+
* // CacheNodeId: "STRING_VALUE",
|
|
109
|
+
* // ReadEndpoint: {
|
|
110
|
+
* // Address: "STRING_VALUE",
|
|
111
|
+
* // Port: Number("int"),
|
|
112
|
+
* // },
|
|
113
|
+
* // PreferredAvailabilityZone: "STRING_VALUE",
|
|
114
|
+
* // PreferredOutpostArn: "STRING_VALUE",
|
|
115
|
+
* // CurrentRole: "STRING_VALUE",
|
|
116
|
+
* // },
|
|
117
|
+
* // ],
|
|
118
|
+
* // },
|
|
119
|
+
* // ],
|
|
120
|
+
* // SnapshottingClusterId: "STRING_VALUE",
|
|
121
|
+
* // AutomaticFailover: "enabled" || "disabled" || "enabling" || "disabling",
|
|
122
|
+
* // MultiAZ: "enabled" || "disabled",
|
|
123
|
+
* // ConfigurationEndpoint: "<Endpoint>",
|
|
124
|
+
* // SnapshotRetentionLimit: Number("int"),
|
|
125
|
+
* // SnapshotWindow: "STRING_VALUE",
|
|
126
|
+
* // ClusterEnabled: true || false,
|
|
127
|
+
* // CacheNodeType: "STRING_VALUE",
|
|
128
|
+
* // AuthTokenEnabled: true || false,
|
|
129
|
+
* // AuthTokenLastModifiedDate: new Date("TIMESTAMP"),
|
|
130
|
+
* // TransitEncryptionEnabled: true || false,
|
|
131
|
+
* // AtRestEncryptionEnabled: true || false,
|
|
132
|
+
* // MemberClustersOutpostArns: [ // ReplicationGroupOutpostArnList
|
|
133
|
+
* // "STRING_VALUE",
|
|
134
|
+
* // ],
|
|
135
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
136
|
+
* // ARN: "STRING_VALUE",
|
|
137
|
+
* // UserGroupIds: [
|
|
138
|
+
* // "STRING_VALUE",
|
|
139
|
+
* // ],
|
|
140
|
+
* // LogDeliveryConfigurations: [ // LogDeliveryConfigurationList
|
|
141
|
+
* // { // LogDeliveryConfiguration
|
|
142
|
+
* // LogType: "slow-log" || "engine-log",
|
|
143
|
+
* // DestinationType: "cloudwatch-logs" || "kinesis-firehose",
|
|
144
|
+
* // DestinationDetails: {
|
|
145
|
+
* // CloudWatchLogsDetails: {
|
|
146
|
+
* // LogGroup: "STRING_VALUE",
|
|
147
|
+
* // },
|
|
148
|
+
* // KinesisFirehoseDetails: {
|
|
149
|
+
* // DeliveryStream: "STRING_VALUE",
|
|
150
|
+
* // },
|
|
151
|
+
* // },
|
|
152
|
+
* // LogFormat: "text" || "json",
|
|
153
|
+
* // Status: "active" || "enabling" || "modifying" || "disabling" || "error",
|
|
154
|
+
* // Message: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
156
|
+
* // ],
|
|
157
|
+
* // ReplicationGroupCreateTime: new Date("TIMESTAMP"),
|
|
158
|
+
* // DataTiering: "enabled" || "disabled",
|
|
159
|
+
* // AutoMinorVersionUpgrade: true || false,
|
|
160
|
+
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
161
|
+
* // IpDiscovery: "ipv4" || "ipv6",
|
|
162
|
+
* // TransitEncryptionMode: "preferred" || "required",
|
|
163
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
164
|
+
* // },
|
|
165
|
+
* // };
|
|
166
|
+
*
|
|
167
|
+
* ```
|
|
168
|
+
*
|
|
169
|
+
* @param TestMigrationCommandInput - {@link TestMigrationCommandInput}
|
|
170
|
+
* @returns {@link TestMigrationCommandOutput}
|
|
171
|
+
* @see {@link TestMigrationCommandInput} for command's `input` shape.
|
|
172
|
+
* @see {@link TestMigrationCommandOutput} for command's `response` shape.
|
|
173
|
+
* @see {@link ElastiCacheClientResolvedConfig | config} for ElastiCacheClient's `config` shape.
|
|
174
|
+
*
|
|
175
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
176
|
+
* <p>The value for a parameter is invalid.</p>
|
|
177
|
+
*
|
|
178
|
+
* @throws {@link InvalidReplicationGroupStateFault} (client fault)
|
|
179
|
+
* <p>The requested replication group is not in the <code>available</code> state.</p>
|
|
180
|
+
*
|
|
181
|
+
* @throws {@link ReplicationGroupAlreadyUnderMigrationFault} (client fault)
|
|
182
|
+
* <p>The targeted replication group is not available. </p>
|
|
183
|
+
*
|
|
184
|
+
* @throws {@link ReplicationGroupNotFoundFault} (client fault)
|
|
185
|
+
* <p>The specified replication group does not exist.</p>
|
|
186
|
+
*
|
|
187
|
+
* @throws {@link ElastiCacheServiceException}
|
|
188
|
+
* <p>Base exception class for all service exceptions from ElastiCache service.</p>
|
|
189
|
+
*
|
|
190
|
+
*/
|
|
191
|
+
export declare class TestMigrationCommand extends $Command<TestMigrationCommandInput, TestMigrationCommandOutput, ElastiCacheClientResolvedConfig> {
|
|
192
|
+
readonly input: TestMigrationCommandInput;
|
|
193
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
constructor(input: TestMigrationCommandInput);
|
|
198
|
+
/**
|
|
199
|
+
* @internal
|
|
200
|
+
*/
|
|
201
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TestMigrationCommandInput, TestMigrationCommandOutput>;
|
|
202
|
+
/**
|
|
203
|
+
* @internal
|
|
204
|
+
*/
|
|
205
|
+
private serialize;
|
|
206
|
+
/**
|
|
207
|
+
* @internal
|
|
208
|
+
*/
|
|
209
|
+
private deserialize;
|
|
210
|
+
}
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* <fullname>Amazon ElastiCache</fullname>
|
|
3
|
-
* <p>Amazon ElastiCache is a web service that makes it easier to set up, operate,
|
|
4
|
-
*
|
|
5
|
-
* <p>With ElastiCache, customers get all of the benefits of a high-performance,
|
|
6
|
-
*
|
|
7
|
-
* The service makes setup, scaling,
|
|
8
|
-
*
|
|
9
|
-
* <p>In addition, through integration with Amazon CloudWatch,
|
|
10
|
-
*
|
|
11
|
-
*
|
|
3
|
+
* <p>Amazon ElastiCache is a web service that makes it easier to set up, operate, and scale
|
|
4
|
+
* a distributed cache in the cloud.</p>
|
|
5
|
+
* <p>With ElastiCache, customers get all of the benefits of a high-performance, in-memory
|
|
6
|
+
* cache with less of the administrative burden involved in launching and managing a
|
|
7
|
+
* distributed cache. The service makes setup, scaling, and cluster failure handling much
|
|
8
|
+
* simpler than in a self-managed cache deployment.</p>
|
|
9
|
+
* <p>In addition, through integration with Amazon CloudWatch, customers get enhanced
|
|
10
|
+
* visibility into the key performance statistics associated with their cache and can
|
|
11
|
+
* receive alarms if a part of their cache runs hot.</p>
|
|
12
12
|
*
|
|
13
13
|
* @packageDocumentation
|
|
14
14
|
*/
|