@aws-sdk/client-route53-recovery-control-config 3.1077.0 → 3.1079.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 (83) hide show
  1. package/dist-cjs/index.js +33 -253
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateClusterCommand.js +2 -14
  4. package/dist-es/commands/CreateControlPanelCommand.js +2 -14
  5. package/dist-es/commands/CreateRoutingControlCommand.js +2 -14
  6. package/dist-es/commands/CreateSafetyRuleCommand.js +2 -14
  7. package/dist-es/commands/DeleteClusterCommand.js +2 -14
  8. package/dist-es/commands/DeleteControlPanelCommand.js +2 -14
  9. package/dist-es/commands/DeleteRoutingControlCommand.js +2 -14
  10. package/dist-es/commands/DeleteSafetyRuleCommand.js +2 -14
  11. package/dist-es/commands/DescribeClusterCommand.js +2 -14
  12. package/dist-es/commands/DescribeControlPanelCommand.js +2 -14
  13. package/dist-es/commands/DescribeRoutingControlCommand.js +2 -14
  14. package/dist-es/commands/DescribeSafetyRuleCommand.js +2 -14
  15. package/dist-es/commands/GetResourcePolicyCommand.js +2 -14
  16. package/dist-es/commands/ListAssociatedRoute53HealthChecksCommand.js +2 -14
  17. package/dist-es/commands/ListClustersCommand.js +2 -14
  18. package/dist-es/commands/ListControlPanelsCommand.js +2 -14
  19. package/dist-es/commands/ListRoutingControlsCommand.js +2 -14
  20. package/dist-es/commands/ListSafetyRulesCommand.js +2 -14
  21. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  22. package/dist-es/commands/TagResourceCommand.js +2 -14
  23. package/dist-es/commands/UntagResourceCommand.js +2 -14
  24. package/dist-es/commands/UpdateClusterCommand.js +2 -14
  25. package/dist-es/commands/UpdateControlPanelCommand.js +2 -14
  26. package/dist-es/commands/UpdateRoutingControlCommand.js +2 -14
  27. package/dist-es/commands/UpdateSafetyRuleCommand.js +2 -14
  28. package/dist-es/index.js +1 -0
  29. package/dist-types/commandBuilder.d.ts +18 -0
  30. package/dist-types/commands/CreateClusterCommand.d.ts +3 -8
  31. package/dist-types/commands/CreateControlPanelCommand.d.ts +3 -8
  32. package/dist-types/commands/CreateRoutingControlCommand.d.ts +3 -8
  33. package/dist-types/commands/CreateSafetyRuleCommand.d.ts +3 -8
  34. package/dist-types/commands/DeleteClusterCommand.d.ts +3 -8
  35. package/dist-types/commands/DeleteControlPanelCommand.d.ts +3 -8
  36. package/dist-types/commands/DeleteRoutingControlCommand.d.ts +3 -8
  37. package/dist-types/commands/DeleteSafetyRuleCommand.d.ts +3 -8
  38. package/dist-types/commands/DescribeClusterCommand.d.ts +3 -8
  39. package/dist-types/commands/DescribeControlPanelCommand.d.ts +3 -8
  40. package/dist-types/commands/DescribeRoutingControlCommand.d.ts +3 -8
  41. package/dist-types/commands/DescribeSafetyRuleCommand.d.ts +3 -8
  42. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  43. package/dist-types/commands/ListAssociatedRoute53HealthChecksCommand.d.ts +3 -8
  44. package/dist-types/commands/ListClustersCommand.d.ts +3 -8
  45. package/dist-types/commands/ListControlPanelsCommand.d.ts +3 -8
  46. package/dist-types/commands/ListRoutingControlsCommand.d.ts +3 -8
  47. package/dist-types/commands/ListSafetyRulesCommand.d.ts +3 -8
  48. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  49. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  50. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  51. package/dist-types/commands/UpdateClusterCommand.d.ts +3 -8
  52. package/dist-types/commands/UpdateControlPanelCommand.d.ts +3 -8
  53. package/dist-types/commands/UpdateRoutingControlCommand.d.ts +3 -8
  54. package/dist-types/commands/UpdateSafetyRuleCommand.d.ts +3 -8
  55. package/dist-types/index.d.ts +1 -0
  56. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  57. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/CreateControlPanelCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/CreateRoutingControlCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/CreateSafetyRuleCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/DeleteControlPanelCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/DeleteRoutingControlCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/DeleteSafetyRuleCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/DescribeControlPanelCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/DescribeRoutingControlCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/DescribeSafetyRuleCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/ListAssociatedRoute53HealthChecksCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/ListControlPanelsCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/ListRoutingControlsCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/ListSafetyRulesCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/UpdateControlPanelCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/UpdateRoutingControlCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/UpdateSafetyRuleCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/index.d.ts +1 -0
  83. package/package.json +8 -8
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, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, 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");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -985,304 +986,83 @@ class Route53RecoveryControlConfigClient extends Client {
985
986
  }
