@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
|
@@ -65,6 +65,7 @@ import { ResetCacheParameterGroupCommandInput, ResetCacheParameterGroupCommandOu
|
|
|
65
65
|
import { RevokeCacheSecurityGroupIngressCommandInput, RevokeCacheSecurityGroupIngressCommandOutput } from "../commands/RevokeCacheSecurityGroupIngressCommand";
|
|
66
66
|
import { StartMigrationCommandInput, StartMigrationCommandOutput } from "../commands/StartMigrationCommand";
|
|
67
67
|
import { TestFailoverCommandInput, TestFailoverCommandOutput } from "../commands/TestFailoverCommand";
|
|
68
|
+
import { TestMigrationCommandInput, TestMigrationCommandOutput } from "../commands/TestMigrationCommand";
|
|
68
69
|
/**
|
|
69
70
|
* serializeAws_queryAddTagsToResourceCommand
|
|
70
71
|
*/
|
|
@@ -325,6 +326,10 @@ export declare const se_StartMigrationCommand: (input: StartMigrationCommandInpu
|
|
|
325
326
|
* serializeAws_queryTestFailoverCommand
|
|
326
327
|
*/
|
|
327
328
|
export declare const se_TestFailoverCommand: (input: TestFailoverCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
329
|
+
/**
|
|
330
|
+
* serializeAws_queryTestMigrationCommand
|
|
331
|
+
*/
|
|
332
|
+
export declare const se_TestMigrationCommand: (input: TestMigrationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
328
333
|
/**
|
|
329
334
|
* deserializeAws_queryAddTagsToResourceCommand
|
|
330
335
|
*/
|
|
@@ -585,3 +590,7 @@ export declare const de_StartMigrationCommand: (output: __HttpResponse, context:
|
|
|
585
590
|
* deserializeAws_queryTestFailoverCommand
|
|
586
591
|
*/
|
|
587
592
|
export declare const de_TestFailoverCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TestFailoverCommandOutput>;
|
|
593
|
+
/**
|
|
594
|
+
* deserializeAws_queryTestMigrationCommand
|
|
595
|
+
*/
|
|
596
|
+
export declare const de_TestMigrationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TestMigrationCommandOutput>;
|
|
@@ -259,6 +259,10 @@ import {
|
|
|
259
259
|
TestFailoverCommandInput,
|
|
260
260
|
TestFailoverCommandOutput,
|
|
261
261
|
} from "./commands/TestFailoverCommand";
|
|
262
|
+
import {
|
|
263
|
+
TestMigrationCommandInput,
|
|
264
|
+
TestMigrationCommandOutput,
|
|
265
|
+
} from "./commands/TestMigrationCommand";
|
|
262
266
|
import { ElastiCacheClient } from "./ElastiCacheClient";
|
|
263
267
|
export interface ElastiCache {
|
|
264
268
|
addTagsToResource(
|
|
@@ -1154,6 +1158,19 @@ export interface ElastiCache {
|
|
|
1154
1158
|
options: __HttpHandlerOptions,
|
|
1155
1159
|
cb: (err: any, data?: TestFailoverCommandOutput) => void
|
|
1156
1160
|
): void;
|
|
1161
|
+
testMigration(
|
|
1162
|
+
args: TestMigrationCommandInput,
|
|
1163
|
+
options?: __HttpHandlerOptions
|
|
1164
|
+
): Promise<TestMigrationCommandOutput>;
|
|
1165
|
+
testMigration(
|
|
1166
|
+
args: TestMigrationCommandInput,
|
|
1167
|
+
cb: (err: any, data?: TestMigrationCommandOutput) => void
|
|
1168
|
+
): void;
|
|
1169
|
+
testMigration(
|
|
1170
|
+
args: TestMigrationCommandInput,
|
|
1171
|
+
options: __HttpHandlerOptions,
|
|
1172
|
+
cb: (err: any, data?: TestMigrationCommandOutput) => void
|
|
1173
|
+
): void;
|
|
1157
1174
|
}
|
|
1158
1175
|
export declare class ElastiCache
|
|
1159
1176
|
extends ElastiCacheClient
|
|
@@ -32,6 +32,7 @@ import {
|
|
|
32
32
|
} from "@smithy/smithy-client";
|
|
33
33
|
import {
|
|
34
34
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
35
|
+
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
35
36
|
ChecksumConstructor as __ChecksumConstructor,
|
|
36
37
|
Decoder as __Decoder,
|
|
37
38
|
Encoder as __Encoder,
|
|
@@ -304,6 +305,10 @@ import {
|
|
|
304
305
|
TestFailoverCommandInput,
|
|
305
306
|
TestFailoverCommandOutput,
|
|
306
307
|
} from "./commands/TestFailoverCommand";
|
|
308
|
+
import {
|
|
309
|
+
TestMigrationCommandInput,
|
|
310
|
+
TestMigrationCommandOutput,
|
|
311
|
+
} from "./commands/TestMigrationCommand";
|
|
307
312
|
import {
|
|
308
313
|
ClientInputEndpointParameters,
|
|
309
314
|
ClientResolvedEndpointParameters,
|
|
@@ -375,7 +380,8 @@ export type ServiceInputTypes =
|
|
|
375
380
|
| ResetCacheParameterGroupCommandInput
|
|
376
381
|
| RevokeCacheSecurityGroupIngressCommandInput
|
|
377
382
|
| StartMigrationCommandInput
|
|
378
|
-
| TestFailoverCommandInput
|
|
383
|
+
| TestFailoverCommandInput
|
|
384
|
+
| TestMigrationCommandInput;
|
|
379
385
|
export type ServiceOutputTypes =
|
|
380
386
|
| AddTagsToResourceCommandOutput
|
|
381
387
|
| AuthorizeCacheSecurityGroupIngressCommandOutput
|
|
@@ -441,7 +447,8 @@ export type ServiceOutputTypes =
|
|
|
441
447
|
| ResetCacheParameterGroupCommandOutput
|
|
442
448
|
| RevokeCacheSecurityGroupIngressCommandOutput
|
|
443
449
|
| StartMigrationCommandOutput
|
|
444
|
-
| TestFailoverCommandOutput
|
|
450
|
+
| TestFailoverCommandOutput
|
|
451
|
+
| TestMigrationCommandOutput;
|
|
445
452
|
export interface ClientDefaults
|
|
446
453
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
447
454
|
requestHandler?: __HttpHandler;
|
|
@@ -497,6 +504,8 @@ export declare class ElastiCacheClient extends __Client<
|
|
|
497
504
|
ElastiCacheClientResolvedConfig
|
|
498
505
|
> {
|
|
499
506
|
readonly config: ElastiCacheClientResolvedConfig;
|
|
500
|
-
constructor(
|
|
507
|
+
constructor(
|
|
508
|
+
...[configuration]: __CheckOptionalClientConfig<ElastiCacheClientConfig>
|
|
509
|
+
);
|
|
501
510
|
destroy(): void;
|
|
502
511
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
ElastiCacheClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ElastiCacheClient";
|
|
14
|
+
import {
|
|
15
|
+
TestMigrationMessage,
|
|
16
|
+
TestMigrationResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface TestMigrationCommandInput extends TestMigrationMessage {}
|
|
20
|
+
export interface TestMigrationCommandOutput
|
|
21
|
+
extends TestMigrationResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class TestMigrationCommand extends $Command<
|
|
24
|
+
TestMigrationCommandInput,
|
|
25
|
+
TestMigrationCommandOutput,
|
|
26
|
+
ElastiCacheClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: TestMigrationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: TestMigrationCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: ElastiCacheClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<TestMigrationCommandInput, TestMigrationCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -1876,3 +1876,10 @@ export declare class TestFailoverNotAvailableFault extends __BaseException {
|
|
|
1876
1876
|
export interface TestFailoverResult {
|
|
1877
1877
|
ReplicationGroup?: ReplicationGroup;
|
|
1878
1878
|
}
|
|
1879
|
+
export interface TestMigrationMessage {
|
|
1880
|
+
ReplicationGroupId: string | undefined;
|
|
1881
|
+
CustomerNodeEndpointList: CustomerNodeEndpoint[] | undefined;
|
|
1882
|
+
}
|
|
1883
|
+
export interface TestMigrationResponse {
|
|
1884
|
+
ReplicationGroup?: ReplicationGroup;
|
|
1885
|
+
}
|
|
@@ -263,6 +263,10 @@ import {
|
|
|
263
263
|
TestFailoverCommandInput,
|
|
264
264
|
TestFailoverCommandOutput,
|
|
265
265
|
} from "../commands/TestFailoverCommand";
|
|
266
|
+
import {
|
|
267
|
+
TestMigrationCommandInput,
|
|
268
|
+
TestMigrationCommandOutput,
|
|
269
|
+
} from "../commands/TestMigrationCommand";
|
|
266
270
|
export declare const se_AddTagsToResourceCommand: (
|
|
267
271
|
input: AddTagsToResourceCommandInput,
|
|
268
272
|
context: __SerdeContext
|
|
@@ -523,6 +527,10 @@ export declare const se_TestFailoverCommand: (
|
|
|
523
527
|
input: TestFailoverCommandInput,
|
|
524
528
|
context: __SerdeContext
|
|
525
529
|
) => Promise<__HttpRequest>;
|
|
530
|
+
export declare const se_TestMigrationCommand: (
|
|
531
|
+
input: TestMigrationCommandInput,
|
|
532
|
+
context: __SerdeContext
|
|
533
|
+
) => Promise<__HttpRequest>;
|
|
526
534
|
export declare const de_AddTagsToResourceCommand: (
|
|
527
535
|
output: __HttpResponse,
|
|
528
536
|
context: __SerdeContext
|
|
@@ -783,3 +791,7 @@ export declare const de_TestFailoverCommand: (
|
|
|
783
791
|
output: __HttpResponse,
|
|
784
792
|
context: __SerdeContext
|
|
785
793
|
) => Promise<TestFailoverCommandOutput>;
|
|
794
|
+
export declare const de_TestMigrationCommand: (
|
|
795
|
+
output: __HttpResponse,
|
|
796
|
+
context: __SerdeContext
|
|
797
|
+
) => Promise<TestMigrationCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elasticache",
|
|
3
3
|
"description": "AWS SDK for JavaScript Elasticache Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.387.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,40 +21,40 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.0.
|
|
36
|
-
"@smithy/fetch-http-handler": "^2.0.
|
|
37
|
-
"@smithy/hash-node": "^2.0.
|
|
38
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
39
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
41
|
-
"@smithy/middleware-retry": "^2.0.
|
|
42
|
-
"@smithy/middleware-serde": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.387.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.387.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.387.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.387.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.387.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.387.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.387.0",
|
|
31
|
+
"@aws-sdk/types": "3.387.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.387.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.387.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.387.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.0.2",
|
|
36
|
+
"@smithy/fetch-http-handler": "^2.0.2",
|
|
37
|
+
"@smithy/hash-node": "^2.0.2",
|
|
38
|
+
"@smithy/invalid-dependency": "^2.0.2",
|
|
39
|
+
"@smithy/middleware-content-length": "^2.0.2",
|
|
40
|
+
"@smithy/middleware-endpoint": "^2.0.2",
|
|
41
|
+
"@smithy/middleware-retry": "^2.0.2",
|
|
42
|
+
"@smithy/middleware-serde": "^2.0.2",
|
|
43
43
|
"@smithy/middleware-stack": "^2.0.0",
|
|
44
|
-
"@smithy/node-config-provider": "^2.0.
|
|
45
|
-
"@smithy/node-http-handler": "^2.0.
|
|
46
|
-
"@smithy/protocol-http": "^2.0.
|
|
47
|
-
"@smithy/smithy-client": "^2.0.
|
|
48
|
-
"@smithy/types": "^2.0
|
|
49
|
-
"@smithy/url-parser": "^2.0.
|
|
44
|
+
"@smithy/node-config-provider": "^2.0.2",
|
|
45
|
+
"@smithy/node-http-handler": "^2.0.2",
|
|
46
|
+
"@smithy/protocol-http": "^2.0.2",
|
|
47
|
+
"@smithy/smithy-client": "^2.0.2",
|
|
48
|
+
"@smithy/types": "^2.1.0",
|
|
49
|
+
"@smithy/url-parser": "^2.0.2",
|
|
50
50
|
"@smithy/util-base64": "^2.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^2.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^2.0.2",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^2.0.2",
|
|
55
55
|
"@smithy/util-retry": "^2.0.0",
|
|
56
56
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
|
-
"@smithy/util-waiter": "^2.0.
|
|
57
|
+
"@smithy/util-waiter": "^2.0.2",
|
|
58
58
|
"fast-xml-parser": "4.2.5",
|
|
59
59
|
"tslib": "^2.5.0"
|
|
60
60
|
},
|