@aws-sdk/client-docdb-elastic 3.221.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/LICENSE +201 -0
- package/README.md +205 -0
- package/dist-cjs/DocDBElastic.js +202 -0
- package/dist-cjs/DocDBElasticClient.js +40 -0
- package/dist-cjs/commands/CreateClusterCommand.js +46 -0
- package/dist-cjs/commands/CreateClusterSnapshotCommand.js +46 -0
- package/dist-cjs/commands/DeleteClusterCommand.js +46 -0
- package/dist-cjs/commands/DeleteClusterSnapshotCommand.js +46 -0
- package/dist-cjs/commands/GetClusterCommand.js +46 -0
- package/dist-cjs/commands/GetClusterSnapshotCommand.js +46 -0
- package/dist-cjs/commands/ListClusterSnapshotsCommand.js +46 -0
- package/dist-cjs/commands/ListClustersCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/RestoreClusterFromSnapshotCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/UpdateClusterCommand.js +46 -0
- package/dist-cjs/commands/index.js +16 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +312 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/DocDBElasticServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +255 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListClusterSnapshotsPaginator.js +36 -0
- package/dist-cjs/pagination/ListClustersPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1197 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +18 -0
- package/dist-es/DocDBElastic.js +198 -0
- package/dist-es/DocDBElasticClient.js +36 -0
- package/dist-es/commands/CreateClusterCommand.js +42 -0
- package/dist-es/commands/CreateClusterSnapshotCommand.js +42 -0
- package/dist-es/commands/DeleteClusterCommand.js +42 -0
- package/dist-es/commands/DeleteClusterSnapshotCommand.js +42 -0
- package/dist-es/commands/GetClusterCommand.js +42 -0
- package/dist-es/commands/GetClusterSnapshotCommand.js +42 -0
- package/dist-es/commands/ListClusterSnapshotsCommand.js +42 -0
- package/dist-es/commands/ListClustersCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/RestoreClusterFromSnapshotCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/UpdateClusterCommand.js +42 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +309 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/DocDBElasticServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +214 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListClusterSnapshotsPaginator.js +32 -0
- package/dist-es/pagination/ListClustersPaginator.js +32 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +1168 -0
- package/dist-es/runtimeConfig.browser.js +37 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-types/DocDBElastic.d.ts +99 -0
- package/dist-types/DocDBElasticClient.d.ts +154 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +37 -0
- package/dist-types/commands/CreateClusterSnapshotCommand.d.ts +37 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +37 -0
- package/dist-types/commands/DeleteClusterSnapshotCommand.d.ts +37 -0
- package/dist-types/commands/GetClusterCommand.d.ts +37 -0
- package/dist-types/commands/GetClusterSnapshotCommand.d.ts +37 -0
- package/dist-types/commands/ListClusterSnapshotsCommand.d.ts +37 -0
- package/dist-types/commands/ListClustersCommand.d.ts +37 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
- package/dist-types/commands/RestoreClusterFromSnapshotCommand.d.ts +37 -0
- package/dist-types/commands/TagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/DocDBElasticServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +782 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListClusterSnapshotsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListClustersPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +41 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +16 -0
- package/dist-types/ts3.4/DocDBElastic.d.ts +225 -0
- package/dist-types/ts3.4/DocDBElasticClient.d.ts +190 -0
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/CreateClusterSnapshotCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteClusterSnapshotCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetClusterCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetClusterSnapshotCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListClusterSnapshotsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/RestoreClusterFromSnapshotCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/DocDBElasticServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +320 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
- package/dist-types/ts3.4/pagination/ListClusterSnapshotsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +161 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +77 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +16 -0
- package/package.json +103 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
|
|
5
|
+
import { ListClustersInput, ListClustersOutput } from "../models/models_0";
|
|
6
|
+
export interface ListClustersCommandInput extends ListClustersInput {
|
|
7
|
+
}
|
|
8
|
+
export interface ListClustersCommandOutput extends ListClustersOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns information about provisioned Elastic DocumentDB clusters.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { DocDBElasticClient, ListClustersCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
|
|
16
|
+
* // const { DocDBElasticClient, ListClustersCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
|
|
17
|
+
* const client = new DocDBElasticClient(config);
|
|
18
|
+
* const command = new ListClustersCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListClustersCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListClustersCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link DocDBElasticClientResolvedConfig | config} for DocDBElasticClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListClustersCommand extends $Command<ListClustersCommandInput, ListClustersCommandOutput, DocDBElasticClientResolvedConfig> {
|
|
28
|
+
readonly input: ListClustersCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListClustersCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DocDBElasticClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListClustersCommandInput, ListClustersCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
|
|
5
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
6
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Lists all tags on a Elastic DocumentDB resource</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { DocDBElasticClient, ListTagsForResourceCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
|
|
16
|
+
* // const { DocDBElasticClient, ListTagsForResourceCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
|
|
17
|
+
* const client = new DocDBElasticClient(config);
|
|
18
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link DocDBElasticClientResolvedConfig | config} for DocDBElasticClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, DocDBElasticClientResolvedConfig> {
|
|
28
|
+
readonly input: ListTagsForResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListTagsForResourceCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DocDBElasticClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
|
|
5
|
+
import { RestoreClusterFromSnapshotInput, RestoreClusterFromSnapshotOutput } from "../models/models_0";
|
|
6
|
+
export interface RestoreClusterFromSnapshotCommandInput extends RestoreClusterFromSnapshotInput {
|
|
7
|
+
}
|
|
8
|
+
export interface RestoreClusterFromSnapshotCommandOutput extends RestoreClusterFromSnapshotOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Restores a Elastic DocumentDB cluster from a snapshot.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { DocDBElasticClient, RestoreClusterFromSnapshotCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
|
|
16
|
+
* // const { DocDBElasticClient, RestoreClusterFromSnapshotCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
|
|
17
|
+
* const client = new DocDBElasticClient(config);
|
|
18
|
+
* const command = new RestoreClusterFromSnapshotCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link RestoreClusterFromSnapshotCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link RestoreClusterFromSnapshotCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link DocDBElasticClientResolvedConfig | config} for DocDBElasticClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class RestoreClusterFromSnapshotCommand extends $Command<RestoreClusterFromSnapshotCommandInput, RestoreClusterFromSnapshotCommandOutput, DocDBElasticClientResolvedConfig> {
|
|
28
|
+
readonly input: RestoreClusterFromSnapshotCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: RestoreClusterFromSnapshotCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DocDBElasticClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RestoreClusterFromSnapshotCommandInput, RestoreClusterFromSnapshotCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
|
|
5
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
6
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Adds metadata tags to a Elastic DocumentDB resource</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { DocDBElasticClient, TagResourceCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
|
|
16
|
+
* // const { DocDBElasticClient, TagResourceCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
|
|
17
|
+
* const client = new DocDBElasticClient(config);
|
|
18
|
+
* const command = new TagResourceCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link DocDBElasticClientResolvedConfig | config} for DocDBElasticClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, DocDBElasticClientResolvedConfig> {
|
|
28
|
+
readonly input: TagResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: TagResourceCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DocDBElasticClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
|
|
5
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
6
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Removes metadata tags to a Elastic DocumentDB resource</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { DocDBElasticClient, UntagResourceCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
|
|
16
|
+
* // const { DocDBElasticClient, UntagResourceCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
|
|
17
|
+
* const client = new DocDBElasticClient(config);
|
|
18
|
+
* const command = new UntagResourceCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link DocDBElasticClientResolvedConfig | config} for DocDBElasticClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, DocDBElasticClientResolvedConfig> {
|
|
28
|
+
readonly input: UntagResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UntagResourceCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DocDBElasticClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
|
|
5
|
+
import { UpdateClusterInput, UpdateClusterOutput } from "../models/models_0";
|
|
6
|
+
export interface UpdateClusterCommandInput extends UpdateClusterInput {
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateClusterCommandOutput extends UpdateClusterOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Modifies a Elastic DocumentDB cluster. This includes updating admin-username/password,
|
|
12
|
+
* upgrading API version setting up a backup window and maintenance window</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { DocDBElasticClient, UpdateClusterCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
|
|
17
|
+
* // const { DocDBElasticClient, UpdateClusterCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
|
|
18
|
+
* const client = new DocDBElasticClient(config);
|
|
19
|
+
* const command = new UpdateClusterCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link UpdateClusterCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link UpdateClusterCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link DocDBElasticClientResolvedConfig | config} for DocDBElasticClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class UpdateClusterCommand extends $Command<UpdateClusterCommandInput, UpdateClusterCommandOutput, DocDBElasticClientResolvedConfig> {
|
|
29
|
+
readonly input: UpdateClusterCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: UpdateClusterCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DocDBElasticClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateClusterCommandInput, UpdateClusterCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./CreateClusterCommand";
|
|
2
|
+
export * from "./CreateClusterSnapshotCommand";
|
|
3
|
+
export * from "./DeleteClusterCommand";
|
|
4
|
+
export * from "./DeleteClusterSnapshotCommand";
|
|
5
|
+
export * from "./GetClusterCommand";
|
|
6
|
+
export * from "./GetClusterSnapshotCommand";
|
|
7
|
+
export * from "./ListClusterSnapshotsCommand";
|
|
8
|
+
export * from "./ListClustersCommand";
|
|
9
|
+
export * from "./ListTagsForResourceCommand";
|
|
10
|
+
export * from "./RestoreClusterFromSnapshotCommand";
|
|
11
|
+
export * from "./TagResourceCommand";
|
|
12
|
+
export * from "./UntagResourceCommand";
|
|
13
|
+
export * from "./UpdateClusterCommand";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@aws-sdk/types";
|
|
2
|
+
export interface ClientInputEndpointParameters {
|
|
3
|
+
region?: string | Provider<string>;
|
|
4
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
5
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
7
|
+
}
|
|
8
|
+
export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
9
|
+
defaultSigningName: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
+
Region: string;
|
|
16
|
+
UseDualStack?: boolean;
|
|
17
|
+
UseFIPS?: boolean;
|
|
18
|
+
Endpoint?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from DocDBElastic service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class DocDBElasticServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|