986
987
  }
987
988
 
988
- class CreateClusterCommand extends Command
989
- .classBuilder()
990
- .ep(commonParams)
991
- .m(function (Command, cs, config, o) {
992
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
993
- })
994
- .s("Route53RecoveryControlConfig", "CreateCluster", {})
995
- .n("Route53RecoveryControlConfigClient", "CreateClusterCommand")
996
- .sc(CreateCluster$)
997
- .build() {
989
+ const command = makeBuilder(commonParams, "Route53RecoveryControlConfig", "Route53RecoveryControlConfigClient", getEndpointPlugin);
990
+ const _ep0 = {};
991
+ const _mw0 = (Command, cs, config, o) => [];
992
+
993
+ class CreateClusterCommand extends command(_ep0, _mw0, "CreateCluster", CreateCluster$) {
998
994
  }
999
995
 
1000
- class CreateControlPanelCommand extends Command
1001
- .classBuilder()
1002
- .ep(commonParams)
1003
- .m(function (Command, cs, config, o) {
1004
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1005
- })
1006
- .s("Route53RecoveryControlConfig", "CreateControlPanel", {})
1007
- .n("Route53RecoveryControlConfigClient", "CreateControlPanelCommand")
1008
- .sc(CreateControlPanel$)
1009
- .build() {
996
+ class CreateControlPanelCommand extends command(_ep0, _mw0, "CreateControlPanel", CreateControlPanel$) {
1010
997
  }
1011
998
 
1012
- class CreateRoutingControlCommand extends Command
1013
- .classBuilder()
1014
- .ep(commonParams)
1015
- .m(function (Command, cs, config, o) {
1016
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1017
- })
1018
- .s("Route53RecoveryControlConfig", "CreateRoutingControl", {})
1019
- .n("Route53RecoveryControlConfigClient", "CreateRoutingControlCommand")
1020
- .sc(CreateRoutingControl$)
1021
- .build() {
999
+ class CreateRoutingControlCommand extends command(_ep0, _mw0, "CreateRoutingControl", CreateRoutingControl$) {
1022
1000
  }
1023
1001
 
1024
- class CreateSafetyRuleCommand extends Command
1025
- .classBuilder()
1026
- .ep(commonParams)
1027
- .m(function (Command, cs, config, o) {
1028
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1029
- })
1030
- .s("Route53RecoveryControlConfig", "CreateSafetyRule", {})
1031
- .n("Route53RecoveryControlConfigClient", "CreateSafetyRuleCommand")
1032
- .sc(CreateSafetyRule$)
1033
- .build() {
1002
+ class CreateSafetyRuleCommand extends command(_ep0, _mw0, "CreateSafetyRule", CreateSafetyRule$) {
1034
1003
  }
1035
1004
 
1036
- class DeleteClusterCommand extends Command
1037
- .classBuilder()
1038
- .ep(commonParams)
1039
- .m(function (Command, cs, config, o) {
1040
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1041
- })
1042
- .s("Route53RecoveryControlConfig", "DeleteCluster", {})
1043
- .n("Route53RecoveryControlConfigClient", "DeleteClusterCommand")
1044
- .sc(DeleteCluster$)
1045
- .build() {
1005
+ class DeleteClusterCommand extends command(_ep0, _mw0, "DeleteCluster", DeleteCluster$) {
1046
1006
  }
1047
1007
 
1048
- class DeleteControlPanelCommand extends Command
1049
- .classBuilder()
1050
- .ep(commonParams)
1051
- .m(function (Command, cs, config, o) {
1052
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1053
- })
1054
- .s("Route53RecoveryControlConfig", "DeleteControlPanel", {})
1055
- .n("Route53RecoveryControlConfigClient", "DeleteControlPanelCommand")
1056
- .sc(DeleteControlPanel$)
1057
- .build() {
1008
+ class DeleteControlPanelCommand extends command(_ep0, _mw0, "DeleteControlPanel", DeleteControlPanel$) {
1058
1009
  }
1059
1010
 
1060
- class DeleteRoutingControlCommand extends Command
1061
- .classBuilder()
1062
- .ep(commonParams)
1063
- .m(function (Command, cs, config, o) {
1064
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1065
- })
1066
- .s("Route53RecoveryControlConfig", "DeleteRoutingControl", {})
1067
- .n("Route53RecoveryControlConfigClient", "DeleteRoutingControlCommand")
1068
- .sc(DeleteRoutingControl$)
1069
- .build() {
1011
+ class DeleteRoutingControlCommand extends command(_ep0, _mw0, "DeleteRoutingControl", DeleteRoutingControl$) {
1070
1012
  }
1071
1013
 
1072
- class DeleteSafetyRuleCommand extends Command
1073
- .classBuilder()
1074
- .ep(commonParams)
1075
- .m(function (Command, cs, config, o) {
1076
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1077
- })
1078
- .s("Route53RecoveryControlConfig", "DeleteSafetyRule", {})
1079
- .n("Route53RecoveryControlConfigClient", "DeleteSafetyRuleCommand")
1080
- .sc(DeleteSafetyRule$)
1081
- .build() {
1014
+ class DeleteSafetyRuleCommand extends command(_ep0, _mw0, "DeleteSafetyRule", DeleteSafetyRule$) {
1082
1015
  }
1083
1016
 
1084
- class DescribeClusterCommand extends Command
1085
- .classBuilder()
1086
- .ep(commonParams)
1087
- .m(function (Command, cs, config, o) {
1088
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1089
- })
1090
- .s("Route53RecoveryControlConfig", "DescribeCluster", {})
1091
- .n("Route53RecoveryControlConfigClient", "DescribeClusterCommand")
1092
- .sc(DescribeCluster$)
1093
- .build() {
1017
+ class DescribeClusterCommand extends command(_ep0, _mw0, "DescribeCluster", DescribeCluster$) {
1094
1018
  }
1095
1019
 
1096
- class DescribeControlPanelCommand extends Command
1097
- .classBuilder()
1098
- .ep(commonParams)
1099
- .m(function (Command, cs, config, o) {
1100
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1101
- })
1102
- .s("Route53RecoveryControlConfig", "DescribeControlPanel", {})
1103
- .n("Route53RecoveryControlConfigClient", "DescribeControlPanelCommand")
1104
- .sc(DescribeControlPanel$)
1105
- .build() {
1020
+ class DescribeControlPanelCommand extends command(_ep0, _mw0, "DescribeControlPanel", DescribeControlPanel$) {
1106
1021
  }
1107
1022
 
1108
- class DescribeRoutingControlCommand extends Command
1109
- .classBuilder()
1110
- .ep(commonParams)
1111
- .m(function (Command, cs, config, o) {
1112
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1113
- })
1114
- .s("Route53RecoveryControlConfig", "DescribeRoutingControl", {})
1115
- .n("Route53RecoveryControlConfigClient", "DescribeRoutingControlCommand")
1116
- .sc(DescribeRoutingControl$)
1117
- .build() {
1023
+ class DescribeRoutingControlCommand extends command(_ep0, _mw0, "DescribeRoutingControl", DescribeRoutingControl$) {
1118
1024
  }
1119
1025
 
1120
- class DescribeSafetyRuleCommand extends Command
1121
- .classBuilder()
1122
- .ep(commonParams)
1123
- .m(function (Command, cs, config, o) {
1124
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1125
- })
1126
- .s("Route53RecoveryControlConfig", "DescribeSafetyRule", {})
1127
- .n("Route53RecoveryControlConfigClient", "DescribeSafetyRuleCommand")
1128
- .sc(DescribeSafetyRule$)
1129
- .build() {
1026
+ class DescribeSafetyRuleCommand extends command(_ep0, _mw0, "DescribeSafetyRule", DescribeSafetyRule$) {
1130
1027
  }
1131
1028
 
1132
- class GetResourcePolicyCommand extends Command
1133
- .classBuilder()
1134
- .ep(commonParams)
1135
- .m(function (Command, cs, config, o) {
1136
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1137
- })
1138
- .s("Route53RecoveryControlConfig", "GetResourcePolicy", {})
1139
- .n("Route53RecoveryControlConfigClient", "GetResourcePolicyCommand")
1140
- .sc(GetResourcePolicy$)
1141
- .build() {
1029
+ class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
1142
1030
  }
1143
1031
 
1144
- class ListAssociatedRoute53HealthChecksCommand extends Command
1145
- .classBuilder()
1146
- .ep(commonParams)
1147
- .m(function (Command, cs, config, o) {
1148
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1149
- })
1150
- .s("Route53RecoveryControlConfig", "ListAssociatedRoute53HealthChecks", {})
1151
- .n("Route53RecoveryControlConfigClient", "ListAssociatedRoute53HealthChecksCommand")
1152
- .sc(ListAssociatedRoute53HealthChecks$)
1153
- .build() {
1032
+ class ListAssociatedRoute53HealthChecksCommand extends command(_ep0, _mw0, "ListAssociatedRoute53HealthChecks", ListAssociatedRoute53HealthChecks$) {
1154
1033
  }
1155
1034
 
1156
- class ListClustersCommand extends Command
1157
- .classBuilder()
1158
- .ep(commonParams)
1159
- .m(function (Command, cs, config, o) {
1160
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1161
- })
1162
- .s("Route53RecoveryControlConfig", "ListClusters", {})
1163
- .n("Route53RecoveryControlConfigClient", "ListClustersCommand")
1164
- .sc(ListClusters$)
1165
- .build() {
1035
+ class ListClustersCommand extends command(_ep0, _mw0, "ListClusters", ListClusters$) {
1166
1036
  }
1167
1037
 
1168
- class ListControlPanelsCommand extends Command
1169
- .classBuilder()
1170
- .ep(commonParams)
1171
- .m(function (Command, cs, config, o) {
1172
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1173
- })
1174
- .s("Route53RecoveryControlConfig", "ListControlPanels", {})
1175
- .n("Route53RecoveryControlConfigClient", "ListControlPanelsCommand")
1176
- .sc(ListControlPanels$)
1177
- .build() {
1038
+ class ListControlPanelsCommand extends command(_ep0, _mw0, "ListControlPanels", ListControlPanels$) {
1178
1039
  }
1179
1040
 
1180
- class ListRoutingControlsCommand extends Command
1181
- .classBuilder()
1182
- .ep(commonParams)
1183
- .m(function (Command, cs, config, o) {
1184
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1185
- })
1186
- .s("Route53RecoveryControlConfig", "ListRoutingControls", {})
1187
- .n("Route53RecoveryControlConfigClient", "ListRoutingControlsCommand")
1188
- .sc(ListRoutingControls$)
1189
- .build() {
1041
+ class ListRoutingControlsCommand extends command(_ep0, _mw0, "ListRoutingControls", ListRoutingControls$) {
1190
1042
  }
1191
1043
 
1192
- class ListSafetyRulesCommand extends Command
1193
- .classBuilder()
1194
- .ep(commonParams)
1195
- .m(function (Command, cs, config, o) {
1196
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1197
- })
1198
- .s("Route53RecoveryControlConfig", "ListSafetyRules", {})
1199
- .n("Route53RecoveryControlConfigClient", "ListSafetyRulesCommand")
1200
- .sc(ListSafetyRules$)
1201
- .build() {
1044
+ class ListSafetyRulesCommand extends command(_ep0, _mw0, "ListSafetyRules", ListSafetyRules$) {
1202
1045
  }
1203
1046
 
1204
- class ListTagsForResourceCommand extends Command
1205
- .classBuilder()
1206
- .ep(commonParams)
1207
- .m(function (Command, cs, config, o) {
1208
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1209
- })
1210
- .s("Route53RecoveryControlConfig", "ListTagsForResource", {})
1211
- .n("Route53RecoveryControlConfigClient", "ListTagsForResourceCommand")
1212
- .sc(ListTagsForResource$)
1213
- .build() {
1047
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1214
1048
  }
1215
1049
 
1216
- class TagResourceCommand extends Command
1217
- .classBuilder()
1218
- .ep(commonParams)
1219
- .m(function (Command, cs, config, o) {
1220
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1221
- })
1222
- .s("Route53RecoveryControlConfig", "TagResource", {})
1223
- .n("Route53RecoveryControlConfigClient", "TagResourceCommand")
1224
- .sc(TagResource$)
1225
- .build() {
1050
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1226
1051
  }
1227
1052
 
1228
- class UntagResourceCommand extends Command
1229
- .classBuilder()
1230
- .ep(commonParams)
1231
- .m(function (Command, cs, config, o) {
1232
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1233
- })
1234
- .s("Route53RecoveryControlConfig", "UntagResource", {})
1235
- .n("Route53RecoveryControlConfigClient", "UntagResourceCommand")
1236
- .sc(UntagResource$)
1237
- .build() {
1053
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1238
1054
  }
1239
1055
 
1240
- class UpdateClusterCommand extends Command
1241
- .classBuilder()
1242
- .ep(commonParams)
1243
- .m(function (Command, cs, config, o) {
1244
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1245
- })
1246
- .s("Route53RecoveryControlConfig", "UpdateCluster", {})
1247
- .n("Route53RecoveryControlConfigClient", "UpdateClusterCommand")
1248
- .sc(UpdateCluster$)
1249
- .build() {
1056
+ class UpdateClusterCommand extends command(_ep0, _mw0, "UpdateCluster", UpdateCluster$) {
1250
1057
  }
1251
1058
 
1252
- class UpdateControlPanelCommand extends Command
1253
- .classBuilder()
1254
- .ep(commonParams)
1255
- .m(function (Command, cs, config, o) {
1256
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1257
- })
1258
- .s("Route53RecoveryControlConfig", "UpdateControlPanel", {})
1259
- .n("Route53RecoveryControlConfigClient", "UpdateControlPanelCommand")
1260
- .sc(UpdateControlPanel$)
1261
- .build() {
1059
+ class UpdateControlPanelCommand extends command(_ep0, _mw0, "UpdateControlPanel", UpdateControlPanel$) {
1262
1060
  }
1263
1061
 
1264
- class UpdateRoutingControlCommand extends Command
1265
- .classBuilder()
1266
- .ep(commonParams)
1267
- .m(function (Command, cs, config, o) {
1268
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1269
- })
1270
- .s("Route53RecoveryControlConfig", "UpdateRoutingControl", {})
1271
- .n("Route53RecoveryControlConfigClient", "UpdateRoutingControlCommand")
1272
- .sc(UpdateRoutingControl$)
1273
- .build() {
1062
+ class UpdateRoutingControlCommand extends command(_ep0, _mw0, "UpdateRoutingControl", UpdateRoutingControl$) {
1274
1063
  }
1275
1064
 
1276
- class UpdateSafetyRuleCommand extends Command
1277
- .classBuilder()
1278
- .ep(commonParams)
1279
- .m(function (Command, cs, config, o) {
1280
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1281
- })
1282
- .s("Route53RecoveryControlConfig", "UpdateSafetyRule", {})
1283
- .n("Route53RecoveryControlConfigClient", "UpdateSafetyRuleCommand")
1284
- .sc(UpdateSafetyRule$)
1285
- .build() {
1065
+ class UpdateSafetyRuleCommand extends command(_ep0, _mw0, "UpdateSafetyRule", UpdateSafetyRule$) {
1286
1066
  }
1287
1067
 
1288
1068
  const paginateListAssociatedRoute53HealthChecks = createPaginator(Route53RecoveryControlConfigClient, ListAssociatedRoute53HealthChecksCommand, "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, "Route53RecoveryControlConfig", "Route53RecoveryControlConfigClient", 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 { 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("Route53RecoveryControlConfig", "CreateCluster", {})
13
- .n("Route53RecoveryControlConfigClient", "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 { CreateControlPanel$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateControlPanelCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53RecoveryControlConfig", "CreateControlPanel", {})
13
- .n("Route53RecoveryControlConfigClient", "CreateControlPanelCommand")
14
- .sc(CreateControlPanel$)
15
- .build() {
3
+ export class CreateControlPanelCommand extends command(_ep0, _mw0, "CreateControlPanel", CreateControlPanel$) {
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 { CreateRoutingControl$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateRoutingControlCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53RecoveryControlConfig", "CreateRoutingControl", {})
13
- .n("Route53RecoveryControlConfigClient", "CreateRoutingControlCommand")
14
- .sc(CreateRoutingControl$)
15
- .build() {
3
+ export class CreateRoutingControlCommand extends command(_ep0, _mw0, "CreateRoutingControl", CreateRoutingControl$) {
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 { CreateSafetyRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSafetyRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53RecoveryControlConfig", "CreateSafetyRule", {})
13
- .n("Route53RecoveryControlConfigClient", "CreateSafetyRuleCommand")
14
- .sc(CreateSafetyRule$)
15
- .build() {
3
+ export class CreateSafetyRuleCommand extends command(_ep0, _mw0, "CreateSafetyRule", CreateSafetyRule$) {
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("Route53RecoveryControlConfig", "DeleteCluster", {})
13
- .n("Route53RecoveryControlConfigClient", "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 { DeleteControlPanel$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteControlPanelCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53RecoveryControlConfig", "DeleteControlPanel", {})
13
- .n("Route53RecoveryControlConfigClient", "DeleteControlPanelCommand")
14
- .sc(DeleteControlPanel$)
15
- .build() {
3
+ export class DeleteControlPanelCommand extends command(_ep0, _mw0, "DeleteControlPanel", DeleteControlPanel$) {
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 { DeleteRoutingControl$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteRoutingControlCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53RecoveryControlConfig", "DeleteRoutingControl", {})
13
- .n("Route53RecoveryControlConfigClient", "DeleteRoutingControlCommand")
14
- .sc(DeleteRoutingControl$)
15
- .build() {
3
+ export class DeleteRoutingControlCommand extends command(_ep0, _mw0, "DeleteRoutingControl", DeleteRoutingControl$) {
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 { DeleteSafetyRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSafetyRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53RecoveryControlConfig", "DeleteSafetyRule", {})
13
- .n("Route53RecoveryControlConfigClient", "DeleteSafetyRuleCommand")
14
- .sc(DeleteSafetyRule$)
15
- .build() {
3
+ export class DeleteSafetyRuleCommand extends command(_ep0, _mw0, "DeleteSafetyRule", DeleteSafetyRule$) {
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 { DescribeCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53RecoveryControlConfig", "DescribeCluster", {})
13
- .n("Route53RecoveryControlConfigClient", "DescribeClusterCommand")
14
- .sc(DescribeCluster$)
15
- .build() {
3
+ export class DescribeClusterCommand extends command(_ep0, _mw0, "DescribeCluster", DescribeCluster$) {
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 { DescribeControlPanel$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeControlPanelCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53RecoveryControlConfig", "DescribeControlPanel", {})
13
- .n("Route53RecoveryControlConfigClient", "DescribeControlPanelCommand")
14
- .sc(DescribeControlPanel$)
15
- .build() {
3
+ export class DescribeControlPanelCommand extends command(_ep0, _mw0, "DescribeControlPanel", DescribeControlPanel$) {
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 { DescribeRoutingControl$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeRoutingControlCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53RecoveryControlConfig", "DescribeRoutingControl", {})
13
- .n("Route53RecoveryControlConfigClient", "DescribeRoutingControlCommand")
14
- .sc(DescribeRoutingControl$)
15
- .build() {
3
+ export class DescribeRoutingControlCommand extends command(_ep0, _mw0, "DescribeRoutingControl", DescribeRoutingControl$) {
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 { DescribeSafetyRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeSafetyRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53RecoveryControlConfig", "DescribeSafetyRule", {})
13
- .n("Route53RecoveryControlConfigClient", "DescribeSafetyRuleCommand")
14
- .sc(DescribeSafetyRule$)
15
- .build() {
3
+ export class DescribeSafetyRuleCommand extends command(_ep0, _mw0, "DescribeSafetyRule", DescribeSafetyRule$) {
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 { GetResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53RecoveryControlConfig", "GetResourcePolicy", {})
13
- .n("Route53RecoveryControlConfigClient", "GetResourcePolicyCommand")
14
- .sc(GetResourcePolicy$)
15
- .build() {
3
+ export class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
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 { ListAssociatedRoute53HealthChecks$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAssociatedRoute53HealthChecksCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53RecoveryControlConfig", "ListAssociatedRoute53HealthChecks", {})
13
- .n("Route53RecoveryControlConfigClient", "ListAssociatedRoute53HealthChecksCommand")
14
- .sc(ListAssociatedRoute53HealthChecks$)
15
- .build() {
3
+ export class ListAssociatedRoute53HealthChecksCommand extends command(_ep0, _mw0, "ListAssociatedRoute53HealthChecks", ListAssociatedRoute53HealthChecks$) {
16
4
  }