@aws-sdk/client-docdb-elastic 3.1076.0 → 3.1078.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 (77) hide show
  1. package/dist-cjs/index.js +30 -195
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +2 -14
  4. package/dist-es/commands/CopyClusterSnapshotCommand.js +2 -14
  5. package/dist-es/commands/CreateClusterCommand.js +2 -14
  6. package/dist-es/commands/CreateClusterSnapshotCommand.js +2 -14
  7. package/dist-es/commands/DeleteClusterCommand.js +2 -14
  8. package/dist-es/commands/DeleteClusterSnapshotCommand.js +2 -14
  9. package/dist-es/commands/GetClusterCommand.js +2 -14
  10. package/dist-es/commands/GetClusterSnapshotCommand.js +2 -14
  11. package/dist-es/commands/GetPendingMaintenanceActionCommand.js +2 -14
  12. package/dist-es/commands/ListClusterSnapshotsCommand.js +2 -14
  13. package/dist-es/commands/ListClustersCommand.js +2 -14
  14. package/dist-es/commands/ListPendingMaintenanceActionsCommand.js +2 -14
  15. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  16. package/dist-es/commands/RestoreClusterFromSnapshotCommand.js +2 -14
  17. package/dist-es/commands/StartClusterCommand.js +2 -14
  18. package/dist-es/commands/StopClusterCommand.js +2 -14
  19. package/dist-es/commands/TagResourceCommand.js +2 -14
  20. package/dist-es/commands/UntagResourceCommand.js +2 -14
  21. package/dist-es/commands/UpdateClusterCommand.js +2 -14
  22. package/dist-es/index.js +1 -0
  23. package/dist-es/runtimeConfig.browser.js +0 -2
  24. package/dist-es/runtimeConfig.js +1 -2
  25. package/dist-es/runtimeConfig.native.js +0 -2
  26. package/dist-es/runtimeConfig.shared.js +2 -0
  27. package/dist-types/commandBuilder.d.ts +18 -0
  28. package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +3 -8
  29. package/dist-types/commands/CopyClusterSnapshotCommand.d.ts +3 -8
  30. package/dist-types/commands/CreateClusterCommand.d.ts +3 -8
  31. package/dist-types/commands/CreateClusterSnapshotCommand.d.ts +3 -8
  32. package/dist-types/commands/DeleteClusterCommand.d.ts +3 -8
  33. package/dist-types/commands/DeleteClusterSnapshotCommand.d.ts +3 -8
  34. package/dist-types/commands/GetClusterCommand.d.ts +3 -8
  35. package/dist-types/commands/GetClusterSnapshotCommand.d.ts +3 -8
  36. package/dist-types/commands/GetPendingMaintenanceActionCommand.d.ts +3 -8
  37. package/dist-types/commands/ListClusterSnapshotsCommand.d.ts +3 -8
  38. package/dist-types/commands/ListClustersCommand.d.ts +3 -8
  39. package/dist-types/commands/ListPendingMaintenanceActionsCommand.d.ts +3 -8
  40. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  41. package/dist-types/commands/RestoreClusterFromSnapshotCommand.d.ts +3 -8
  42. package/dist-types/commands/StartClusterCommand.d.ts +3 -8
  43. package/dist-types/commands/StopClusterCommand.d.ts +3 -8
  44. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  45. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  46. package/dist-types/commands/UpdateClusterCommand.d.ts +3 -8
  47. package/dist-types/index.d.ts +1 -0
  48. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  49. package/dist-types/runtimeConfig.d.ts +1 -1
  50. package/dist-types/runtimeConfig.native.d.ts +1 -1
  51. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  52. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  53. package/dist-types/ts3.4/commands/ApplyPendingMaintenanceActionCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/CopyClusterSnapshotCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/CreateClusterSnapshotCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/DeleteClusterSnapshotCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/GetClusterCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/GetClusterSnapshotCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/GetPendingMaintenanceActionCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/ListClusterSnapshotsCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/ListPendingMaintenanceActionsCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/RestoreClusterFromSnapshotCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/StartClusterCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/StopClusterCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/index.d.ts +1 -0
  73. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  74. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  75. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  76. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  77. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultDocDBElasticHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -763,6 +765,7 @@ const getRuntimeConfig$1 = (config) => {
763
765
  serviceTarget: "ChimeraDbLionfishServiceLambda",
764
766
  },
765
767
  serviceId: config?.serviceId ?? "DocDB Elastic",
768
+ sha256: config?.sha256 ?? Sha256,
766
769
  urlParser: config?.urlParser ?? parseUrl,
