@aws-sdk/client-docdb-elastic 3.775.0 → 3.777.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/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +1 -0
- package/dist-types/commands/CopyClusterSnapshotCommand.d.ts +34 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +1 -0
- package/dist-types/commands/CreateClusterSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +1 -0
- package/dist-types/commands/DeleteClusterSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/GetClusterCommand.d.ts +1 -0
- package/dist-types/commands/GetClusterSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/GetPendingMaintenanceActionCommand.d.ts +1 -0
- package/dist-types/commands/ListClusterSnapshotsCommand.d.ts +1 -0
- package/dist-types/commands/ListClustersCommand.d.ts +1 -0
- package/dist-types/commands/ListPendingMaintenanceActionsCommand.d.ts +1 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/commands/RestoreClusterFromSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/StartClusterCommand.d.ts +39 -0
- package/dist-types/commands/StopClusterCommand.d.ts +39 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +1 -0
- package/package.json +2 -2
|
@@ -87,6 +87,7 @@ declare const ApplyPendingMaintenanceActionCommand_base: {
|
|
|
87
87
|
* @throws {@link DocDBElasticServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
89
89
|
*
|
|
90
|
+
*
|
|
90
91
|
* @public
|
|
91
92
|
*/
|
|
92
93
|
export declare class ApplyPendingMaintenanceActionCommand extends ApplyPendingMaintenanceActionCommand_base {
|
|
@@ -97,6 +97,40 @@ declare const CopyClusterSnapshotCommand_base: {
|
|
|
97
97
|
* @throws {@link DocDBElasticServiceException}
|
|
98
98
|
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
99
99
|
*
|
|
100
|
+
*
|
|
101
|
+
* @example Basic Copy Cluster Snapshot Example
|
|
102
|
+
* ```javascript
|
|
103
|
+
* // update applied
|
|
104
|
+
* const input = {
|
|
105
|
+
* snapshotArn: "arn:aws:docdb-elastic:us-east-1:$AWS_ACCOUNT_ID:cluster-snapshot/$SOURCE_SNAPSHOT_ID",
|
|
106
|
+
* targetSnapshotName: "sampleSnapshotName"
|
|
107
|
+
* };
|
|
108
|
+
* const command = new CopyClusterSnapshotCommand(input);
|
|
109
|
+
* const response = await client.send(command);
|
|
110
|
+
* /* response is
|
|
111
|
+
* {
|
|
112
|
+
* snapshot: {
|
|
113
|
+
* adminUserName: "sampleAdminUser",
|
|
114
|
+
* clusterArn: "arn:aws:docdb-elastic:us-east-1:$AWS_ACCOUNT_ID:cluster/$CLUSTER_ID",
|
|
115
|
+
* clusterCreationTime: "2000-01-01T00:00:00.000Z",
|
|
116
|
+
* kmsKeyId: "AWS_OWNED_KMS_KEY",
|
|
117
|
+
* snapshotArn: "arn:aws:docdb-elastic:us-east-1:$AWS_ACCOUNT_ID:cluster-snapshot/$TARGET_SNAPSHOT_ID",
|
|
118
|
+
* snapshotCreationTime: "2000-01-01T00:00:00.000Z",
|
|
119
|
+
* snapshotName: "sampleSnapshotName",
|
|
120
|
+
* snapshotType: "MANUAL",
|
|
121
|
+
* status: "ACTIVE",
|
|
122
|
+
* subnetIds: [
|
|
123
|
+
* "subnetId1",
|
|
124
|
+
* "subnetId2"
|
|
125
|
+
* ],
|
|
126
|
+
* vpcSecurityGroupIds: [
|
|
127
|
+
* "vpcSgId1, vpcSgId2"
|
|
128
|
+
* ]
|
|
129
|
+
* }
|
|
130
|
+
* }
|
|
131
|
+
* *\/
|
|
132
|
+
* ```
|
|
133
|
+
*
|
|
100
134
|
* @public
|
|
101
135
|
*/
|
|
102
136
|
export declare class CopyClusterSnapshotCommand extends CopyClusterSnapshotCommand_base {
|
|
@@ -120,6 +120,7 @@ declare const CreateClusterCommand_base: {
|
|
|
120
120
|
* @throws {@link DocDBElasticServiceException}
|
|
121
121
|
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
122
122
|
*
|
|
123
|
+
*
|
|
123
124
|
* @public
|
|
124
125
|
*/
|
|
125
126
|
export declare class CreateClusterCommand extends CreateClusterCommand_base {
|
|
@@ -95,6 +95,7 @@ declare const CreateClusterSnapshotCommand_base: {
|
|
|
95
95
|
* @throws {@link DocDBElasticServiceException}
|
|
96
96
|
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
97
97
|
*
|
|
98
|
+
*
|
|
98
99
|
* @public
|
|
99
100
|
*/
|
|
100
101
|
export declare class CreateClusterSnapshotCommand extends CreateClusterSnapshotCommand_base {
|
|
@@ -100,6 +100,7 @@ declare const DeleteClusterCommand_base: {
|
|
|
100
100
|
* @throws {@link DocDBElasticServiceException}
|
|
101
101
|
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
102
102
|
*
|
|
103
|
+
*
|
|
103
104
|
* @public
|
|
104
105
|
*/
|
|
105
106
|
export declare class DeleteClusterCommand extends DeleteClusterCommand_base {
|
|
@@ -88,6 +88,7 @@ declare const DeleteClusterSnapshotCommand_base: {
|
|
|
88
88
|
* @throws {@link DocDBElasticServiceException}
|
|
89
89
|
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
90
90
|
*
|
|
91
|
+
*
|
|
91
92
|
* @public
|
|
92
93
|
*/
|
|
93
94
|
export declare class DeleteClusterSnapshotCommand extends DeleteClusterSnapshotCommand_base {
|
|
@@ -97,6 +97,7 @@ declare const GetClusterCommand_base: {
|
|
|
97
97
|
* @throws {@link DocDBElasticServiceException}
|
|
98
98
|
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
99
99
|
*
|
|
100
|
+
*
|
|
100
101
|
* @public
|
|
101
102
|
*/
|
|
102
103
|
export declare class GetClusterCommand extends GetClusterCommand_base {
|
|
@@ -85,6 +85,7 @@ declare const GetClusterSnapshotCommand_base: {
|
|
|
85
85
|
* @throws {@link DocDBElasticServiceException}
|
|
86
86
|
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
87
87
|
*
|
|
88
|
+
*
|
|
88
89
|
* @public
|
|
89
90
|
*/
|
|
90
91
|
export declare class GetClusterSnapshotCommand extends GetClusterSnapshotCommand_base {
|
|
@@ -84,6 +84,7 @@ declare const GetPendingMaintenanceActionCommand_base: {
|
|
|
84
84
|
* @throws {@link DocDBElasticServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
86
86
|
*
|
|
87
|
+
*
|
|
87
88
|
* @public
|
|
88
89
|
*/
|
|
89
90
|
export declare class GetPendingMaintenanceActionCommand extends GetPendingMaintenanceActionCommand_base {
|
|
@@ -78,6 +78,7 @@ declare const ListClusterSnapshotsCommand_base: {
|
|
|
78
78
|
* @throws {@link DocDBElasticServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
80
80
|
*
|
|
81
|
+
*
|
|
81
82
|
* @public
|
|
82
83
|
*/
|
|
83
84
|
export declare class ListClusterSnapshotsCommand extends ListClusterSnapshotsCommand_base {
|
|
@@ -74,6 +74,7 @@ declare const ListClustersCommand_base: {
|
|
|
74
74
|
* @throws {@link DocDBElasticServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
76
76
|
*
|
|
77
|
+
*
|
|
77
78
|
* @public
|
|
78
79
|
*/
|
|
79
80
|
export declare class ListClustersCommand extends ListClustersCommand_base {
|
|
@@ -82,6 +82,7 @@ declare const ListPendingMaintenanceActionsCommand_base: {
|
|
|
82
82
|
* @throws {@link DocDBElasticServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
84
84
|
*
|
|
85
|
+
*
|
|
85
86
|
* @public
|
|
86
87
|
*/
|
|
87
88
|
export declare class ListPendingMaintenanceActionsCommand extends ListPendingMaintenanceActionsCommand_base {
|
|
@@ -68,6 +68,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
68
68
|
* @throws {@link DocDBElasticServiceException}
|
|
69
69
|
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
70
70
|
*
|
|
71
|
+
*
|
|
71
72
|
* @public
|
|
72
73
|
*/
|
|
73
74
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
@@ -116,6 +116,7 @@ declare const RestoreClusterFromSnapshotCommand_base: {
|
|
|
116
116
|
* @throws {@link DocDBElasticServiceException}
|
|
117
117
|
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
118
118
|
*
|
|
119
|
+
*
|
|
119
120
|
* @public
|
|
120
121
|
*/
|
|
121
122
|
export declare class RestoreClusterFromSnapshotCommand extends RestoreClusterFromSnapshotCommand_base {
|
|
@@ -97,6 +97,45 @@ declare const StartClusterCommand_base: {
|
|
|
97
97
|
* @throws {@link DocDBElasticServiceException}
|
|
98
98
|
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
99
99
|
*
|
|
100
|
+
*
|
|
101
|
+
* @example Basic Start Cluster Example
|
|
102
|
+
* ```javascript
|
|
103
|
+
* // update applied
|
|
104
|
+
* const input = {
|
|
105
|
+
* clusterArn: "arn:aws:docdb-elastic:us-east-1:$AWS_ACCOUNT_ID:cluster/$CLUSTER_ID"
|
|
106
|
+
* };
|
|
107
|
+
* const command = new StartClusterCommand(input);
|
|
108
|
+
* const response = await client.send(command);
|
|
109
|
+
* /* response is
|
|
110
|
+
* {
|
|
111
|
+
* cluster: {
|
|
112
|
+
* adminUserName: "sampleAdminUser",
|
|
113
|
+
* authType: "PLAIN_TEXT",
|
|
114
|
+
* backupRetentionPeriod: 1,
|
|
115
|
+
* clusterArn: "arn:aws:docdb-elastic:us-east-1:$AWS_ACCOUNT_ID:cluster/$CLUSTER_ID",
|
|
116
|
+
* clusterEndpoint: "sampleClusterName.us-east-1.docdb-elastic.amazonaws.com",
|
|
117
|
+
* clusterName: "sampleClusterName",
|
|
118
|
+
* createTime: "2000-01-01T00:00:00.000Z",
|
|
119
|
+
* kmsKeyId: "AWS_OWNED_KMS_KEY",
|
|
120
|
+
* preferredBackupWindow: "01:00-01:30",
|
|
121
|
+
* preferredMaintenanceWindow: "mon:00:00-mon:00:30",
|
|
122
|
+
* shardCapacity: 2,
|
|
123
|
+
* shardCount: 2,
|
|
124
|
+
* shardInstanceCount: 1,
|
|
125
|
+
* shards: [],
|
|
126
|
+
* status: "STARTING",
|
|
127
|
+
* subnetIds: [
|
|
128
|
+
* "subnetId1",
|
|
129
|
+
* "subnetId2"
|
|
130
|
+
* ],
|
|
131
|
+
* vpcSecurityGroupIds: [
|
|
132
|
+
* "vpcSgId1, vpcSgId2"
|
|
133
|
+
* ]
|
|
134
|
+
* }
|
|
135
|
+
* }
|
|
136
|
+
* *\/
|
|
137
|
+
* ```
|
|
138
|
+
*
|
|
100
139
|
* @public
|
|
101
140
|
*/
|
|
102
141
|
export declare class StartClusterCommand extends StartClusterCommand_base {
|
|
@@ -98,6 +98,45 @@ declare const StopClusterCommand_base: {
|
|
|
98
98
|
* @throws {@link DocDBElasticServiceException}
|
|
99
99
|
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
100
100
|
*
|
|
101
|
+
*
|
|
102
|
+
* @example Basic Stop Cluster Example
|
|
103
|
+
* ```javascript
|
|
104
|
+
* // update applied
|
|
105
|
+
* const input = {
|
|
106
|
+
* clusterArn: "arn:aws:docdb-elastic:us-east-1:$AWS_ACCOUNT_ID:cluster/$CLUSTER_ID"
|
|
107
|
+
* };
|
|
108
|
+
* const command = new StopClusterCommand(input);
|
|
109
|
+
* const response = await client.send(command);
|
|
110
|
+
* /* response is
|
|
111
|
+
* {
|
|
112
|
+
* cluster: {
|
|
113
|
+
* adminUserName: "sampleAdminUser",
|
|
114
|
+
* authType: "PLAIN_TEXT",
|
|
115
|
+
* backupRetentionPeriod: 1,
|
|
116
|
+
* clusterArn: "arn:aws:docdb-elastic:us-east-1:$AWS_ACCOUNT_ID:cluster/$CLUSTER_ID",
|
|
117
|
+
* clusterEndpoint: "sampleClusterName.us-east-1.docdb-elastic.amazonaws.com",
|
|
118
|
+
* clusterName: "sampleClusterName",
|
|
119
|
+
* createTime: "2000-01-01T00:00:00.000Z",
|
|
120
|
+
* kmsKeyId: "AWS_OWNED_KMS_KEY",
|
|
121
|
+
* preferredBackupWindow: "01:00-01:30",
|
|
122
|
+
* preferredMaintenanceWindow: "mon:00:00-mon:00:30",
|
|
123
|
+
* shardCapacity: 2,
|
|
124
|
+
* shardCount: 2,
|
|
125
|
+
* shardInstanceCount: 1,
|
|
126
|
+
* shards: [],
|
|
127
|
+
* status: "STOPPING",
|
|
128
|
+
* subnetIds: [
|
|
129
|
+
* "subnetId1",
|
|
130
|
+
* "subnetId2"
|
|
131
|
+
* ],
|
|
132
|
+
* vpcSecurityGroupIds: [
|
|
133
|
+
* "vpcSgId1, vpcSgId2"
|
|
134
|
+
* ]
|
|
135
|
+
* }
|
|
136
|
+
* }
|
|
137
|
+
* *\/
|
|
138
|
+
* ```
|
|
139
|
+
*
|
|
101
140
|
* @public
|
|
102
141
|
*/
|
|
103
142
|
export declare class StopClusterCommand extends StopClusterCommand_base {
|
|
@@ -67,6 +67,7 @@ declare const TagResourceCommand_base: {
|
|
|
67
67
|
* @throws {@link DocDBElasticServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
69
69
|
*
|
|
70
|
+
*
|
|
70
71
|
* @public
|
|
71
72
|
*/
|
|
72
73
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
@@ -67,6 +67,7 @@ declare const UntagResourceCommand_base: {
|
|
|
67
67
|
* @throws {@link DocDBElasticServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
69
69
|
*
|
|
70
|
+
*
|
|
70
71
|
* @public
|
|
71
72
|
*/
|
|
72
73
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
@@ -116,6 +116,7 @@ declare const UpdateClusterCommand_base: {
|
|
|
116
116
|
* @throws {@link DocDBElasticServiceException}
|
|
117
117
|
* <p>Base exception class for all service exceptions from DocDBElastic service.</p>
|
|
118
118
|
*
|
|
119
|
+
*
|
|
119
120
|
* @public
|
|
120
121
|
*/
|
|
121
122
|
export declare class UpdateClusterCommand extends UpdateClusterCommand_base {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-docdb-elastic",
|
|
3
3
|
"description": "AWS SDK for JavaScript Docdb Elastic Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.777.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-docdb-elastic",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.775.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.777.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|