@aws-sdk/client-docdb-elastic 3.312.0 → 3.316.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-cjs/DocDBElastic.js +17 -182
- package/dist-cjs/protocols/Aws_restJson1.js +156 -295
- package/dist-es/DocDBElastic.js +17 -182
- package/dist-es/protocols/Aws_restJson1.js +134 -273
- package/dist-types/DocDBElastic.d.ts +20 -32
- package/dist-types/ts3.4/DocDBElastic.d.ts +4 -1
- package/package.json +6 -6
|
@@ -13,101 +13,89 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
13
13
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
14
14
|
import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "./commands/UpdateClusterCommand";
|
|
15
15
|
import { DocDBElasticClient } from "./DocDBElasticClient";
|
|
16
|
-
|
|
17
|
-
* @public
|
|
18
|
-
* <p>The new Amazon Elastic DocumentDB service endpoint.</p>
|
|
19
|
-
*/
|
|
20
|
-
export declare class DocDBElastic extends DocDBElasticClient {
|
|
16
|
+
export interface DocDBElastic {
|
|
21
17
|
/**
|
|
22
|
-
* @
|
|
23
|
-
* <p>Creates a new Elastic DocumentDB cluster and returns its Cluster structure.</p>
|
|
18
|
+
* @see {@link CreateClusterCommand}
|
|
24
19
|
*/
|
|
25
20
|
createCluster(args: CreateClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterCommandOutput>;
|
|
26
21
|
createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
27
22
|
createCluster(args: CreateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
28
23
|
/**
|
|
29
|
-
* @
|
|
30
|
-
* <p>Creates a snapshot of a cluster.</p>
|
|
24
|
+
* @see {@link CreateClusterSnapshotCommand}
|
|
31
25
|
*/
|
|
32
26
|
createClusterSnapshot(args: CreateClusterSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterSnapshotCommandOutput>;
|
|
33
27
|
createClusterSnapshot(args: CreateClusterSnapshotCommandInput, cb: (err: any, data?: CreateClusterSnapshotCommandOutput) => void): void;
|
|
34
28
|
createClusterSnapshot(args: CreateClusterSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterSnapshotCommandOutput) => void): void;
|
|
35
29
|
/**
|
|
36
|
-
* @
|
|
37
|
-
* <p>Delete a Elastic DocumentDB cluster.</p>
|
|
30
|
+
* @see {@link DeleteClusterCommand}
|
|
38
31
|
*/
|
|
39
32
|
deleteCluster(args: DeleteClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteClusterCommandOutput>;
|
|
40
33
|
deleteCluster(args: DeleteClusterCommandInput, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
41
34
|
deleteCluster(args: DeleteClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
42
35
|
/**
|
|
43
|
-
* @
|
|
44
|
-
* <p>Delete a Elastic DocumentDB snapshot.</p>
|
|
36
|
+
* @see {@link DeleteClusterSnapshotCommand}
|
|
45
37
|
*/
|
|
46
38
|
deleteClusterSnapshot(args: DeleteClusterSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<DeleteClusterSnapshotCommandOutput>;
|
|
47
39
|
deleteClusterSnapshot(args: DeleteClusterSnapshotCommandInput, cb: (err: any, data?: DeleteClusterSnapshotCommandOutput) => void): void;
|
|
48
40
|
deleteClusterSnapshot(args: DeleteClusterSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterSnapshotCommandOutput) => void): void;
|
|
49
41
|
/**
|
|
50
|
-
* @
|
|
51
|
-
* <p>Returns information about a specific Elastic DocumentDB cluster.</p>
|
|
42
|
+
* @see {@link GetClusterCommand}
|
|
52
43
|
*/
|
|
53
44
|
getCluster(args: GetClusterCommandInput, options?: __HttpHandlerOptions): Promise<GetClusterCommandOutput>;
|
|
54
45
|
getCluster(args: GetClusterCommandInput, cb: (err: any, data?: GetClusterCommandOutput) => void): void;
|
|
55
46
|
getCluster(args: GetClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetClusterCommandOutput) => void): void;
|
|
56
47
|
/**
|
|
57
|
-
* @
|
|
58
|
-
* <p>Returns information about a specific Elastic DocumentDB snapshot</p>
|
|
48
|
+
* @see {@link GetClusterSnapshotCommand}
|
|
59
49
|
*/
|
|
60
50
|
getClusterSnapshot(args: GetClusterSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<GetClusterSnapshotCommandOutput>;
|
|
61
51
|
getClusterSnapshot(args: GetClusterSnapshotCommandInput, cb: (err: any, data?: GetClusterSnapshotCommandOutput) => void): void;
|
|
62
52
|
getClusterSnapshot(args: GetClusterSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetClusterSnapshotCommandOutput) => void): void;
|
|
63
53
|
/**
|
|
64
|
-
* @
|
|
65
|
-
* <p>Returns information about provisioned Elastic DocumentDB clusters.</p>
|
|
54
|
+
* @see {@link ListClustersCommand}
|
|
66
55
|
*/
|
|
67
56
|
listClusters(args: ListClustersCommandInput, options?: __HttpHandlerOptions): Promise<ListClustersCommandOutput>;
|
|
68
57
|
listClusters(args: ListClustersCommandInput, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
|
|
69
58
|
listClusters(args: ListClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
|
|
70
59
|
/**
|
|
71
|
-
* @
|
|
72
|
-
* <p>Returns information about Elastic DocumentDB snapshots for a specified cluster.</p>
|
|
60
|
+
* @see {@link ListClusterSnapshotsCommand}
|
|
73
61
|
*/
|
|
74
62
|
listClusterSnapshots(args: ListClusterSnapshotsCommandInput, options?: __HttpHandlerOptions): Promise<ListClusterSnapshotsCommandOutput>;
|
|
75
63
|
listClusterSnapshots(args: ListClusterSnapshotsCommandInput, cb: (err: any, data?: ListClusterSnapshotsCommandOutput) => void): void;
|
|
76
64
|
listClusterSnapshots(args: ListClusterSnapshotsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClusterSnapshotsCommandOutput) => void): void;
|
|
77
65
|
/**
|
|
78
|
-
* @
|
|
79
|
-
* <p>Lists all tags on a Elastic DocumentDB resource</p>
|
|
66
|
+
* @see {@link ListTagsForResourceCommand}
|
|
80
67
|
*/
|
|
81
68
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
82
69
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
83
70
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
84
71
|
/**
|
|
85
|
-
* @
|
|
86
|
-
* <p>Restores a Elastic DocumentDB cluster from a snapshot.</p>
|
|
72
|
+
* @see {@link RestoreClusterFromSnapshotCommand}
|
|
87
73
|
*/
|
|
88
74
|
restoreClusterFromSnapshot(args: RestoreClusterFromSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<RestoreClusterFromSnapshotCommandOutput>;
|
|
89
75
|
restoreClusterFromSnapshot(args: RestoreClusterFromSnapshotCommandInput, cb: (err: any, data?: RestoreClusterFromSnapshotCommandOutput) => void): void;
|
|
90
76
|
restoreClusterFromSnapshot(args: RestoreClusterFromSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreClusterFromSnapshotCommandOutput) => void): void;
|
|
91
77
|
/**
|
|
92
|
-
* @
|
|
93
|
-
* <p>Adds metadata tags to a Elastic DocumentDB resource</p>
|
|
78
|
+
* @see {@link TagResourceCommand}
|
|
94
79
|
*/
|
|
95
80
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
96
81
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
97
82
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
98
83
|
/**
|
|
99
|
-
* @
|
|
100
|
-
* <p>Removes metadata tags to a Elastic DocumentDB resource</p>
|
|
84
|
+
* @see {@link UntagResourceCommand}
|
|
101
85
|
*/
|
|
102
86
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
103
87
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
104
88
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
105
89
|
/**
|
|
106
|
-
* @
|
|
107
|
-
* <p>Modifies a Elastic DocumentDB cluster. This includes updating admin-username/password,
|
|
108
|
-
* upgrading API version setting up a backup window and maintenance window</p>
|
|
90
|
+
* @see {@link UpdateClusterCommand}
|
|
109
91
|
*/
|
|
110
92
|
updateCluster(args: UpdateClusterCommandInput, options?: __HttpHandlerOptions): Promise<UpdateClusterCommandOutput>;
|
|
111
93
|
updateCluster(args: UpdateClusterCommandInput, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
|
|
112
94
|
updateCluster(args: UpdateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
|
|
113
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
* <p>The new Amazon Elastic DocumentDB service endpoint.</p>
|
|
99
|
+
*/
|
|
100
|
+
export declare class DocDBElastic extends DocDBElasticClient implements DocDBElastic {
|
|
101
|
+
}
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
UpdateClusterCommandOutput,
|
|
53
53
|
} from "./commands/UpdateClusterCommand";
|
|
54
54
|
import { DocDBElasticClient } from "./DocDBElasticClient";
|
|
55
|
-
export
|
|
55
|
+
export interface DocDBElastic {
|
|
56
56
|
createCluster(
|
|
57
57
|
args: CreateClusterCommandInput,
|
|
58
58
|
options?: __HttpHandlerOptions
|
|
@@ -223,3 +223,6 @@ export declare class DocDBElastic extends DocDBElasticClient {
|
|
|
223
223
|
cb: (err: any, data?: UpdateClusterCommandOutput) => void
|
|
224
224
|
): void;
|
|
225
225
|
}
|
|
226
|
+
export declare class DocDBElastic
|
|
227
|
+
extends DocDBElasticClient
|
|
228
|
+
implements DocDBElastic {}
|
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.316.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,9 +21,9 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|