@aws-sdk/client-docdb-elastic 3.477.0 → 3.481.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 (65) hide show
  1. package/dist-cjs/commands/CreateClusterCommand.js +18 -41
  2. package/dist-cjs/commands/CreateClusterSnapshotCommand.js +18 -41
  3. package/dist-cjs/commands/DeleteClusterCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteClusterSnapshotCommand.js +18 -41
  5. package/dist-cjs/commands/GetClusterCommand.js +18 -41
  6. package/dist-cjs/commands/GetClusterSnapshotCommand.js +18 -41
  7. package/dist-cjs/commands/ListClusterSnapshotsCommand.js +18 -41
  8. package/dist-cjs/commands/ListClustersCommand.js +18 -41
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  10. package/dist-cjs/commands/RestoreClusterFromSnapshotCommand.js +18 -41
  11. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  12. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  13. package/dist-cjs/commands/UpdateClusterCommand.js +18 -41
  14. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  15. package/dist-cjs/pagination/ListClusterSnapshotsPaginator.js +2 -24
  16. package/dist-cjs/pagination/ListClustersPaginator.js +2 -24
  17. package/dist-es/commands/CreateClusterCommand.js +18 -41
  18. package/dist-es/commands/CreateClusterSnapshotCommand.js +18 -41
  19. package/dist-es/commands/DeleteClusterCommand.js +18 -41
  20. package/dist-es/commands/DeleteClusterSnapshotCommand.js +18 -41
  21. package/dist-es/commands/GetClusterCommand.js +18 -41
  22. package/dist-es/commands/GetClusterSnapshotCommand.js +18 -41
  23. package/dist-es/commands/ListClusterSnapshotsCommand.js +18 -41
  24. package/dist-es/commands/ListClustersCommand.js +18 -41
  25. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  26. package/dist-es/commands/RestoreClusterFromSnapshotCommand.js +18 -41
  27. package/dist-es/commands/TagResourceCommand.js +18 -41
  28. package/dist-es/commands/UntagResourceCommand.js +18 -41
  29. package/dist-es/commands/UpdateClusterCommand.js +18 -41
  30. package/dist-es/endpoint/EndpointParameters.js +6 -0
  31. package/dist-es/pagination/ListClusterSnapshotsPaginator.js +2 -23
  32. package/dist-es/pagination/ListClustersPaginator.js +2 -23
  33. package/dist-types/commands/CreateClusterCommand.d.ts +6 -21
  34. package/dist-types/commands/CreateClusterSnapshotCommand.d.ts +6 -21
  35. package/dist-types/commands/DeleteClusterCommand.d.ts +6 -21
  36. package/dist-types/commands/DeleteClusterSnapshotCommand.d.ts +6 -21
  37. package/dist-types/commands/GetClusterCommand.d.ts +6 -21
  38. package/dist-types/commands/GetClusterSnapshotCommand.d.ts +6 -21
  39. package/dist-types/commands/ListClusterSnapshotsCommand.d.ts +6 -21
  40. package/dist-types/commands/ListClustersCommand.d.ts +6 -21
  41. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  42. package/dist-types/commands/RestoreClusterFromSnapshotCommand.d.ts +6 -21
  43. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  44. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  45. package/dist-types/commands/UpdateClusterCommand.d.ts +6 -21
  46. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  47. package/dist-types/pagination/ListClusterSnapshotsPaginator.d.ts +1 -1
  48. package/dist-types/pagination/ListClustersPaginator.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +14 -23
  50. package/dist-types/ts3.4/commands/CreateClusterSnapshotCommand.d.ts +12 -24
  51. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +14 -23
  52. package/dist-types/ts3.4/commands/DeleteClusterSnapshotCommand.d.ts +12 -24
  53. package/dist-types/ts3.4/commands/GetClusterCommand.d.ts +14 -23
  54. package/dist-types/ts3.4/commands/GetClusterSnapshotCommand.d.ts +14 -23
  55. package/dist-types/ts3.4/commands/ListClusterSnapshotsCommand.d.ts +12 -24
  56. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +14 -23
  57. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  58. package/dist-types/ts3.4/commands/RestoreClusterFromSnapshotCommand.d.ts +12 -24
  59. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  60. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  61. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +14 -23
  62. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  63. package/dist-types/ts3.4/pagination/ListClusterSnapshotsPaginator.d.ts +3 -3
  64. package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +3 -3
  65. package/package.json +11 -11
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListClustersCommand, } from "../commands/ListClustersCommand";
2
3
  import { DocDBElasticClient } from "../DocDBElasticClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListClustersCommand(input), ...args);
5
- };
6
- export async function* paginateListClusters(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof DocDBElasticClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected DocDBElastic | DocDBElasticClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListClusters = createPaginator(DocDBElasticClient, ListClustersCommand, "nextToken", "nextToken", "maxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
5
4
  import { CreateClusterInput, CreateClusterOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateClusterCommandInput extends CreateClusterInput {
21
20
  */
22
21
  export interface CreateClusterCommandOutput extends CreateClusterOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateClusterCommand_base: {
24
+ new (input: CreateClusterCommandInput): import("@smithy/smithy-client").CommandImpl<CreateClusterCommandInput, CreateClusterCommandOutput, DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new Elastic DocumentDB cluster and returns its Cluster structure.</p>
@@ -104,23 +107,5 @@ export interface CreateClusterCommandOutput extends CreateClusterOutput, __Metad
104
107
  * <p>Base exception class for all service exceptions from DocDBElastic service.</p>
105
108
  *
106
109
  */
107
- export declare class CreateClusterCommand extends $Command<CreateClusterCommandInput, CreateClusterCommandOutput, DocDBElasticClientResolvedConfig> {
108
- readonly input: CreateClusterCommandInput;
109
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
110
- /**
111
- * @public
112
- */
113
- constructor(input: CreateClusterCommandInput);
114
- /**
115
- * @internal
116
- */
117
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DocDBElasticClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateClusterCommandInput, CreateClusterCommandOutput>;
118
- /**
119
- * @internal
120
- */
121
- private serialize;
122
- /**
123
- * @internal
124
- */
125
- private deserialize;
110
+ export declare class CreateClusterCommand extends CreateClusterCommand_base {
126
111
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
5
4
  import { CreateClusterSnapshotInput, CreateClusterSnapshotOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateClusterSnapshotCommandInput extends CreateClusterSnapshot
21
20
  */
22
21
  export interface CreateClusterSnapshotCommandOutput extends CreateClusterSnapshotOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateClusterSnapshotCommand_base: {
24
+ new (input: CreateClusterSnapshotCommandInput): import("@smithy/smithy-client").CommandImpl<CreateClusterSnapshotCommandInput, CreateClusterSnapshotCommandOutput, DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a snapshot of a cluster.</p>
@@ -91,23 +94,5 @@ export interface CreateClusterSnapshotCommandOutput extends CreateClusterSnapsho
91
94
  * <p>Base exception class for all service exceptions from DocDBElastic service.</p>
92
95
  *
93
96
  */
94
- export declare class CreateClusterSnapshotCommand extends $Command<CreateClusterSnapshotCommandInput, CreateClusterSnapshotCommandOutput, DocDBElasticClientResolvedConfig> {
95
- readonly input: CreateClusterSnapshotCommandInput;
96
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
97
- /**
98
- * @public
99
- */
100
- constructor(input: CreateClusterSnapshotCommandInput);
101
- /**
102
- * @internal
103
- */
104
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DocDBElasticClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateClusterSnapshotCommandInput, CreateClusterSnapshotCommandOutput>;
105
- /**
106
- * @internal
107
- */
108
- private serialize;
109
- /**
110
- * @internal
111
- */
112
- private deserialize;
97
+ export declare class CreateClusterSnapshotCommand extends CreateClusterSnapshotCommand_base {
113
98
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
5
4
  import { DeleteClusterInput, DeleteClusterOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteClusterCommandInput extends DeleteClusterInput {
21
20
  */
22
21
  export interface DeleteClusterCommandOutput extends DeleteClusterOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteClusterCommand_base: {
24
+ new (input: DeleteClusterCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteClusterCommandInput, DeleteClusterCommandOutput, DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Delete a Elastic DocumentDB cluster.</p>
@@ -87,23 +90,5 @@ export interface DeleteClusterCommandOutput extends DeleteClusterOutput, __Metad
87
90
  * <p>Base exception class for all service exceptions from DocDBElastic service.</p>
88
91
  *
89
92
  */
90
- export declare class DeleteClusterCommand extends $Command<DeleteClusterCommandInput, DeleteClusterCommandOutput, DocDBElasticClientResolvedConfig> {
91
- readonly input: DeleteClusterCommandInput;
92
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
93
- /**
94
- * @public
95
- */
96
- constructor(input: DeleteClusterCommandInput);
97
- /**
98
- * @internal
99
- */
100
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DocDBElasticClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteClusterCommandInput, DeleteClusterCommandOutput>;
101
- /**
102
- * @internal
103
- */
104
- private serialize;
105
- /**
106
- * @internal
107
- */
108
- private deserialize;
93
+ export declare class DeleteClusterCommand extends DeleteClusterCommand_base {
109
94
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
5
4
  import { DeleteClusterSnapshotInput, DeleteClusterSnapshotOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteClusterSnapshotCommandInput extends DeleteClusterSnapshot
21
20
  */
22
21
  export interface DeleteClusterSnapshotCommandOutput extends DeleteClusterSnapshotOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteClusterSnapshotCommand_base: {
24
+ new (input: DeleteClusterSnapshotCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteClusterSnapshotCommandInput, DeleteClusterSnapshotCommandOutput, DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Delete a Elastic DocumentDB snapshot.</p>
@@ -84,23 +87,5 @@ export interface DeleteClusterSnapshotCommandOutput extends DeleteClusterSnapsho
84
87
  * <p>Base exception class for all service exceptions from DocDBElastic service.</p>
85
88
  *
86
89
  */
87
- export declare class DeleteClusterSnapshotCommand extends $Command<DeleteClusterSnapshotCommandInput, DeleteClusterSnapshotCommandOutput, DocDBElasticClientResolvedConfig> {
88
- readonly input: DeleteClusterSnapshotCommandInput;
89
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
90
- /**
91
- * @public
92
- */
93
- constructor(input: DeleteClusterSnapshotCommandInput);
94
- /**
95
- * @internal
96
- */
97
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DocDBElasticClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteClusterSnapshotCommandInput, DeleteClusterSnapshotCommandOutput>;
98
- /**
99
- * @internal
100
- */
101
- private serialize;
102
- /**
103
- * @internal
104
- */
105
- private deserialize;
90
+ export declare class DeleteClusterSnapshotCommand extends DeleteClusterSnapshotCommand_base {
106
91
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
5
4
  import { GetClusterInput, GetClusterOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetClusterCommandInput extends GetClusterInput {
21
20
  */
22
21
  export interface GetClusterCommandOutput extends GetClusterOutput, __MetadataBearer {
23
22
  }
23
+ declare const GetClusterCommand_base: {
24
+ new (input: GetClusterCommandInput): import("@smithy/smithy-client").CommandImpl<GetClusterCommandInput, GetClusterCommandOutput, DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns information about a specific Elastic DocumentDB cluster.</p>
@@ -84,23 +87,5 @@ export interface GetClusterCommandOutput extends GetClusterOutput, __MetadataBea
84
87
  * <p>Base exception class for all service exceptions from DocDBElastic service.</p>
85
88
  *
86
89
  */
87
- export declare class GetClusterCommand extends $Command<GetClusterCommandInput, GetClusterCommandOutput, DocDBElasticClientResolvedConfig> {
88
- readonly input: GetClusterCommandInput;
89
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
90
- /**
91
- * @public
92
- */
93
- constructor(input: GetClusterCommandInput);
94
- /**
95
- * @internal
96
- */
97
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DocDBElasticClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetClusterCommandInput, GetClusterCommandOutput>;
98
- /**
99
- * @internal
100
- */
101
- private serialize;
102
- /**
103
- * @internal
104
- */
105
- private deserialize;
90
+ export declare class GetClusterCommand extends GetClusterCommand_base {
106
91
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
5
4
  import { GetClusterSnapshotInput, GetClusterSnapshotOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetClusterSnapshotCommandInput extends GetClusterSnapshotInput
21
20
  */
22
21
  export interface GetClusterSnapshotCommandOutput extends GetClusterSnapshotOutput, __MetadataBearer {
23
22
  }
23
+ declare const GetClusterSnapshotCommand_base: {
24
+ new (input: GetClusterSnapshotCommandInput): import("@smithy/smithy-client").CommandImpl<GetClusterSnapshotCommandInput, GetClusterSnapshotCommandOutput, DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns information about a specific Elastic DocumentDB snapshot</p>
@@ -81,23 +84,5 @@ export interface GetClusterSnapshotCommandOutput extends GetClusterSnapshotOutpu
81
84
  * <p>Base exception class for all service exceptions from DocDBElastic service.</p>
82
85
  *
83
86
  */
84
- export declare class GetClusterSnapshotCommand extends $Command<GetClusterSnapshotCommandInput, GetClusterSnapshotCommandOutput, DocDBElasticClientResolvedConfig> {
85
- readonly input: GetClusterSnapshotCommandInput;
86
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
- /**
88
- * @public
89
- */
90
- constructor(input: GetClusterSnapshotCommandInput);
91
- /**
92
- * @internal
93
- */
94
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DocDBElasticClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetClusterSnapshotCommandInput, GetClusterSnapshotCommandOutput>;
95
- /**
96
- * @internal
97
- */
98
- private serialize;
99
- /**
100
- * @internal
101
- */
102
- private deserialize;
87
+ export declare class GetClusterSnapshotCommand extends GetClusterSnapshotCommand_base {
103
88
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
5
4
  import { ListClusterSnapshotsInput, ListClusterSnapshotsOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListClusterSnapshotsCommandInput extends ListClusterSnapshotsIn
21
20
  */
22
21
  export interface ListClusterSnapshotsCommandOutput extends ListClusterSnapshotsOutput, __MetadataBearer {
23
22
  }
23
+ declare const ListClusterSnapshotsCommand_base: {
24
+ new (input: ListClusterSnapshotsCommandInput): import("@smithy/smithy-client").CommandImpl<ListClusterSnapshotsCommandInput, ListClusterSnapshotsCommandOutput, DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns information about Elastic DocumentDB snapshots for a specified cluster.</p>
@@ -74,23 +77,5 @@ export interface ListClusterSnapshotsCommandOutput extends ListClusterSnapshotsO
74
77
  * <p>Base exception class for all service exceptions from DocDBElastic service.</p>
75
78
  *
76
79
  */
77
- export declare class ListClusterSnapshotsCommand extends $Command<ListClusterSnapshotsCommandInput, ListClusterSnapshotsCommandOutput, DocDBElasticClientResolvedConfig> {
78
- readonly input: ListClusterSnapshotsCommandInput;
79
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
- /**
81
- * @public
82
- */
83
- constructor(input: ListClusterSnapshotsCommandInput);
84
- /**
85
- * @internal
86
- */
87
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DocDBElasticClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListClusterSnapshotsCommandInput, ListClusterSnapshotsCommandOutput>;
88
- /**
89
- * @internal
90
- */
91
- private serialize;
92
- /**
93
- * @internal
94
- */
95
- private deserialize;
80
+ export declare class ListClusterSnapshotsCommand extends ListClusterSnapshotsCommand_base {
96
81
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
5
4
  import { ListClustersInput, ListClustersOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListClustersCommandInput extends ListClustersInput {
21
20
  */
22
21
  export interface ListClustersCommandOutput extends ListClustersOutput, __MetadataBearer {
23
22
  }
23
+ declare const ListClustersCommand_base: {
24
+ new (input: ListClustersCommandInput): import("@smithy/smithy-client").CommandImpl<ListClustersCommandInput, ListClustersCommandOutput, DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns information about provisioned Elastic DocumentDB clusters.</p>
@@ -71,23 +74,5 @@ export interface ListClustersCommandOutput extends ListClustersOutput, __Metadat
71
74
  * <p>Base exception class for all service exceptions from DocDBElastic service.</p>
72
75
  *
73
76
  */
74
- export declare class ListClustersCommand extends $Command<ListClustersCommandInput, ListClustersCommandOutput, DocDBElasticClientResolvedConfig> {
75
- readonly input: ListClustersCommandInput;
76
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
- /**
78
- * @public
79
- */
80
- constructor(input: ListClustersCommandInput);
81
- /**
82
- * @internal
83
- */
84
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DocDBElasticClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListClustersCommandInput, ListClustersCommandOutput>;
85
- /**
86
- * @internal
87
- */
88
- private serialize;
89
- /**
90
- * @internal
91
- */
92
- private deserialize;
77
+ export declare class ListClustersCommand extends ListClustersCommand_base {
93
78
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
5
4
  import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
21
20
  */
22
21
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListTagsForResourceCommand_base: {
24
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists all tags on a Elastic DocumentDB resource</p>
@@ -65,23 +68,5 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
65
68
  * <p>Base exception class for all service exceptions from DocDBElastic service.</p>
66
69
  *
67
70
  */
68
- export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, DocDBElasticClientResolvedConfig> {
69
- readonly input: ListTagsForResourceCommandInput;
70
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
- /**
72
- * @public
73
- */
74
- constructor(input: ListTagsForResourceCommandInput);
75
- /**
76
- * @internal
77
- */
78
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DocDBElasticClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
79
- /**
80
- * @internal
81
- */
82
- private serialize;
83
- /**
84
- * @internal
85
- */
86
- private deserialize;
71
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
87
72
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
5
4
  import { RestoreClusterFromSnapshotInput, RestoreClusterFromSnapshotOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface RestoreClusterFromSnapshotCommandInput extends RestoreClusterFr
21
20
  */
22
21
  export interface RestoreClusterFromSnapshotCommandOutput extends RestoreClusterFromSnapshotOutput, __MetadataBearer {
23
22
  }
23
+ declare const RestoreClusterFromSnapshotCommand_base: {
24
+ new (input: RestoreClusterFromSnapshotCommandInput): import("@smithy/smithy-client").CommandImpl<RestoreClusterFromSnapshotCommandInput, RestoreClusterFromSnapshotCommandOutput, DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Restores a Elastic DocumentDB cluster from a snapshot.</p>
@@ -101,23 +104,5 @@ export interface RestoreClusterFromSnapshotCommandOutput extends RestoreClusterF
101
104
  * <p>Base exception class for all service exceptions from DocDBElastic service.</p>
102
105
  *
103
106
  */
104
- export declare class RestoreClusterFromSnapshotCommand extends $Command<RestoreClusterFromSnapshotCommandInput, RestoreClusterFromSnapshotCommandOutput, DocDBElasticClientResolvedConfig> {
105
- readonly input: RestoreClusterFromSnapshotCommandInput;
106
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
107
- /**
108
- * @public
109
- */
110
- constructor(input: RestoreClusterFromSnapshotCommandInput);
111
- /**
112
- * @internal
113
- */
114
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DocDBElasticClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RestoreClusterFromSnapshotCommandInput, RestoreClusterFromSnapshotCommandOutput>;
115
- /**
116
- * @internal
117
- */
118
- private serialize;
119
- /**
120
- * @internal
121
- */
122
- private deserialize;
107
+ export declare class RestoreClusterFromSnapshotCommand extends RestoreClusterFromSnapshotCommand_base {
123
108
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
5
4
  import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface TagResourceCommandInput extends TagResourceRequest {
21
20
  */
22
21
  export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const TagResourceCommand_base: {
24
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds metadata tags to a Elastic DocumentDB resource</p>
@@ -64,23 +67,5 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
64
67
  * <p>Base exception class for all service exceptions from DocDBElastic service.</p>
65
68
  *
66
69
  */
67
- export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, DocDBElasticClientResolvedConfig> {
68
- readonly input: TagResourceCommandInput;
69
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
70
- /**
71
- * @public
72
- */
73
- constructor(input: TagResourceCommandInput);
74
- /**
75
- * @internal
76
- */
77
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DocDBElasticClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
78
- /**
79
- * @internal
80
- */
81
- private serialize;
82
- /**
83
- * @internal
84
- */
85
- private deserialize;
70
+ export declare class TagResourceCommand extends TagResourceCommand_base {
86
71
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
5
4
  import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
21
20
  */
22
21
  export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const UntagResourceCommand_base: {
24
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Removes metadata tags to a Elastic DocumentDB resource</p>
@@ -64,23 +67,5 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
64
67
  * <p>Base exception class for all service exceptions from DocDBElastic service.</p>
65
68
  *
66
69
  */
67
- export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, DocDBElasticClientResolvedConfig> {
68
- readonly input: UntagResourceCommandInput;
69
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
70
- /**
71
- * @public
72
- */
73
- constructor(input: UntagResourceCommandInput);
74
- /**
75
- * @internal
76
- */
77
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DocDBElasticClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
78
- /**
79
- * @internal
80
- */
81
- private serialize;
82
- /**
83
- * @internal
84
- */
85
- private deserialize;
70
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
86
71
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
5
4
  import { UpdateClusterInput, UpdateClusterOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdateClusterCommandInput extends UpdateClusterInput {
21
20
  */
22
21
  export interface UpdateClusterCommandOutput extends UpdateClusterOutput, __MetadataBearer {
23
22
  }
23
+ declare const UpdateClusterCommand_base: {
24
+ new (input: UpdateClusterCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateClusterCommandInput, UpdateClusterCommandOutput, DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Modifies a Elastic DocumentDB cluster. This includes updating admin-username/password,
@@ -100,23 +103,5 @@ export interface UpdateClusterCommandOutput extends UpdateClusterOutput, __Metad
100
103
  * <p>Base exception class for all service exceptions from DocDBElastic service.</p>
101
104
  *
102
105
  */
103
- export declare class UpdateClusterCommand extends $Command<UpdateClusterCommandInput, UpdateClusterCommandOutput, DocDBElasticClientResolvedConfig> {
104
- readonly input: UpdateClusterCommandInput;
105
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
106
- /**
107
- * @public
108
- */
109
- constructor(input: UpdateClusterCommandInput);
110
- /**
111
- * @internal
112
- */
113
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DocDBElasticClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateClusterCommandInput, UpdateClusterCommandOutput>;
114
- /**
115
- * @internal
116
- */
117
- private serialize;
118
- /**
119
- * @internal
120
- */
121
- private deserialize;
106
+ export declare class UpdateClusterCommand extends UpdateClusterCommand_base {
122
107
  }
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
14
14
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
15
  defaultSigningName: string;
16
16
  };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
17
35
  export interface EndpointParameters extends __EndpointParameters {
18
36
  Region?: string;
19
37
  UseDualStack?: boolean;
@@ -4,4 +4,4 @@ import { DocDBElasticPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListClusterSnapshots(config: DocDBElasticPaginationConfiguration, input: ListClusterSnapshotsCommandInput, ...additionalArguments: any): Paginator<ListClusterSnapshotsCommandOutput>;
7
+ export declare const paginateListClusterSnapshots: (config: DocDBElasticPaginationConfiguration, input: ListClusterSnapshotsCommandInput, ...rest: any[]) => Paginator<ListClusterSnapshotsCommandOutput>;
@@ -4,4 +4,4 @@ import { DocDBElasticPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListClusters(config: DocDBElasticPaginationConfiguration, input: ListClustersCommandInput, ...additionalArguments: any): Paginator<ListClustersCommandOutput>;
7
+ export declare const paginateListClusters: (config: DocDBElasticPaginationConfiguration, input: ListClustersCommandInput, ...rest: any[]) => Paginator<ListClustersCommandOutput>;