767
770
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
768
771
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -796,7 +799,6 @@ const getRuntimeConfig = (config) => {
796
799
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
797
800
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
798
801
  }, config),
799
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
800
802
  streamCollector: config?.streamCollector ?? streamCollector,
801
803
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
802
804
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -884,232 +886,65 @@ class DocDBElasticClient extends Client {
884
886
  }
885
887
  }
886
888
 
887
- class ApplyPendingMaintenanceActionCommand extends Command
888
- .classBuilder()
889
- .ep(commonParams)
890
- .m(function (Command, cs, config, o) {
891
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
892
- })
893
- .s("ChimeraDbLionfishServiceLambda", "ApplyPendingMaintenanceAction", {})
894
- .n("DocDBElasticClient", "ApplyPendingMaintenanceActionCommand")
895
- .sc(ApplyPendingMaintenanceAction$)
896
- .build() {
889
+ const command = makeBuilder(commonParams, "ChimeraDbLionfishServiceLambda", "DocDBElasticClient", getEndpointPlugin);
890
+ const _ep0 = {};
891
+ const _mw0 = (Command, cs, config, o) => [];
892
+
893
+ class ApplyPendingMaintenanceActionCommand extends command(_ep0, _mw0, "ApplyPendingMaintenanceAction", ApplyPendingMaintenanceAction$) {
897
894
  }
898
895
 
899
- class CopyClusterSnapshotCommand extends Command
900
- .classBuilder()
901
- .ep(commonParams)
902
- .m(function (Command, cs, config, o) {
903
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
904
- })
905
- .s("ChimeraDbLionfishServiceLambda", "CopyClusterSnapshot", {})
906
- .n("DocDBElasticClient", "CopyClusterSnapshotCommand")
907
- .sc(CopyClusterSnapshot$)
908
- .build() {
896
+ class CopyClusterSnapshotCommand extends command(_ep0, _mw0, "CopyClusterSnapshot", CopyClusterSnapshot$) {
909
897
  }
910
898
 
911
- class CreateClusterCommand extends Command
912
- .classBuilder()
913
- .ep(commonParams)
914
- .m(function (Command, cs, config, o) {
915
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
916
- })
917
- .s("ChimeraDbLionfishServiceLambda", "CreateCluster", {})
918
- .n("DocDBElasticClient", "CreateClusterCommand")
919
- .sc(CreateCluster$)
920
- .build() {
899
+ class CreateClusterCommand extends command(_ep0, _mw0, "CreateCluster", CreateCluster$) {
921
900
  }
922
901
 
923
- class CreateClusterSnapshotCommand extends Command
924
- .classBuilder()
925
- .ep(commonParams)
926
- .m(function (Command, cs, config, o) {
927
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
928
- })
929
- .s("ChimeraDbLionfishServiceLambda", "CreateClusterSnapshot", {})
930
- .n("DocDBElasticClient", "CreateClusterSnapshotCommand")
931
- .sc(CreateClusterSnapshot$)
932
- .build() {
902
+ class CreateClusterSnapshotCommand extends command(_ep0, _mw0, "CreateClusterSnapshot", CreateClusterSnapshot$) {
933
903
  }
934
904
 
935
- class DeleteClusterCommand extends Command
936
- .classBuilder()
937
- .ep(commonParams)
938
- .m(function (Command, cs, config, o) {
939
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
940
- })
941
- .s("ChimeraDbLionfishServiceLambda", "DeleteCluster", {})
942
- .n("DocDBElasticClient", "DeleteClusterCommand")
943
- .sc(DeleteCluster$)
944
- .build() {
905
+ class DeleteClusterCommand extends command(_ep0, _mw0, "DeleteCluster", DeleteCluster$) {
945
906
  }
946
907
 
947
- class DeleteClusterSnapshotCommand extends Command
948
- .classBuilder()
949
- .ep(commonParams)
950
- .m(function (Command, cs, config, o) {
951
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
952
- })
953
- .s("ChimeraDbLionfishServiceLambda", "DeleteClusterSnapshot", {})
954
- .n("DocDBElasticClient", "DeleteClusterSnapshotCommand")
955
- .sc(DeleteClusterSnapshot$)
956
- .build() {
908
+ class DeleteClusterSnapshotCommand extends command(_ep0, _mw0, "DeleteClusterSnapshot", DeleteClusterSnapshot$) {
957
909
  }
958
910
 
959
- class GetClusterCommand extends Command
960
- .classBuilder()
961
- .ep(commonParams)
962
- .m(function (Command, cs, config, o) {
963
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
964
- })
965
- .s("ChimeraDbLionfishServiceLambda", "GetCluster", {})
966
- .n("DocDBElasticClient", "GetClusterCommand")
967
- .sc(GetCluster$)
968
- .build() {
911
+ class GetClusterCommand extends command(_ep0, _mw0, "GetCluster", GetCluster$) {
969
912
  }
970
913
 
971
- class GetClusterSnapshotCommand extends Command
972
- .classBuilder()
973
- .ep(commonParams)
974
- .m(function (Command, cs, config, o) {
975
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
976
- })
977
- .s("ChimeraDbLionfishServiceLambda", "GetClusterSnapshot", {})
978
- .n("DocDBElasticClient", "GetClusterSnapshotCommand")
979
- .sc(GetClusterSnapshot$)
980
- .build() {
914
+ class GetClusterSnapshotCommand extends command(_ep0, _mw0, "GetClusterSnapshot", GetClusterSnapshot$) {
981
915
  }
982
916
 
983
- class GetPendingMaintenanceActionCommand extends Command
984
- .classBuilder()
985
- .ep(commonParams)
986
- .m(function (Command, cs, config, o) {
987
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
988
- })
989
- .s("ChimeraDbLionfishServiceLambda", "GetPendingMaintenanceAction", {})
990
- .n("DocDBElasticClient", "GetPendingMaintenanceActionCommand")
991
- .sc(GetPendingMaintenanceAction$)
992
- .build() {
917
+ class GetPendingMaintenanceActionCommand extends command(_ep0, _mw0, "GetPendingMaintenanceAction", GetPendingMaintenanceAction$) {
993
918
  }
994
919
 
995
- class ListClustersCommand extends Command
996
- .classBuilder()
997
- .ep(commonParams)
998
- .m(function (Command, cs, config, o) {
999
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1000
- })
1001
- .s("ChimeraDbLionfishServiceLambda", "ListClusters", {})
1002
- .n("DocDBElasticClient", "ListClustersCommand")
1003
- .sc(ListClusters$)
1004
- .build() {
920
+ class ListClustersCommand extends command(_ep0, _mw0, "ListClusters", ListClusters$) {
1005
921
  }
1006
922
 
1007
- class ListClusterSnapshotsCommand extends Command
1008
- .classBuilder()
1009
- .ep(commonParams)
1010
- .m(function (Command, cs, config, o) {
1011
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1012
- })
1013
- .s("ChimeraDbLionfishServiceLambda", "ListClusterSnapshots", {})
1014
- .n("DocDBElasticClient", "ListClusterSnapshotsCommand")
1015
- .sc(ListClusterSnapshots$)
1016
- .build() {
923
+ class ListClusterSnapshotsCommand extends command(_ep0, _mw0, "ListClusterSnapshots", ListClusterSnapshots$) {
1017
924
  }
1018
925
 
1019
- class ListPendingMaintenanceActionsCommand extends Command
1020
- .classBuilder()
1021
- .ep(commonParams)
1022
- .m(function (Command, cs, config, o) {
1023
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1024
- })
1025
- .s("ChimeraDbLionfishServiceLambda", "ListPendingMaintenanceActions", {})
1026
- .n("DocDBElasticClient", "ListPendingMaintenanceActionsCommand")
1027
- .sc(ListPendingMaintenanceActions$)
1028
- .build() {
926
+ class ListPendingMaintenanceActionsCommand extends command(_ep0, _mw0, "ListPendingMaintenanceActions", ListPendingMaintenanceActions$) {
1029
927
  }
1030
928
 
1031
- class ListTagsForResourceCommand extends Command
1032
- .classBuilder()
1033
- .ep(commonParams)
1034
- .m(function (Command, cs, config, o) {
1035
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1036
- })
1037
- .s("ChimeraDbLionfishServiceLambda", "ListTagsForResource", {})
1038
- .n("DocDBElasticClient", "ListTagsForResourceCommand")
1039
- .sc(ListTagsForResource$)
1040
- .build() {
929
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1041
930
  }
1042
931
 
1043
- class RestoreClusterFromSnapshotCommand extends Command
1044
- .classBuilder()
1045
- .ep(commonParams)
1046
- .m(function (Command, cs, config, o) {
1047
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1048
- })
1049
- .s("ChimeraDbLionfishServiceLambda", "RestoreClusterFromSnapshot", {})
1050
- .n("DocDBElasticClient", "RestoreClusterFromSnapshotCommand")
1051
- .sc(RestoreClusterFromSnapshot$)
1052
- .build() {
932
+ class RestoreClusterFromSnapshotCommand extends command(_ep0, _mw0, "RestoreClusterFromSnapshot", RestoreClusterFromSnapshot$) {
1053
933
  }
1054
934
 
1055
- class StartClusterCommand extends Command
1056
- .classBuilder()
1057
- .ep(commonParams)
1058
- .m(function (Command, cs, config, o) {
1059
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1060
- })
1061
- .s("ChimeraDbLionfishServiceLambda", "StartCluster", {})
1062
- .n("DocDBElasticClient", "StartClusterCommand")
1063
- .sc(StartCluster$)
1064
- .build() {
935
+ class StartClusterCommand extends command(_ep0, _mw0, "StartCluster", StartCluster$) {
1065
936
  }
1066
937
 
1067
- class StopClusterCommand extends Command
1068
- .classBuilder()
1069
- .ep(commonParams)
1070
- .m(function (Command, cs, config, o) {
1071
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1072
- })
1073
- .s("ChimeraDbLionfishServiceLambda", "StopCluster", {})
1074
- .n("DocDBElasticClient", "StopClusterCommand")
1075
- .sc(StopCluster$)
1076
- .build() {
938
+ class StopClusterCommand extends command(_ep0, _mw0, "StopCluster", StopCluster$) {
1077
939
  }
1078
940
 
1079
- class TagResourceCommand extends Command
1080
- .classBuilder()
1081
- .ep(commonParams)
1082
- .m(function (Command, cs, config, o) {
1083
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1084
- })
1085
- .s("ChimeraDbLionfishServiceLambda", "TagResource", {})
1086
- .n("DocDBElasticClient", "TagResourceCommand")
1087
- .sc(TagResource$)
1088
- .build() {
941
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1089
942
  }
1090
943
 
1091
- class UntagResourceCommand extends Command
1092
- .classBuilder()
1093
- .ep(commonParams)
1094
- .m(function (Command, cs, config, o) {
1095
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1096
- })
1097
- .s("ChimeraDbLionfishServiceLambda", "UntagResource", {})
1098
- .n("DocDBElasticClient", "UntagResourceCommand")
1099
- .sc(UntagResource$)
1100
- .build() {
944
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1101
945
  }
1102
946
 
1103
- class UpdateClusterCommand extends Command
1104
- .classBuilder()
1105
- .ep(commonParams)
1106
- .m(function (Command, cs, config, o) {
1107
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1108
- })
1109
- .s("ChimeraDbLionfishServiceLambda", "UpdateCluster", {})
1110
- .n("DocDBElasticClient", "UpdateClusterCommand")
1111
- .sc(UpdateCluster$)
1112
- .build() {
947
+ class UpdateClusterCommand extends command(_ep0, _mw0, "UpdateCluster", UpdateCluster$) {
1113
948
  }
1114
949
 
1115
950
  const paginateListClusterSnapshots = createPaginator(DocDBElasticClient, ListClusterSnapshotsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "ChimeraDbLionfishServiceLambda", "DocDBElasticClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ApplyPendingMaintenanceAction$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ApplyPendingMaintenanceActionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeraDbLionfishServiceLambda", "ApplyPendingMaintenanceAction", {})
13
- .n("DocDBElasticClient", "ApplyPendingMaintenanceActionCommand")
14
- .sc(ApplyPendingMaintenanceAction$)
15
- .build() {
3
+ export class ApplyPendingMaintenanceActionCommand extends command(_ep0, _mw0, "ApplyPendingMaintenanceAction", ApplyPendingMaintenanceAction$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CopyClusterSnapshot$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CopyClusterSnapshotCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeraDbLionfishServiceLambda", "CopyClusterSnapshot", {})
13
- .n("DocDBElasticClient", "CopyClusterSnapshotCommand")
14
- .sc(CopyClusterSnapshot$)
15
- .build() {
3
+ export class CopyClusterSnapshotCommand extends command(_ep0, _mw0, "CopyClusterSnapshot", CopyClusterSnapshot$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeraDbLionfishServiceLambda", "CreateCluster", {})
13
- .n("DocDBElasticClient", "CreateClusterCommand")
14
- .sc(CreateCluster$)
15
- .build() {
3
+ export class CreateClusterCommand extends command(_ep0, _mw0, "CreateCluster", CreateCluster$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateClusterSnapshot$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateClusterSnapshotCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeraDbLionfishServiceLambda", "CreateClusterSnapshot", {})
13
- .n("DocDBElasticClient", "CreateClusterSnapshotCommand")
14
- .sc(CreateClusterSnapshot$)
15
- .build() {
3
+ export class CreateClusterSnapshotCommand extends command(_ep0, _mw0, "CreateClusterSnapshot", CreateClusterSnapshot$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeraDbLionfishServiceLambda", "DeleteCluster", {})
13
- .n("DocDBElasticClient", "DeleteClusterCommand")
14
- .sc(DeleteCluster$)
15
- .build() {
3
+ export class DeleteClusterCommand extends command(_ep0, _mw0, "DeleteCluster", DeleteCluster$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteClusterSnapshot$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteClusterSnapshotCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeraDbLionfishServiceLambda", "DeleteClusterSnapshot", {})
13
- .n("DocDBElasticClient", "DeleteClusterSnapshotCommand")
14
- .sc(DeleteClusterSnapshot$)
15
- .build() {
3
+ export class DeleteClusterSnapshotCommand extends command(_ep0, _mw0, "DeleteClusterSnapshot", DeleteClusterSnapshot$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeraDbLionfishServiceLambda", "GetCluster", {})
13
- .n("DocDBElasticClient", "GetClusterCommand")
14
- .sc(GetCluster$)
15
- .build() {
3
+ export class GetClusterCommand extends command(_ep0, _mw0, "GetCluster", GetCluster$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetClusterSnapshot$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetClusterSnapshotCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeraDbLionfishServiceLambda", "GetClusterSnapshot", {})
13
- .n("DocDBElasticClient", "GetClusterSnapshotCommand")
14
- .sc(GetClusterSnapshot$)
15
- .build() {
3
+ export class GetClusterSnapshotCommand extends command(_ep0, _mw0, "GetClusterSnapshot", GetClusterSnapshot$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetPendingMaintenanceAction$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetPendingMaintenanceActionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeraDbLionfishServiceLambda", "GetPendingMaintenanceAction", {})
13
- .n("DocDBElasticClient", "GetPendingMaintenanceActionCommand")
14
- .sc(GetPendingMaintenanceAction$)
15
- .build() {
3
+ export class GetPendingMaintenanceActionCommand extends command(_ep0, _mw0, "GetPendingMaintenanceAction", GetPendingMaintenanceAction$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListClusterSnapshots$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListClusterSnapshotsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeraDbLionfishServiceLambda", "ListClusterSnapshots", {})
13
- .n("DocDBElasticClient", "ListClusterSnapshotsCommand")
14
- .sc(ListClusterSnapshots$)
15
- .build() {
3
+ export class ListClusterSnapshotsCommand extends command(_ep0, _mw0, "ListClusterSnapshots", ListClusterSnapshots$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListClusters$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListClustersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeraDbLionfishServiceLambda", "ListClusters", {})
13
- .n("DocDBElasticClient", "ListClustersCommand")
14
- .sc(ListClusters$)
15
- .build() {
3
+ export class ListClustersCommand extends command(_ep0, _mw0, "ListClusters", ListClusters$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListPendingMaintenanceActions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPendingMaintenanceActionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeraDbLionfishServiceLambda", "ListPendingMaintenanceActions", {})
13
- .n("DocDBElasticClient", "ListPendingMaintenanceActionsCommand")
14
- .sc(ListPendingMaintenanceActions$)
15
- .build() {
3
+ export class ListPendingMaintenanceActionsCommand extends command(_ep0, _mw0, "ListPendingMaintenanceActions", ListPendingMaintenanceActions$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeraDbLionfishServiceLambda", "ListTagsForResource", {})
13
- .n("DocDBElasticClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RestoreClusterFromSnapshot$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RestoreClusterFromSnapshotCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeraDbLionfishServiceLambda", "RestoreClusterFromSnapshot", {})
13
- .n("DocDBElasticClient", "RestoreClusterFromSnapshotCommand")
14
- .sc(RestoreClusterFromSnapshot$)
15
- .build() {
3
+ export class RestoreClusterFromSnapshotCommand extends command(_ep0, _mw0, "RestoreClusterFromSnapshot", RestoreClusterFromSnapshot$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeraDbLionfishServiceLambda", "StartCluster", {})
13
- .n("DocDBElasticClient", "StartClusterCommand")
14
- .sc(StartCluster$)
15
- .build() {
3
+ export class StartClusterCommand extends command(_ep0, _mw0, "StartCluster", StartCluster$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StopCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StopClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeraDbLionfishServiceLambda", "StopCluster", {})
13
- .n("DocDBElasticClient", "StopClusterCommand")
14
- .sc(StopCluster$)
15
- .build() {
3
+ export class StopClusterCommand extends command(_ep0, _mw0, "StopCluster", StopCluster$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeraDbLionfishServiceLambda", "TagResource", {})
13
- .n("DocDBElasticClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }