@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.
Files changed (131) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +205 -0
  3. package/dist-cjs/DocDBElastic.js +202 -0
  4. package/dist-cjs/DocDBElasticClient.js +40 -0
  5. package/dist-cjs/commands/CreateClusterCommand.js +46 -0
  6. package/dist-cjs/commands/CreateClusterSnapshotCommand.js +46 -0
  7. package/dist-cjs/commands/DeleteClusterCommand.js +46 -0
  8. package/dist-cjs/commands/DeleteClusterSnapshotCommand.js +46 -0
  9. package/dist-cjs/commands/GetClusterCommand.js +46 -0
  10. package/dist-cjs/commands/GetClusterSnapshotCommand.js +46 -0
  11. package/dist-cjs/commands/ListClusterSnapshotsCommand.js +46 -0
  12. package/dist-cjs/commands/ListClustersCommand.js +46 -0
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  14. package/dist-cjs/commands/RestoreClusterFromSnapshotCommand.js +46 -0
  15. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  16. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  17. package/dist-cjs/commands/UpdateClusterCommand.js +46 -0
  18. package/dist-cjs/commands/index.js +16 -0
  19. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  20. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  21. package/dist-cjs/endpoint/ruleset.js +312 -0
  22. package/dist-cjs/index.js +11 -0
  23. package/dist-cjs/models/DocDBElasticServiceException.js +11 -0
  24. package/dist-cjs/models/index.js +4 -0
  25. package/dist-cjs/models/models_0.js +255 -0
  26. package/dist-cjs/pagination/Interfaces.js +2 -0
  27. package/dist-cjs/pagination/ListClusterSnapshotsPaginator.js +36 -0
  28. package/dist-cjs/pagination/ListClustersPaginator.js +36 -0
  29. package/dist-cjs/pagination/index.js +6 -0
  30. package/dist-cjs/protocols/Aws_restJson1.js +1197 -0
  31. package/dist-cjs/runtimeConfig.browser.js +42 -0
  32. package/dist-cjs/runtimeConfig.js +50 -0
  33. package/dist-cjs/runtimeConfig.native.js +15 -0
  34. package/dist-cjs/runtimeConfig.shared.js +18 -0
  35. package/dist-es/DocDBElastic.js +198 -0
  36. package/dist-es/DocDBElasticClient.js +36 -0
  37. package/dist-es/commands/CreateClusterCommand.js +42 -0
  38. package/dist-es/commands/CreateClusterSnapshotCommand.js +42 -0
  39. package/dist-es/commands/DeleteClusterCommand.js +42 -0
  40. package/dist-es/commands/DeleteClusterSnapshotCommand.js +42 -0
  41. package/dist-es/commands/GetClusterCommand.js +42 -0
  42. package/dist-es/commands/GetClusterSnapshotCommand.js +42 -0
  43. package/dist-es/commands/ListClusterSnapshotsCommand.js +42 -0
  44. package/dist-es/commands/ListClustersCommand.js +42 -0
  45. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  46. package/dist-es/commands/RestoreClusterFromSnapshotCommand.js +42 -0
  47. package/dist-es/commands/TagResourceCommand.js +42 -0
  48. package/dist-es/commands/UntagResourceCommand.js +42 -0
  49. package/dist-es/commands/UpdateClusterCommand.js +42 -0
  50. package/dist-es/commands/index.js +13 -0
  51. package/dist-es/endpoint/EndpointParameters.js +8 -0
  52. package/dist-es/endpoint/endpointResolver.js +8 -0
  53. package/dist-es/endpoint/ruleset.js +309 -0
  54. package/dist-es/index.js +6 -0
  55. package/dist-es/models/DocDBElasticServiceException.js +7 -0
  56. package/dist-es/models/index.js +1 -0
  57. package/dist-es/models/models_0.js +214 -0
  58. package/dist-es/pagination/Interfaces.js +1 -0
  59. package/dist-es/pagination/ListClusterSnapshotsPaginator.js +32 -0
  60. package/dist-es/pagination/ListClustersPaginator.js +32 -0
  61. package/dist-es/pagination/index.js +3 -0
  62. package/dist-es/protocols/Aws_restJson1.js +1168 -0
  63. package/dist-es/runtimeConfig.browser.js +37 -0
  64. package/dist-es/runtimeConfig.js +45 -0
  65. package/dist-es/runtimeConfig.native.js +11 -0
  66. package/dist-es/runtimeConfig.shared.js +14 -0
  67. package/dist-types/DocDBElastic.d.ts +99 -0
  68. package/dist-types/DocDBElasticClient.d.ts +154 -0
  69. package/dist-types/commands/CreateClusterCommand.d.ts +37 -0
  70. package/dist-types/commands/CreateClusterSnapshotCommand.d.ts +37 -0
  71. package/dist-types/commands/DeleteClusterCommand.d.ts +37 -0
  72. package/dist-types/commands/DeleteClusterSnapshotCommand.d.ts +37 -0
  73. package/dist-types/commands/GetClusterCommand.d.ts +37 -0
  74. package/dist-types/commands/GetClusterSnapshotCommand.d.ts +37 -0
  75. package/dist-types/commands/ListClusterSnapshotsCommand.d.ts +37 -0
  76. package/dist-types/commands/ListClustersCommand.d.ts +37 -0
  77. package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
  78. package/dist-types/commands/RestoreClusterFromSnapshotCommand.d.ts +37 -0
  79. package/dist-types/commands/TagResourceCommand.d.ts +37 -0
  80. package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
  81. package/dist-types/commands/UpdateClusterCommand.d.ts +38 -0
  82. package/dist-types/commands/index.d.ts +13 -0
  83. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  84. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  85. package/dist-types/endpoint/ruleset.d.ts +2 -0
  86. package/dist-types/index.d.ts +6 -0
  87. package/dist-types/models/DocDBElasticServiceException.d.ts +10 -0
  88. package/dist-types/models/index.d.ts +1 -0
  89. package/dist-types/models/models_0.d.ts +782 -0
  90. package/dist-types/pagination/Interfaces.d.ts +6 -0
  91. package/dist-types/pagination/ListClusterSnapshotsPaginator.d.ts +4 -0
  92. package/dist-types/pagination/ListClustersPaginator.d.ts +4 -0
  93. package/dist-types/pagination/index.d.ts +3 -0
  94. package/dist-types/protocols/Aws_restJson1.d.ts +41 -0
  95. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  96. package/dist-types/runtimeConfig.d.ts +42 -0
  97. package/dist-types/runtimeConfig.native.d.ts +41 -0
  98. package/dist-types/runtimeConfig.shared.d.ts +16 -0
  99. package/dist-types/ts3.4/DocDBElastic.d.ts +225 -0
  100. package/dist-types/ts3.4/DocDBElasticClient.d.ts +190 -0
  101. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +34 -0
  102. package/dist-types/ts3.4/commands/CreateClusterSnapshotCommand.d.ts +41 -0
  103. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +34 -0
  104. package/dist-types/ts3.4/commands/DeleteClusterSnapshotCommand.d.ts +41 -0
  105. package/dist-types/ts3.4/commands/GetClusterCommand.d.ts +34 -0
  106. package/dist-types/ts3.4/commands/GetClusterSnapshotCommand.d.ts +38 -0
  107. package/dist-types/ts3.4/commands/ListClusterSnapshotsCommand.d.ts +41 -0
  108. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +34 -0
  109. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  110. package/dist-types/ts3.4/commands/RestoreClusterFromSnapshotCommand.d.ts +41 -0
  111. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  112. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
  113. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +34 -0
  114. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  115. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
  116. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  117. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  118. package/dist-types/ts3.4/index.d.ts +6 -0
  119. package/dist-types/ts3.4/models/DocDBElasticServiceException.d.ts +7 -0
  120. package/dist-types/ts3.4/models/index.d.ts +1 -0
  121. package/dist-types/ts3.4/models/models_0.d.ts +320 -0
  122. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
  123. package/dist-types/ts3.4/pagination/ListClusterSnapshotsPaginator.d.ts +11 -0
  124. package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +11 -0
  125. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  126. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +161 -0
  127. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +88 -0
  128. package/dist-types/ts3.4/runtimeConfig.d.ts +88 -0
  129. package/dist-types/ts3.4/runtimeConfig.native.d.ts +77 -0
  130. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +16 -0
  131. 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,5 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,6 @@
1
+ export * from "./DocDBElastic";
2
+ export * from "./DocDBElasticClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { DocDBElasticServiceException } from "./models/DocDBElasticServiceException";
@@ -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";