@aws-sdk/client-docdb-elastic 3.928.0 → 3.930.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 (43) hide show
  1. package/dist-cjs/index.js +729 -830
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/DocDBElasticClient.js +2 -0
  4. package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +3 -9
  5. package/dist-es/commands/CopyClusterSnapshotCommand.js +3 -9
  6. package/dist-es/commands/CreateClusterCommand.js +3 -10
  7. package/dist-es/commands/CreateClusterSnapshotCommand.js +3 -9
  8. package/dist-es/commands/DeleteClusterCommand.js +3 -9
  9. package/dist-es/commands/DeleteClusterSnapshotCommand.js +3 -9
  10. package/dist-es/commands/GetClusterCommand.js +3 -9
  11. package/dist-es/commands/GetClusterSnapshotCommand.js +3 -9
  12. package/dist-es/commands/GetPendingMaintenanceActionCommand.js +3 -9
  13. package/dist-es/commands/ListClusterSnapshotsCommand.js +3 -9
  14. package/dist-es/commands/ListClustersCommand.js +3 -9
  15. package/dist-es/commands/ListPendingMaintenanceActionsCommand.js +3 -9
  16. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  17. package/dist-es/commands/RestoreClusterFromSnapshotCommand.js +3 -9
  18. package/dist-es/commands/StartClusterCommand.js +3 -9
  19. package/dist-es/commands/StopClusterCommand.js +3 -9
  20. package/dist-es/commands/TagResourceCommand.js +3 -9
  21. package/dist-es/commands/UntagResourceCommand.js +3 -9
  22. package/dist-es/commands/UpdateClusterCommand.js +3 -10
  23. package/dist-es/models/models_0.js +0 -9
  24. package/dist-es/runtimeConfig.shared.js +2 -0
  25. package/dist-es/schemas/schemas_0.js +677 -0
  26. package/dist-types/DocDBElasticClient.d.ts +10 -1
  27. package/dist-types/models/models_0.d.ts +0 -8
  28. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  29. package/dist-types/runtimeConfig.d.ts +1 -0
  30. package/dist-types/runtimeConfig.native.d.ts +1 -0
  31. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  32. package/dist-types/schemas/schemas_0.d.ts +84 -0
  33. package/dist-types/ts3.4/DocDBElasticClient.d.ts +4 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +0 -6
  35. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  36. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  37. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  38. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +90 -0
  40. package/package.json +33 -34
  41. package/dist-es/protocols/Aws_restJson1.js +0 -673
  42. package/dist-types/protocols/Aws_restJson1.d.ts +0 -173
  43. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -233
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.docdbelastic" }),
28
30
  serviceId: config?.serviceId ?? "DocDB Elastic",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class DocDBElasticClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ApplyPendingMaintenanceActionCommand, se_ApplyPendingMaintenanceActionCommand, } from "../protocols/Aws_restJson1";
4
+ import { ApplyPendingMaintenanceAction } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ApplyPendingMaintenanceActionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ChimeraDbLionfishServiceLambda", "ApplyPendingMaintenanceAction", {})
17
13
  .n("DocDBElasticClient", "ApplyPendingMaintenanceActionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ApplyPendingMaintenanceActionCommand)
20
- .de(de_ApplyPendingMaintenanceActionCommand)
14
+ .sc(ApplyPendingMaintenanceAction)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CopyClusterSnapshotCommand, se_CopyClusterSnapshotCommand } from "../protocols/Aws_restJson1";
4
+ import { CopyClusterSnapshot } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CopyClusterSnapshotCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ChimeraDbLionfishServiceLambda", "CopyClusterSnapshot", {})
17
13
  .n("DocDBElasticClient", "CopyClusterSnapshotCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CopyClusterSnapshotCommand)
20
- .de(de_CopyClusterSnapshotCommand)
14
+ .sc(CopyClusterSnapshot)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateClusterInputFilterSensitiveLog } from "../models/models_0";
6
- import { de_CreateClusterCommand, se_CreateClusterCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateCluster } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateClusterCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("ChimeraDbLionfishServiceLambda", "CreateCluster", {})
18
13
  .n("DocDBElasticClient", "CreateClusterCommand")
19
- .f(CreateClusterInputFilterSensitiveLog, void 0)
20
- .ser(se_CreateClusterCommand)
21
- .de(de_CreateClusterCommand)
14
+ .sc(CreateCluster)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateClusterSnapshotCommand, se_CreateClusterSnapshotCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateClusterSnapshot } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateClusterSnapshotCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ChimeraDbLionfishServiceLambda", "CreateClusterSnapshot", {})
17
13
  .n("DocDBElasticClient", "CreateClusterSnapshotCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateClusterSnapshotCommand)
20
- .de(de_CreateClusterSnapshotCommand)
14
+ .sc(CreateClusterSnapshot)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteClusterCommand, se_DeleteClusterCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteCluster } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteClusterCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ChimeraDbLionfishServiceLambda", "DeleteCluster", {})
17
13
  .n("DocDBElasticClient", "DeleteClusterCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteClusterCommand)
20
- .de(de_DeleteClusterCommand)
14
+ .sc(DeleteCluster)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteClusterSnapshotCommand, se_DeleteClusterSnapshotCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteClusterSnapshot } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteClusterSnapshotCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ChimeraDbLionfishServiceLambda", "DeleteClusterSnapshot", {})
17
13
  .n("DocDBElasticClient", "DeleteClusterSnapshotCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteClusterSnapshotCommand)
20
- .de(de_DeleteClusterSnapshotCommand)
14
+ .sc(DeleteClusterSnapshot)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetClusterCommand, se_GetClusterCommand } from "../protocols/Aws_restJson1";
4
+ import { GetCluster } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetClusterCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ChimeraDbLionfishServiceLambda", "GetCluster", {})
17
13
  .n("DocDBElasticClient", "GetClusterCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetClusterCommand)
20
- .de(de_GetClusterCommand)
14
+ .sc(GetCluster)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetClusterSnapshotCommand, se_GetClusterSnapshotCommand } from "../protocols/Aws_restJson1";
4
+ import { GetClusterSnapshot } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetClusterSnapshotCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ChimeraDbLionfishServiceLambda", "GetClusterSnapshot", {})
17
13
  .n("DocDBElasticClient", "GetClusterSnapshotCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetClusterSnapshotCommand)
20
- .de(de_GetClusterSnapshotCommand)
14
+ .sc(GetClusterSnapshot)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetPendingMaintenanceActionCommand, se_GetPendingMaintenanceActionCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetPendingMaintenanceAction } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetPendingMaintenanceActionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ChimeraDbLionfishServiceLambda", "GetPendingMaintenanceAction", {})
17
13
  .n("DocDBElasticClient", "GetPendingMaintenanceActionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetPendingMaintenanceActionCommand)
20
- .de(de_GetPendingMaintenanceActionCommand)
14
+ .sc(GetPendingMaintenanceAction)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListClusterSnapshotsCommand, se_ListClusterSnapshotsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListClusterSnapshots } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListClusterSnapshotsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ChimeraDbLionfishServiceLambda", "ListClusterSnapshots", {})
17
13
  .n("DocDBElasticClient", "ListClusterSnapshotsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListClusterSnapshotsCommand)
20
- .de(de_ListClusterSnapshotsCommand)
14
+ .sc(ListClusterSnapshots)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListClustersCommand, se_ListClustersCommand } from "../protocols/Aws_restJson1";
4
+ import { ListClusters } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListClustersCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ChimeraDbLionfishServiceLambda", "ListClusters", {})
17
13
  .n("DocDBElasticClient", "ListClustersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListClustersCommand)
20
- .de(de_ListClustersCommand)
14
+ .sc(ListClusters)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListPendingMaintenanceActionsCommand, se_ListPendingMaintenanceActionsCommand, } from "../protocols/Aws_restJson1";
4
+ import { ListPendingMaintenanceActions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPendingMaintenanceActionsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ChimeraDbLionfishServiceLambda", "ListPendingMaintenanceActions", {})
17
13
  .n("DocDBElasticClient", "ListPendingMaintenanceActionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPendingMaintenanceActionsCommand)
20
- .de(de_ListPendingMaintenanceActionsCommand)
14
+ .sc(ListPendingMaintenanceActions)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ChimeraDbLionfishServiceLambda", "ListTagsForResource", {})
17
13
  .n("DocDBElasticClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RestoreClusterFromSnapshotCommand, se_RestoreClusterFromSnapshotCommand } from "../protocols/Aws_restJson1";
4
+ import { RestoreClusterFromSnapshot } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RestoreClusterFromSnapshotCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ChimeraDbLionfishServiceLambda", "RestoreClusterFromSnapshot", {})
17
13
  .n("DocDBElasticClient", "RestoreClusterFromSnapshotCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RestoreClusterFromSnapshotCommand)
20
- .de(de_RestoreClusterFromSnapshotCommand)
14
+ .sc(RestoreClusterFromSnapshot)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartClusterCommand, se_StartClusterCommand } from "../protocols/Aws_restJson1";
4
+ import { StartCluster } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartClusterCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ChimeraDbLionfishServiceLambda", "StartCluster", {})
17
13
  .n("DocDBElasticClient", "StartClusterCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartClusterCommand)
20
- .de(de_StartClusterCommand)
14
+ .sc(StartCluster)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StopClusterCommand, se_StopClusterCommand } from "../protocols/Aws_restJson1";
4
+ import { StopCluster } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopClusterCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ChimeraDbLionfishServiceLambda", "StopCluster", {})
17
13
  .n("DocDBElasticClient", "StopClusterCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StopClusterCommand)
20
- .de(de_StopClusterCommand)
14
+ .sc(StopCluster)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ChimeraDbLionfishServiceLambda", "TagResource", {})
17
13
  .n("DocDBElasticClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ChimeraDbLionfishServiceLambda", "UntagResource", {})
17
13
  .n("DocDBElasticClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UpdateClusterInputFilterSensitiveLog } from "../models/models_0";
6
- import { de_UpdateClusterCommand, se_UpdateClusterCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateCluster } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateClusterCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("ChimeraDbLionfishServiceLambda", "UpdateCluster", {})
18
13
  .n("DocDBElasticClient", "UpdateClusterCommand")
19
- .f(UpdateClusterInputFilterSensitiveLog, void 0)
20
- .ser(se_UpdateClusterCommand)
21
- .de(de_UpdateClusterCommand)
14
+ .sc(UpdateCluster)
22
15
  .build() {
23
16
  }
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { DocDBElasticServiceException as __BaseException } from "./DocDBElasticServiceException";
3
2
  export class AccessDeniedException extends __BaseException {
4
3
  name = "AccessDeniedException";
@@ -143,11 +142,3 @@ export class ServiceQuotaExceededException extends __BaseException {
143
142
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
144
143
  }
145
144
  }
146
- export const CreateClusterInputFilterSensitiveLog = (obj) => ({
147
- ...obj,
148
- ...(obj.adminUserPassword && { adminUserPassword: SENSITIVE_STRING }),
149
- });
150
- export const UpdateClusterInputFilterSensitiveLog = (obj) => ({
151
- ...obj,
152
- ...(obj.adminUserPassword && { adminUserPassword: SENSITIVE_STRING }),
153
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.docdbelastic" }),
25
27
  serviceId: config?.serviceId ?? "DocDB Elastic",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,