@aws-sdk/client-docdb-elastic 3.523.0 → 3.529.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 +40 -1
- package/dist-cjs/index.js +208 -83
- package/dist-es/DocDBElastic.js +6 -0
- package/dist-es/commands/CopyClusterSnapshotCommand.js +24 -0
- package/dist-es/commands/StartClusterCommand.js +24 -0
- package/dist-es/commands/StopClusterCommand.js +24 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +28 -14
- package/dist-es/protocols/Aws_restJson1.js +91 -43
- package/dist-types/DocDBElastic.d.ts +36 -1
- package/dist-types/DocDBElasticClient.d.ts +20 -3
- package/dist-types/commands/CopyClusterSnapshotCommand.d.ts +101 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +14 -1
- package/dist-types/commands/CreateClusterSnapshotCommand.d.ts +2 -1
- package/dist-types/commands/DeleteClusterCommand.d.ts +11 -1
- package/dist-types/commands/DeleteClusterSnapshotCommand.d.ts +2 -1
- package/dist-types/commands/GetClusterCommand.d.ts +11 -1
- package/dist-types/commands/GetClusterSnapshotCommand.d.ts +2 -1
- package/dist-types/commands/ListClusterSnapshotsCommand.d.ts +2 -1
- package/dist-types/commands/ListClustersCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/RestoreClusterFromSnapshotCommand.d.ts +13 -1
- package/dist-types/commands/StartClusterCommand.d.ts +101 -0
- package/dist-types/commands/StopClusterCommand.d.ts +102 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateClusterCommand.d.ts +15 -2
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +15 -1
- package/dist-types/models/models_0.d.ts +478 -232
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/DocDBElastic.d.ts +51 -0
- package/dist-types/ts3.4/DocDBElasticClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/CopyClusterSnapshotCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/StartClusterCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/StopClusterCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +98 -42
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +17 -17
- package/dist-cjs/DocDBElastic.js +0 -1
- package/dist-cjs/DocDBElasticClient.js +0 -1
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
- package/dist-cjs/commands/CreateClusterCommand.js +0 -1
- package/dist-cjs/commands/CreateClusterSnapshotCommand.js +0 -1
- package/dist-cjs/commands/DeleteClusterCommand.js +0 -1
- package/dist-cjs/commands/DeleteClusterSnapshotCommand.js +0 -1
- package/dist-cjs/commands/GetClusterCommand.js +0 -1
- package/dist-cjs/commands/GetClusterSnapshotCommand.js +0 -1
- package/dist-cjs/commands/ListClusterSnapshotsCommand.js +0 -1
- package/dist-cjs/commands/ListClustersCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/RestoreClusterFromSnapshotCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateClusterCommand.js +0 -1
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/endpoint/EndpointParameters.js +0 -1
- package/dist-cjs/extensionConfiguration.js +0 -1
- package/dist-cjs/models/DocDBElasticServiceException.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListClusterSnapshotsPaginator.js +0 -1
- package/dist-cjs/pagination/ListClustersPaginator.js +0 -1
- package/dist-cjs/pagination/index.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeExtensions.js +0 -1
|
@@ -26,7 +26,7 @@ declare const DeleteClusterCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Delete
|
|
29
|
+
* <p>Delete an elastic cluster.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -57,6 +57,16 @@ declare const DeleteClusterCommand_base: {
|
|
|
57
57
|
* // ],
|
|
58
58
|
* // preferredMaintenanceWindow: "STRING_VALUE", // required
|
|
59
59
|
* // kmsKeyId: "STRING_VALUE", // required
|
|
60
|
+
* // shards: [ // ShardList
|
|
61
|
+
* // { // Shard
|
|
62
|
+
* // shardId: "STRING_VALUE", // required
|
|
63
|
+
* // createTime: "STRING_VALUE", // required
|
|
64
|
+
* // status: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // backupRetentionPeriod: Number("int"),
|
|
68
|
+
* // preferredBackupWindow: "STRING_VALUE",
|
|
69
|
+
* // shardInstanceCount: Number("int"),
|
|
60
70
|
* // },
|
|
61
71
|
* // };
|
|
62
72
|
*
|
|
@@ -26,7 +26,7 @@ declare const DeleteClusterSnapshotCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Delete
|
|
29
|
+
* <p>Delete an elastic cluster snapshot.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -54,6 +54,7 @@ declare const DeleteClusterSnapshotCommand_base: {
|
|
|
54
54
|
* // ],
|
|
55
55
|
* // adminUserName: "STRING_VALUE", // required
|
|
56
56
|
* // kmsKeyId: "STRING_VALUE", // required
|
|
57
|
+
* // snapshotType: "STRING_VALUE",
|
|
57
58
|
* // },
|
|
58
59
|
* // };
|
|
59
60
|
*
|
|
@@ -26,7 +26,7 @@ declare const GetClusterCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Returns information about a specific
|
|
29
|
+
* <p>Returns information about a specific elastic cluster.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -57,6 +57,16 @@ declare const GetClusterCommand_base: {
|
|
|
57
57
|
* // ],
|
|
58
58
|
* // preferredMaintenanceWindow: "STRING_VALUE", // required
|
|
59
59
|
* // kmsKeyId: "STRING_VALUE", // required
|
|
60
|
+
* // shards: [ // ShardList
|
|
61
|
+
* // { // Shard
|
|
62
|
+
* // shardId: "STRING_VALUE", // required
|
|
63
|
+
* // createTime: "STRING_VALUE", // required
|
|
64
|
+
* // status: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // backupRetentionPeriod: Number("int"),
|
|
68
|
+
* // preferredBackupWindow: "STRING_VALUE",
|
|
69
|
+
* // shardInstanceCount: Number("int"),
|
|
60
70
|
* // },
|
|
61
71
|
* // };
|
|
62
72
|
*
|
|
@@ -26,7 +26,7 @@ declare const GetClusterSnapshotCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Returns information about a specific
|
|
29
|
+
* <p>Returns information about a specific elastic cluster snapshot</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -54,6 +54,7 @@ declare const GetClusterSnapshotCommand_base: {
|
|
|
54
54
|
* // ],
|
|
55
55
|
* // adminUserName: "STRING_VALUE", // required
|
|
56
56
|
* // kmsKeyId: "STRING_VALUE", // required
|
|
57
|
+
* // snapshotType: "STRING_VALUE",
|
|
57
58
|
* // },
|
|
58
59
|
* // };
|
|
59
60
|
*
|
|
@@ -26,7 +26,7 @@ declare const ListClusterSnapshotsCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Returns information about
|
|
29
|
+
* <p>Returns information about snapshots for a specified elastic cluster.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -37,6 +37,7 @@ declare const ListClusterSnapshotsCommand_base: {
|
|
|
37
37
|
* clusterArn: "STRING_VALUE",
|
|
38
38
|
* nextToken: "STRING_VALUE",
|
|
39
39
|
* maxResults: Number("int"),
|
|
40
|
+
* snapshotType: "STRING_VALUE",
|
|
40
41
|
* };
|
|
41
42
|
* const command = new ListClusterSnapshotsCommand(input);
|
|
42
43
|
* const response = await client.send(command);
|
|
@@ -26,7 +26,7 @@ declare const ListClustersCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Returns information about provisioned
|
|
29
|
+
* <p>Returns information about provisioned Amazon DocumentDB elastic clusters.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -26,7 +26,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Lists all tags on a
|
|
29
|
+
* <p>Lists all tags on a elastic cluster resource</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -26,7 +26,7 @@ declare const RestoreClusterFromSnapshotCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Restores
|
|
29
|
+
* <p>Restores an elastic cluster from a snapshot.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -46,6 +46,8 @@ declare const RestoreClusterFromSnapshotCommand_base: {
|
|
|
46
46
|
* tags: { // TagMap
|
|
47
47
|
* "<keys>": "STRING_VALUE",
|
|
48
48
|
* },
|
|
49
|
+
* shardCapacity: Number("int"),
|
|
50
|
+
* shardInstanceCount: Number("int"),
|
|
49
51
|
* };
|
|
50
52
|
* const command = new RestoreClusterFromSnapshotCommand(input);
|
|
51
53
|
* const response = await client.send(command);
|
|
@@ -68,6 +70,16 @@ declare const RestoreClusterFromSnapshotCommand_base: {
|
|
|
68
70
|
* // ],
|
|
69
71
|
* // preferredMaintenanceWindow: "STRING_VALUE", // required
|
|
70
72
|
* // kmsKeyId: "STRING_VALUE", // required
|
|
73
|
+
* // shards: [ // ShardList
|
|
74
|
+
* // { // Shard
|
|
75
|
+
* // shardId: "STRING_VALUE", // required
|
|
76
|
+
* // createTime: "STRING_VALUE", // required
|
|
77
|
+
* // status: "STRING_VALUE", // required
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // backupRetentionPeriod: Number("int"),
|
|
81
|
+
* // preferredBackupWindow: "STRING_VALUE",
|
|
82
|
+
* // shardInstanceCount: Number("int"),
|
|
71
83
|
* // },
|
|
72
84
|
* // };
|
|
73
85
|
*
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
|
|
4
|
+
import { StartClusterInput, StartClusterOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link StartClusterCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface StartClusterCommandInput extends StartClusterInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link StartClusterCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface StartClusterCommandOutput extends StartClusterOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const StartClusterCommand_base: {
|
|
24
|
+
new (input: StartClusterCommandInput): import("@smithy/smithy-client").CommandImpl<StartClusterCommandInput, StartClusterCommandOutput, DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Restarts the stopped elastic cluster that is specified by <code>clusterARN</code>.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { DocDBElasticClient, StartClusterCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
|
|
34
|
+
* // const { DocDBElasticClient, StartClusterCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
|
|
35
|
+
* const client = new DocDBElasticClient(config);
|
|
36
|
+
* const input = { // StartClusterInput
|
|
37
|
+
* clusterArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new StartClusterCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // StartClusterOutput
|
|
42
|
+
* // cluster: { // Cluster
|
|
43
|
+
* // clusterName: "STRING_VALUE", // required
|
|
44
|
+
* // clusterArn: "STRING_VALUE", // required
|
|
45
|
+
* // status: "STRING_VALUE", // required
|
|
46
|
+
* // clusterEndpoint: "STRING_VALUE", // required
|
|
47
|
+
* // createTime: "STRING_VALUE", // required
|
|
48
|
+
* // adminUserName: "STRING_VALUE", // required
|
|
49
|
+
* // authType: "STRING_VALUE", // required
|
|
50
|
+
* // shardCapacity: Number("int"), // required
|
|
51
|
+
* // shardCount: Number("int"), // required
|
|
52
|
+
* // vpcSecurityGroupIds: [ // StringList // required
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // subnetIds: [ // required
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // preferredMaintenanceWindow: "STRING_VALUE", // required
|
|
59
|
+
* // kmsKeyId: "STRING_VALUE", // required
|
|
60
|
+
* // shards: [ // ShardList
|
|
61
|
+
* // { // Shard
|
|
62
|
+
* // shardId: "STRING_VALUE", // required
|
|
63
|
+
* // createTime: "STRING_VALUE", // required
|
|
64
|
+
* // status: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // backupRetentionPeriod: Number("int"),
|
|
68
|
+
* // preferredBackupWindow: "STRING_VALUE",
|
|
69
|
+
* // shardInstanceCount: Number("int"),
|
|
70
|
+
* // },
|
|
71
|
+
* // };
|
|
72
|
+
*
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @param StartClusterCommandInput - {@link StartClusterCommandInput}
|
|
76
|
+
* @returns {@link StartClusterCommandOutput}
|
|
77
|
+
* @see {@link StartClusterCommandInput} for command's `input` shape.
|
|
78
|
+
* @see {@link StartClusterCommandOutput} for command's `response` shape.
|
|
79
|
+
* @see {@link DocDBElasticClientResolvedConfig | config} for DocDBElasticClient's `config` shape.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
82
|
+
* <p>An exception that occurs when there are not sufficient permissions to perform an action.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link InternalServerException} (server fault)
|
|
85
|
+
* <p>There was an internal server error.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
88
|
+
* <p>The specified resource could not be located.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
91
|
+
* <p>ThrottlingException will be thrown when request was denied due to request throttling.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ValidationException} (client fault)
|
|
94
|
+
* <p>A structure defining a validation exception.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link DocDBElasticServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
98
|
+
*
|
|
99
|
+
*/
|
|
100
|
+
export declare class StartClusterCommand extends StartClusterCommand_base {
|
|
101
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
|
|
4
|
+
import { StopClusterInput, StopClusterOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link StopClusterCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface StopClusterCommandInput extends StopClusterInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link StopClusterCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface StopClusterCommandOutput extends StopClusterOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const StopClusterCommand_base: {
|
|
24
|
+
new (input: StopClusterCommandInput): import("@smithy/smithy-client").CommandImpl<StopClusterCommandInput, StopClusterCommandOutput, DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Stops the running elastic cluster that is specified by <code>clusterArn</code>.
|
|
30
|
+
* The elastic cluster must be in the <i>available</i> state. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DocDBElasticClient, StopClusterCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
|
|
35
|
+
* // const { DocDBElasticClient, StopClusterCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
|
|
36
|
+
* const client = new DocDBElasticClient(config);
|
|
37
|
+
* const input = { // StopClusterInput
|
|
38
|
+
* clusterArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new StopClusterCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // StopClusterOutput
|
|
43
|
+
* // cluster: { // Cluster
|
|
44
|
+
* // clusterName: "STRING_VALUE", // required
|
|
45
|
+
* // clusterArn: "STRING_VALUE", // required
|
|
46
|
+
* // status: "STRING_VALUE", // required
|
|
47
|
+
* // clusterEndpoint: "STRING_VALUE", // required
|
|
48
|
+
* // createTime: "STRING_VALUE", // required
|
|
49
|
+
* // adminUserName: "STRING_VALUE", // required
|
|
50
|
+
* // authType: "STRING_VALUE", // required
|
|
51
|
+
* // shardCapacity: Number("int"), // required
|
|
52
|
+
* // shardCount: Number("int"), // required
|
|
53
|
+
* // vpcSecurityGroupIds: [ // StringList // required
|
|
54
|
+
* // "STRING_VALUE",
|
|
55
|
+
* // ],
|
|
56
|
+
* // subnetIds: [ // required
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
59
|
+
* // preferredMaintenanceWindow: "STRING_VALUE", // required
|
|
60
|
+
* // kmsKeyId: "STRING_VALUE", // required
|
|
61
|
+
* // shards: [ // ShardList
|
|
62
|
+
* // { // Shard
|
|
63
|
+
* // shardId: "STRING_VALUE", // required
|
|
64
|
+
* // createTime: "STRING_VALUE", // required
|
|
65
|
+
* // status: "STRING_VALUE", // required
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // backupRetentionPeriod: Number("int"),
|
|
69
|
+
* // preferredBackupWindow: "STRING_VALUE",
|
|
70
|
+
* // shardInstanceCount: Number("int"),
|
|
71
|
+
* // },
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* @param StopClusterCommandInput - {@link StopClusterCommandInput}
|
|
77
|
+
* @returns {@link StopClusterCommandOutput}
|
|
78
|
+
* @see {@link StopClusterCommandInput} for command's `input` shape.
|
|
79
|
+
* @see {@link StopClusterCommandOutput} for command's `response` shape.
|
|
80
|
+
* @see {@link DocDBElasticClientResolvedConfig | config} for DocDBElasticClient's `config` shape.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
83
|
+
* <p>An exception that occurs when there are not sufficient permissions to perform an action.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InternalServerException} (server fault)
|
|
86
|
+
* <p>There was an internal server error.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
89
|
+
* <p>The specified resource could not be located.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
92
|
+
* <p>ThrottlingException will be thrown when request was denied due to request throttling.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ValidationException} (client fault)
|
|
95
|
+
* <p>A structure defining a validation exception.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link DocDBElasticServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
99
|
+
*
|
|
100
|
+
*/
|
|
101
|
+
export declare class StopClusterCommand extends StopClusterCommand_base {
|
|
102
|
+
}
|
|
@@ -26,7 +26,7 @@ declare const TagResourceCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Adds metadata tags to
|
|
29
|
+
* <p>Adds metadata tags to an elastic cluster resource</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -26,7 +26,7 @@ declare const UntagResourceCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Removes metadata tags
|
|
29
|
+
* <p>Removes metadata tags from an elastic cluster resource</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -26,8 +26,8 @@ declare const UpdateClusterCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Modifies
|
|
30
|
-
* upgrading API version setting up a backup window and maintenance window</p>
|
|
29
|
+
* <p>Modifies an elastic cluster. This includes updating admin-username/password,
|
|
30
|
+
* upgrading the API version, and setting up a backup window and maintenance window</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -48,6 +48,9 @@ declare const UpdateClusterCommand_base: {
|
|
|
48
48
|
* adminUserPassword: "STRING_VALUE",
|
|
49
49
|
* clientToken: "STRING_VALUE",
|
|
50
50
|
* preferredMaintenanceWindow: "STRING_VALUE",
|
|
51
|
+
* backupRetentionPeriod: Number("int"),
|
|
52
|
+
* preferredBackupWindow: "STRING_VALUE",
|
|
53
|
+
* shardInstanceCount: Number("int"),
|
|
51
54
|
* };
|
|
52
55
|
* const command = new UpdateClusterCommand(input);
|
|
53
56
|
* const response = await client.send(command);
|
|
@@ -70,6 +73,16 @@ declare const UpdateClusterCommand_base: {
|
|
|
70
73
|
* // ],
|
|
71
74
|
* // preferredMaintenanceWindow: "STRING_VALUE", // required
|
|
72
75
|
* // kmsKeyId: "STRING_VALUE", // required
|
|
76
|
+
* // shards: [ // ShardList
|
|
77
|
+
* // { // Shard
|
|
78
|
+
* // shardId: "STRING_VALUE", // required
|
|
79
|
+
* // createTime: "STRING_VALUE", // required
|
|
80
|
+
* // status: "STRING_VALUE", // required
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // backupRetentionPeriod: Number("int"),
|
|
84
|
+
* // preferredBackupWindow: "STRING_VALUE",
|
|
85
|
+
* // shardInstanceCount: Number("int"),
|
|
73
86
|
* // },
|
|
74
87
|
* // };
|
|
75
88
|
*
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./CopyClusterSnapshotCommand";
|
|
1
2
|
export * from "./CreateClusterCommand";
|
|
2
3
|
export * from "./CreateClusterSnapshotCommand";
|
|
3
4
|
export * from "./DeleteClusterCommand";
|
|
@@ -8,6 +9,8 @@ export * from "./ListClusterSnapshotsCommand";
|
|
|
8
9
|
export * from "./ListClustersCommand";
|
|
9
10
|
export * from "./ListTagsForResourceCommand";
|
|
10
11
|
export * from "./RestoreClusterFromSnapshotCommand";
|
|
12
|
+
export * from "./StartClusterCommand";
|
|
13
|
+
export * from "./StopClusterCommand";
|
|
11
14
|
export * from "./TagResourceCommand";
|
|
12
15
|
export * from "./UntagResourceCommand";
|
|
13
16
|
export * from "./UpdateClusterCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <
|
|
2
|
+
* <fullname>Amazon DocumentDB elastic clusters</fullname>
|
|
3
|
+
* <p>Amazon DocumentDB elastic-clusters support workloads with millions of reads/writes per second and petabytes of storage capacity.
|
|
4
|
+
* Amazon DocumentDB elastic clusters also simplify how developers interact with Amazon DocumentDB elastic-clusters by eliminating the need to choose, manage or upgrade instances.</p>
|
|
5
|
+
* <p>Amazon DocumentDB elastic-clusters were created to:</p>
|
|
6
|
+
* <ul>
|
|
7
|
+
* <li>
|
|
8
|
+
* <p>provide a solution for customers looking for a database that provides virtually limitless scale with rich query capabilities and MongoDB API compatibility.</p>
|
|
9
|
+
* </li>
|
|
10
|
+
* <li>
|
|
11
|
+
* <p>give customers higher connection limits, and to reduce downtime from patching.</p>
|
|
12
|
+
* </li>
|
|
13
|
+
* <li>
|
|
14
|
+
* <p>continue investing in a cloud-native, elastic, and class leading architecture for JSON workloads.</p>
|
|
15
|
+
* </li>
|
|
16
|
+
* </ul>
|
|
3
17
|
*
|
|
4
18
|
* @packageDocumentation
|
|
5
19
|
*/
|