@aws-sdk/client-memorydb 3.696.0 → 3.703.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 +42 -2
- package/dist-cjs/index.js +319 -0
- package/dist-es/MemoryDB.js +10 -0
- package/dist-es/commands/CreateMultiRegionClusterCommand.js +22 -0
- package/dist-es/commands/DeleteMultiRegionClusterCommand.js +22 -0
- package/dist-es/commands/DescribeMultiRegionClustersCommand.js +22 -0
- package/dist-es/commands/ListAllowedMultiRegionClusterUpdatesCommand.js +22 -0
- package/dist-es/commands/UpdateMultiRegionClusterCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +52 -0
- package/dist-es/pagination/DescribeMultiRegionClustersPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -1
- package/dist-es/protocols/Aws_json1_1.js +147 -1
- package/dist-types/MemoryDB.d.ts +38 -2
- package/dist-types/MemoryDBClient.d.ts +9 -4
- package/dist-types/commands/BatchUpdateClusterCommand.d.ts +1 -0
- package/dist-types/commands/CopySnapshotCommand.d.ts +2 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +8 -0
- package/dist-types/commands/CreateMultiRegionClusterCommand.d.ts +121 -0
- package/dist-types/commands/CreateSnapshotCommand.d.ts +2 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +8 -1
- package/dist-types/commands/DeleteMultiRegionClusterCommand.d.ts +99 -0
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +2 -0
- package/dist-types/commands/DescribeACLsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClustersCommand.d.ts +1 -0
- package/dist-types/commands/DescribeEngineVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMultiRegionClustersCommand.d.ts +108 -0
- package/dist-types/commands/DescribeServiceUpdatesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +2 -0
- package/dist-types/commands/FailoverShardCommand.d.ts +1 -0
- package/dist-types/commands/ListAllowedMultiRegionClusterUpdatesCommand.d.ts +85 -0
- package/dist-types/commands/ListTagsCommand.d.ts +7 -2
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +10 -1
- package/dist-types/commands/UpdateClusterCommand.d.ts +1 -0
- package/dist-types/commands/UpdateMultiRegionClusterCommand.d.ts +113 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +412 -46
- package/dist-types/pagination/DescribeMultiRegionClustersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/MemoryDB.d.ts +92 -0
- package/dist-types/ts3.4/MemoryDBClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateMultiRegionClusterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteMultiRegionClusterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeMultiRegionClustersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAllowedMultiRegionClusterUpdatesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateMultiRegionClusterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +119 -0
- package/dist-types/ts3.4/pagination/DescribeMultiRegionClustersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +4 -4
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MemoryDBClient";
|
|
4
|
+
import { DescribeMultiRegionClustersRequest, DescribeMultiRegionClustersResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeMultiRegionClustersCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeMultiRegionClustersCommandInput extends DescribeMultiRegionClustersRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeMultiRegionClustersCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeMultiRegionClustersCommandOutput extends DescribeMultiRegionClustersResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeMultiRegionClustersCommand_base: {
|
|
25
|
+
new (input: DescribeMultiRegionClustersCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeMultiRegionClustersCommandInput, DescribeMultiRegionClustersCommandOutput, MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [DescribeMultiRegionClustersCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeMultiRegionClustersCommandInput, DescribeMultiRegionClustersCommandOutput, MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns details about one or more multi-Region clusters.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MemoryDBClient, DescribeMultiRegionClustersCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
|
|
35
|
+
* // const { MemoryDBClient, DescribeMultiRegionClustersCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
|
|
36
|
+
* const client = new MemoryDBClient(config);
|
|
37
|
+
* const input = { // DescribeMultiRegionClustersRequest
|
|
38
|
+
* MultiRegionClusterName: "STRING_VALUE",
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* ShowClusterDetails: true || false,
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DescribeMultiRegionClustersCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // DescribeMultiRegionClustersResponse
|
|
46
|
+
* // NextToken: "STRING_VALUE",
|
|
47
|
+
* // MultiRegionClusters: [ // MultiRegionClusterList
|
|
48
|
+
* // { // MultiRegionCluster
|
|
49
|
+
* // MultiRegionClusterName: "STRING_VALUE",
|
|
50
|
+
* // Description: "STRING_VALUE",
|
|
51
|
+
* // Status: "STRING_VALUE",
|
|
52
|
+
* // NodeType: "STRING_VALUE",
|
|
53
|
+
* // Engine: "STRING_VALUE",
|
|
54
|
+
* // EngineVersion: "STRING_VALUE",
|
|
55
|
+
* // NumberOfShards: Number("int"),
|
|
56
|
+
* // Clusters: [ // RegionalClusterList
|
|
57
|
+
* // { // RegionalCluster
|
|
58
|
+
* // ClusterName: "STRING_VALUE",
|
|
59
|
+
* // Region: "STRING_VALUE",
|
|
60
|
+
* // Status: "STRING_VALUE",
|
|
61
|
+
* // ARN: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // MultiRegionParameterGroupName: "STRING_VALUE",
|
|
65
|
+
* // TLSEnabled: true || false,
|
|
66
|
+
* // ARN: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param DescribeMultiRegionClustersCommandInput - {@link DescribeMultiRegionClustersCommandInput}
|
|
74
|
+
* @returns {@link DescribeMultiRegionClustersCommandOutput}
|
|
75
|
+
* @see {@link DescribeMultiRegionClustersCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link DescribeMultiRegionClustersCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link MemoryDBClientResolvedConfig | config} for MemoryDBClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ClusterNotFoundFault} (client fault)
|
|
80
|
+
* <p></p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
83
|
+
* <p></p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
86
|
+
* <p></p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link MultiRegionClusterNotFoundFault} (client fault)
|
|
89
|
+
* <p>The specified multi-Region cluster does not exist.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link MemoryDBServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from MemoryDB service.</p>
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class DescribeMultiRegionClustersCommand extends DescribeMultiRegionClustersCommand_base {
|
|
97
|
+
/** @internal type navigation helper, not in runtime. */
|
|
98
|
+
protected static __types: {
|
|
99
|
+
api: {
|
|
100
|
+
input: DescribeMultiRegionClustersRequest;
|
|
101
|
+
output: DescribeMultiRegionClustersResponse;
|
|
102
|
+
};
|
|
103
|
+
sdk: {
|
|
104
|
+
input: DescribeMultiRegionClustersCommandInput;
|
|
105
|
+
output: DescribeMultiRegionClustersCommandOutput;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -27,7 +27,7 @@ declare const DescribeServiceUpdatesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns details of the service updates
|
|
30
|
+
* <p>Returns details of the service updates.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -80,6 +80,8 @@ declare const DescribeSnapshotsCommand_base: {
|
|
|
80
80
|
* // SnapshotCreationTime: new Date("TIMESTAMP"),
|
|
81
81
|
* // },
|
|
82
82
|
* // ],
|
|
83
|
+
* // MultiRegionParameterGroupName: "STRING_VALUE",
|
|
84
|
+
* // MultiRegionClusterName: "STRING_VALUE",
|
|
83
85
|
* // },
|
|
84
86
|
* // DataTiering: "true" || "false",
|
|
85
87
|
* // },
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MemoryDBClient";
|
|
4
|
+
import { ListAllowedMultiRegionClusterUpdatesRequest, ListAllowedMultiRegionClusterUpdatesResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAllowedMultiRegionClusterUpdatesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAllowedMultiRegionClusterUpdatesCommandInput extends ListAllowedMultiRegionClusterUpdatesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAllowedMultiRegionClusterUpdatesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAllowedMultiRegionClusterUpdatesCommandOutput extends ListAllowedMultiRegionClusterUpdatesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAllowedMultiRegionClusterUpdatesCommand_base: {
|
|
25
|
+
new (input: ListAllowedMultiRegionClusterUpdatesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAllowedMultiRegionClusterUpdatesCommandInput, ListAllowedMultiRegionClusterUpdatesCommandOutput, MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListAllowedMultiRegionClusterUpdatesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAllowedMultiRegionClusterUpdatesCommandInput, ListAllowedMultiRegionClusterUpdatesCommandOutput, MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the allowed updates for a multi-Region cluster.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MemoryDBClient, ListAllowedMultiRegionClusterUpdatesCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
|
|
35
|
+
* // const { MemoryDBClient, ListAllowedMultiRegionClusterUpdatesCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
|
|
36
|
+
* const client = new MemoryDBClient(config);
|
|
37
|
+
* const input = { // ListAllowedMultiRegionClusterUpdatesRequest
|
|
38
|
+
* MultiRegionClusterName: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListAllowedMultiRegionClusterUpdatesCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListAllowedMultiRegionClusterUpdatesResponse
|
|
43
|
+
* // ScaleUpNodeTypes: [ // NodeTypeList
|
|
44
|
+
* // "STRING_VALUE",
|
|
45
|
+
* // ],
|
|
46
|
+
* // ScaleDownNodeTypes: [
|
|
47
|
+
* // "STRING_VALUE",
|
|
48
|
+
* // ],
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param ListAllowedMultiRegionClusterUpdatesCommandInput - {@link ListAllowedMultiRegionClusterUpdatesCommandInput}
|
|
54
|
+
* @returns {@link ListAllowedMultiRegionClusterUpdatesCommandOutput}
|
|
55
|
+
* @see {@link ListAllowedMultiRegionClusterUpdatesCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link ListAllowedMultiRegionClusterUpdatesCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link MemoryDBClientResolvedConfig | config} for MemoryDBClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
60
|
+
* <p></p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
63
|
+
* <p></p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link MultiRegionClusterNotFoundFault} (client fault)
|
|
66
|
+
* <p>The specified multi-Region cluster does not exist.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link MemoryDBServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from MemoryDB service.</p>
|
|
70
|
+
*
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export declare class ListAllowedMultiRegionClusterUpdatesCommand extends ListAllowedMultiRegionClusterUpdatesCommand_base {
|
|
74
|
+
/** @internal type navigation helper, not in runtime. */
|
|
75
|
+
protected static __types: {
|
|
76
|
+
api: {
|
|
77
|
+
input: ListAllowedMultiRegionClusterUpdatesRequest;
|
|
78
|
+
output: ListAllowedMultiRegionClusterUpdatesResponse;
|
|
79
|
+
};
|
|
80
|
+
sdk: {
|
|
81
|
+
input: ListAllowedMultiRegionClusterUpdatesCommandInput;
|
|
82
|
+
output: ListAllowedMultiRegionClusterUpdatesCommandOutput;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -30,8 +30,7 @@ declare const ListTagsCommand_base: {
|
|
|
30
30
|
* <p>Lists all tags currently on a named resource.
|
|
31
31
|
*
|
|
32
32
|
* A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track your MemoryDB resources.
|
|
33
|
-
* For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/Tagging-Resources.html">Tagging your MemoryDB resources</a>
|
|
34
|
-
* </p>
|
|
33
|
+
* For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/Tagging-Resources.html">Tagging your MemoryDB resources</a>.</p>
|
|
35
34
|
* @example
|
|
36
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
36
|
* ```javascript
|
|
@@ -72,6 +71,12 @@ declare const ListTagsCommand_base: {
|
|
|
72
71
|
* @throws {@link InvalidClusterStateFault} (client fault)
|
|
73
72
|
* <p></p>
|
|
74
73
|
*
|
|
74
|
+
* @throws {@link MultiRegionClusterNotFoundFault} (client fault)
|
|
75
|
+
* <p>The specified multi-Region cluster does not exist.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link MultiRegionParameterGroupNotFoundFault} (client fault)
|
|
78
|
+
* <p>The specified multi-Region parameter group does not exist.</p>
|
|
79
|
+
*
|
|
75
80
|
* @throws {@link ParameterGroupNotFoundFault} (client fault)
|
|
76
81
|
* <p></p>
|
|
77
82
|
*
|
|
@@ -83,6 +83,15 @@ declare const TagResourceCommand_base: {
|
|
|
83
83
|
* @throws {@link InvalidClusterStateFault} (client fault)
|
|
84
84
|
* <p></p>
|
|
85
85
|
*
|
|
86
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
87
|
+
* <p></p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link MultiRegionClusterNotFoundFault} (client fault)
|
|
90
|
+
* <p>The specified multi-Region cluster does not exist.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link MultiRegionParameterGroupNotFoundFault} (client fault)
|
|
93
|
+
* <p>The specified multi-Region parameter group does not exist.</p>
|
|
94
|
+
*
|
|
86
95
|
* @throws {@link ParameterGroupNotFoundFault} (client fault)
|
|
87
96
|
* <p></p>
|
|
88
97
|
*
|
|
@@ -27,7 +27,7 @@ declare const UntagResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Use this operation to remove tags on a resource
|
|
30
|
+
* <p>Use this operation to remove tags on a resource.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -71,6 +71,15 @@ declare const UntagResourceCommand_base: {
|
|
|
71
71
|
* @throws {@link InvalidClusterStateFault} (client fault)
|
|
72
72
|
* <p></p>
|
|
73
73
|
*
|
|
74
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
75
|
+
* <p></p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link MultiRegionClusterNotFoundFault} (client fault)
|
|
78
|
+
* <p>The specified multi-Region cluster does not exist.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link MultiRegionParameterGroupNotFoundFault} (client fault)
|
|
81
|
+
* <p>The specified multi-Region parameter group does not exist.</p>
|
|
82
|
+
*
|
|
74
83
|
* @throws {@link ParameterGroupNotFoundFault} (client fault)
|
|
75
84
|
* <p></p>
|
|
76
85
|
*
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MemoryDBClient";
|
|
4
|
+
import { UpdateMultiRegionClusterRequest, UpdateMultiRegionClusterResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateMultiRegionClusterCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateMultiRegionClusterCommandInput extends UpdateMultiRegionClusterRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateMultiRegionClusterCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateMultiRegionClusterCommandOutput extends UpdateMultiRegionClusterResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateMultiRegionClusterCommand_base: {
|
|
25
|
+
new (input: UpdateMultiRegionClusterCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateMultiRegionClusterCommandInput, UpdateMultiRegionClusterCommandOutput, MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateMultiRegionClusterCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateMultiRegionClusterCommandInput, UpdateMultiRegionClusterCommandOutput, MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the configuration of an existing multi-Region cluster.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MemoryDBClient, UpdateMultiRegionClusterCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
|
|
35
|
+
* // const { MemoryDBClient, UpdateMultiRegionClusterCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
|
|
36
|
+
* const client = new MemoryDBClient(config);
|
|
37
|
+
* const input = { // UpdateMultiRegionClusterRequest
|
|
38
|
+
* MultiRegionClusterName: "STRING_VALUE", // required
|
|
39
|
+
* NodeType: "STRING_VALUE",
|
|
40
|
+
* Description: "STRING_VALUE",
|
|
41
|
+
* EngineVersion: "STRING_VALUE",
|
|
42
|
+
* ShardConfiguration: { // ShardConfigurationRequest
|
|
43
|
+
* ShardCount: Number("int"),
|
|
44
|
+
* },
|
|
45
|
+
* MultiRegionParameterGroupName: "STRING_VALUE",
|
|
46
|
+
* UpdateStrategy: "coordinated" || "uncoordinated",
|
|
47
|
+
* };
|
|
48
|
+
* const command = new UpdateMultiRegionClusterCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // UpdateMultiRegionClusterResponse
|
|
51
|
+
* // MultiRegionCluster: { // MultiRegionCluster
|
|
52
|
+
* // MultiRegionClusterName: "STRING_VALUE",
|
|
53
|
+
* // Description: "STRING_VALUE",
|
|
54
|
+
* // Status: "STRING_VALUE",
|
|
55
|
+
* // NodeType: "STRING_VALUE",
|
|
56
|
+
* // Engine: "STRING_VALUE",
|
|
57
|
+
* // EngineVersion: "STRING_VALUE",
|
|
58
|
+
* // NumberOfShards: Number("int"),
|
|
59
|
+
* // Clusters: [ // RegionalClusterList
|
|
60
|
+
* // { // RegionalCluster
|
|
61
|
+
* // ClusterName: "STRING_VALUE",
|
|
62
|
+
* // Region: "STRING_VALUE",
|
|
63
|
+
* // Status: "STRING_VALUE",
|
|
64
|
+
* // ARN: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // MultiRegionParameterGroupName: "STRING_VALUE",
|
|
68
|
+
* // TLSEnabled: true || false,
|
|
69
|
+
* // ARN: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // };
|
|
72
|
+
*
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @param UpdateMultiRegionClusterCommandInput - {@link UpdateMultiRegionClusterCommandInput}
|
|
76
|
+
* @returns {@link UpdateMultiRegionClusterCommandOutput}
|
|
77
|
+
* @see {@link UpdateMultiRegionClusterCommandInput} for command's `input` shape.
|
|
78
|
+
* @see {@link UpdateMultiRegionClusterCommandOutput} for command's `response` shape.
|
|
79
|
+
* @see {@link MemoryDBClientResolvedConfig | config} for MemoryDBClient's `config` shape.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link InvalidMultiRegionClusterStateFault} (client fault)
|
|
82
|
+
* <p>The requested operation cannot be performed on the multi-Region cluster in its current state.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
85
|
+
* <p></p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
88
|
+
* <p></p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link MultiRegionClusterNotFoundFault} (client fault)
|
|
91
|
+
* <p>The specified multi-Region cluster does not exist.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link MultiRegionParameterGroupNotFoundFault} (client fault)
|
|
94
|
+
* <p>The specified multi-Region parameter group does not exist.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link MemoryDBServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from MemoryDB service.</p>
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class UpdateMultiRegionClusterCommand extends UpdateMultiRegionClusterCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: UpdateMultiRegionClusterRequest;
|
|
106
|
+
output: UpdateMultiRegionClusterResponse;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: UpdateMultiRegionClusterCommandInput;
|
|
110
|
+
output: UpdateMultiRegionClusterCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -2,12 +2,14 @@ export * from "./BatchUpdateClusterCommand";
|
|
|
2
2
|
export * from "./CopySnapshotCommand";
|
|
3
3
|
export * from "./CreateACLCommand";
|
|
4
4
|
export * from "./CreateClusterCommand";
|
|
5
|
+
export * from "./CreateMultiRegionClusterCommand";
|
|
5
6
|
export * from "./CreateParameterGroupCommand";
|
|
6
7
|
export * from "./CreateSnapshotCommand";
|
|
7
8
|
export * from "./CreateSubnetGroupCommand";
|
|
8
9
|
export * from "./CreateUserCommand";
|
|
9
10
|
export * from "./DeleteACLCommand";
|
|
10
11
|
export * from "./DeleteClusterCommand";
|
|
12
|
+
export * from "./DeleteMultiRegionClusterCommand";
|
|
11
13
|
export * from "./DeleteParameterGroupCommand";
|
|
12
14
|
export * from "./DeleteSnapshotCommand";
|
|
13
15
|
export * from "./DeleteSubnetGroupCommand";
|
|
@@ -16,6 +18,7 @@ export * from "./DescribeACLsCommand";
|
|
|
16
18
|
export * from "./DescribeClustersCommand";
|
|
17
19
|
export * from "./DescribeEngineVersionsCommand";
|
|
18
20
|
export * from "./DescribeEventsCommand";
|
|
21
|
+
export * from "./DescribeMultiRegionClustersCommand";
|
|
19
22
|
export * from "./DescribeParameterGroupsCommand";
|
|
20
23
|
export * from "./DescribeParametersCommand";
|
|
21
24
|
export * from "./DescribeReservedNodesCommand";
|
|
@@ -25,6 +28,7 @@ export * from "./DescribeSnapshotsCommand";
|
|
|
25
28
|
export * from "./DescribeSubnetGroupsCommand";
|
|
26
29
|
export * from "./DescribeUsersCommand";
|
|
27
30
|
export * from "./FailoverShardCommand";
|
|
31
|
+
export * from "./ListAllowedMultiRegionClusterUpdatesCommand";
|
|
28
32
|
export * from "./ListAllowedNodeTypeUpdatesCommand";
|
|
29
33
|
export * from "./ListTagsCommand";
|
|
30
34
|
export * from "./PurchaseReservedNodesOfferingCommand";
|
|
@@ -33,6 +37,7 @@ export * from "./TagResourceCommand";
|
|
|
33
37
|
export * from "./UntagResourceCommand";
|
|
34
38
|
export * from "./UpdateACLCommand";
|
|
35
39
|
export * from "./UpdateClusterCommand";
|
|
40
|
+
export * from "./UpdateMultiRegionClusterCommand";
|
|
36
41
|
export * from "./UpdateParameterGroupCommand";
|
|
37
42
|
export * from "./UpdateSubnetGroupCommand";
|
|
38
43
|
export * from "./UpdateUserCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>MemoryDB
|
|
2
|
+
* <p>MemoryDB is a fully managed, Redis OSS-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures.
|
|
3
3
|
*
|
|
4
|
-
* MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis, a popular open source data store, enabling you to leverage Redis’ flexible and friendly data structures, APIs, and commands.</p>
|
|
4
|
+
* MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis OSS, a popular open source data store, enabling you to leverage Redis OSS’ flexible and friendly data structures, APIs, and commands.</p>
|
|
5
5
|
*
|
|
6
6
|
* @packageDocumentation
|
|
7
7
|
*/
|