@aws-sdk/client-route53-recovery-control-config 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 (95) hide show
  1. package/dist-cjs/index.js +36 -255
  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-es/runtimeConfig.browser.js +0 -2
  30. package/dist-es/runtimeConfig.js +1 -2
  31. package/dist-es/runtimeConfig.native.js +0 -2
  32. package/dist-es/runtimeConfig.shared.js +2 -0
  33. package/dist-types/commandBuilder.d.ts +18 -0
  34. package/dist-types/commands/CreateClusterCommand.d.ts +3 -8
  35. package/dist-types/commands/CreateControlPanelCommand.d.ts +3 -8
  36. package/dist-types/commands/CreateRoutingControlCommand.d.ts +3 -8
  37. package/dist-types/commands/CreateSafetyRuleCommand.d.ts +3 -8
  38. package/dist-types/commands/DeleteClusterCommand.d.ts +3 -8
  39. package/dist-types/commands/DeleteControlPanelCommand.d.ts +3 -8
  40. package/dist-types/commands/DeleteRoutingControlCommand.d.ts +3 -8
  41. package/dist-types/commands/DeleteSafetyRuleCommand.d.ts +3 -8
  42. package/dist-types/commands/DescribeClusterCommand.d.ts +3 -8
  43. package/dist-types/commands/DescribeControlPanelCommand.d.ts +3 -8
  44. package/dist-types/commands/DescribeRoutingControlCommand.d.ts +3 -8
  45. package/dist-types/commands/DescribeSafetyRuleCommand.d.ts +3 -8
  46. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  47. package/dist-types/commands/ListAssociatedRoute53HealthChecksCommand.d.ts +3 -8
  48. package/dist-types/commands/ListClustersCommand.d.ts +3 -8
  49. package/dist-types/commands/ListControlPanelsCommand.d.ts +3 -8
  50. package/dist-types/commands/ListRoutingControlsCommand.d.ts +3 -8
  51. package/dist-types/commands/ListSafetyRulesCommand.d.ts +3 -8
  52. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  53. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  54. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  55. package/dist-types/commands/UpdateClusterCommand.d.ts +3 -8
  56. package/dist-types/commands/UpdateControlPanelCommand.d.ts +3 -8
  57. package/dist-types/commands/UpdateRoutingControlCommand.d.ts +3 -8
  58. package/dist-types/commands/UpdateSafetyRuleCommand.d.ts +3 -8
  59. package/dist-types/index.d.ts +1 -0
  60. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  61. package/dist-types/runtimeConfig.d.ts +1 -1
  62. package/dist-types/runtimeConfig.native.d.ts +1 -1
  63. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  64. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  65. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/CreateControlPanelCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/CreateRoutingControlCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/CreateSafetyRuleCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/DeleteControlPanelCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/DeleteRoutingControlCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/DeleteSafetyRuleCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DescribeControlPanelCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/DescribeRoutingControlCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DescribeSafetyRuleCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/ListAssociatedRoute53HealthChecksCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/ListControlPanelsCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/ListRoutingControlsCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/ListSafetyRulesCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/UpdateControlPanelCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/UpdateRoutingControlCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/UpdateSafetyRuleCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/index.d.ts +1 -0
  91. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  92. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  93. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  94. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  95. 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, 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");
@@ -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 defaultRoute53RecoveryControlConfigHttpAuthSchemeParametersProvider = 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
 
@@ -863,6 +865,7 @@ const getRuntimeConfig$1 = (config) => {
863
865
  serviceTarget: "Route53RecoveryControlConfig",
864
866
  },
865
867
  serviceId: config?.serviceId ?? "Route53 Recovery Control Config",
868
+ sha256: config?.sha256 ?? Sha256,
866
869
  urlParser: config?.urlParser ?? parseUrl,
867
870
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
868
871
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -896,7 +899,6 @@ const getRuntimeConfig = (config) => {
896
899
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
897
900
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
898
901
  }, config),
899
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
900
902
  streamCollector: config?.streamCollector ?? streamCollector,
901
903
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
902
904
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -984,304 +986,83 @@ class Route53RecoveryControlConfigClient extends Client {
984
986
  }
985
987
  }
986
988
 
987
- class CreateClusterCommand extends Command
988
- .classBuilder()
989
- .ep(commonParams)
990
- .m(function (Command, cs, config, o) {
991
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
992
- })
993
- .s("Route53RecoveryControlConfig", "CreateCluster", {})
994
- .n("Route53RecoveryControlConfigClient", "CreateClusterCommand")
995
- .sc(CreateCluster$)
996
- .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$) {
997
994
  }
998
995
 
999
- class CreateControlPanelCommand extends Command
1000
- .classBuilder()
1001
- .ep(commonParams)
1002
- .m(function (Command, cs, config, o) {
1003
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1004
- })
1005
- .s("Route53RecoveryControlConfig", "CreateControlPanel", {})
1006
- .n("Route53RecoveryControlConfigClient", "CreateControlPanelCommand")
1007
- .sc(CreateControlPanel$)
1008
- .build() {
996
+ class CreateControlPanelCommand extends command(_ep0, _mw0, "CreateControlPanel", CreateControlPanel$) {
1009
997
  }
1010
998
 
1011
- class CreateRoutingControlCommand extends Command
1012
- .classBuilder()
1013
- .ep(commonParams)
1014
- .m(function (Command, cs, config, o) {
1015
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1016
- })
1017
- .s("Route53RecoveryControlConfig", "CreateRoutingControl", {})
1018
- .n("Route53RecoveryControlConfigClient", "CreateRoutingControlCommand")
1019
- .sc(CreateRoutingControl$)
1020
- .build() {
999
+ class CreateRoutingControlCommand extends command(_ep0, _mw0, "CreateRoutingControl", CreateRoutingControl$) {
1021
1000
  }
1022
1001
 
1023
- class CreateSafetyRuleCommand extends Command
1024
- .classBuilder()
1025
- .ep(commonParams)
1026
- .m(function (Command, cs, config, o) {
1027
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1028
- })
1029
- .s("Route53RecoveryControlConfig", "CreateSafetyRule", {})
1030
- .n("Route53RecoveryControlConfigClient", "CreateSafetyRuleCommand")
1031
- .sc(CreateSafetyRule$)
1032
- .build() {
1002
+ class CreateSafetyRuleCommand extends command(_ep0, _mw0, "CreateSafetyRule", CreateSafetyRule$) {
1033
1003
  }
1034
1004
 
1035
- class DeleteClusterCommand extends Command
1036
- .classBuilder()
1037
- .ep(commonParams)
1038
- .m(function (Command, cs, config, o) {
1039
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1040
- })
1041
- .s("Route53RecoveryControlConfig", "DeleteCluster", {})
1042
- .n("Route53RecoveryControlConfigClient", "DeleteClusterCommand")
1043
- .sc(DeleteCluster$)
1044
- .build() {
1005
+ class DeleteClusterCommand extends command(_ep0, _mw0, "DeleteCluster", DeleteCluster$) {
1045
1006
  }
1046
1007
 
1047
- class DeleteControlPanelCommand extends Command
1048
- .classBuilder()
1049
- .ep(commonParams)
1050
- .m(function (Command, cs, config, o) {
1051
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1052
- })
1053
- .s("Route53RecoveryControlConfig", "DeleteControlPanel", {})
1054
- .n("Route53RecoveryControlConfigClient", "DeleteControlPanelCommand")
1055
- .sc(DeleteControlPanel$)
1056
- .build() {
1008
+ class DeleteControlPanelCommand extends command(_ep0, _mw0, "DeleteControlPanel", DeleteControlPanel$) {
1057
1009
  }
1058
1010
 
1059
- class DeleteRoutingControlCommand extends Command
1060
- .classBuilder()
1061
- .ep(commonParams)
1062
- .m(function (Command, cs, config, o) {
1063
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1064
- })
1065
- .s("Route53RecoveryControlConfig", "DeleteRoutingControl", {})
1066
- .n("Route53RecoveryControlConfigClient", "DeleteRoutingControlCommand")
1067
- .sc(DeleteRoutingControl$)
1068
- .build() {
1011
+ class DeleteRoutingControlCommand extends command(_ep0, _mw0, "DeleteRoutingControl", DeleteRoutingControl$) {
1069
1012
  }
1070
1013
 
1071
- class DeleteSafetyRuleCommand extends Command
1072
- .classBuilder()
1073
- .ep(commonParams)
1074
- .m(function (Command, cs, config, o) {
1075
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1076
- })
1077
- .s("Route53RecoveryControlConfig", "DeleteSafetyRule", {})
1078
- .n("Route53RecoveryControlConfigClient", "DeleteSafetyRuleCommand")
1079
- .sc(DeleteSafetyRule$)
1080
- .build() {
1014
+ class DeleteSafetyRuleCommand extends command(_ep0, _mw0, "DeleteSafetyRule", DeleteSafetyRule$) {
1081
1015
  }
1082
1016
 
1083
- class DescribeClusterCommand extends Command
1084
- .classBuilder()
1085
- .ep(commonParams)
1086
- .m(function (Command, cs, config, o) {
1087
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1088
- })
1089
- .s("Route53RecoveryControlConfig", "DescribeCluster", {})
1090
- .n("Route53RecoveryControlConfigClient", "DescribeClusterCommand")
1091
- .sc(DescribeCluster$)
1092
- .build() {
1017
+ class DescribeClusterCommand extends command(_ep0, _mw0, "DescribeCluster", DescribeCluster$) {
1093
1018
  }
1094
1019
 
1095
- class DescribeControlPanelCommand extends Command
1096
- .classBuilder()
1097
- .ep(commonParams)
1098
- .m(function (Command, cs, config, o) {
1099
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1100
- })
1101
- .s("Route53RecoveryControlConfig", "DescribeControlPanel", {})
1102
- .n("Route53RecoveryControlConfigClient", "DescribeControlPanelCommand")
1103
- .sc(DescribeControlPanel$)
1104
- .build() {
1020
+ class DescribeControlPanelCommand extends command(_ep0, _mw0, "DescribeControlPanel", DescribeControlPanel$) {
1105
1021
  }
1106
1022
 
1107
- class DescribeRoutingControlCommand extends Command
1108
- .classBuilder()
1109
- .ep(commonParams)
1110
- .m(function (Command, cs, config, o) {
1111
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1112
- })
1113
- .s("Route53RecoveryControlConfig", "DescribeRoutingControl", {})
1114
- .n("Route53RecoveryControlConfigClient", "DescribeRoutingControlCommand")
1115
- .sc(DescribeRoutingControl$)
1116
- .build() {
1023
+ class DescribeRoutingControlCommand extends command(_ep0, _mw0, "DescribeRoutingControl", DescribeRoutingControl$) {
1117
1024
  }
1118
1025
 
1119
- class DescribeSafetyRuleCommand extends Command
1120
- .classBuilder()
1121
- .ep(commonParams)
1122
- .m(function (Command, cs, config, o) {
1123
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1124
- })
1125
- .s("Route53RecoveryControlConfig", "DescribeSafetyRule", {})
1126
- .n("Route53RecoveryControlConfigClient", "DescribeSafetyRuleCommand")
1127
- .sc(DescribeSafetyRule$)
1128
- .build() {
1026
+ class DescribeSafetyRuleCommand extends command(_ep0, _mw0, "DescribeSafetyRule", DescribeSafetyRule$) {
1129
1027
  }
1130
1028
 
1131
- class GetResourcePolicyCommand extends Command
1132
- .classBuilder()
1133
- .ep(commonParams)
1134
- .m(function (Command, cs, config, o) {
1135
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1136
- })
1137
- .s("Route53RecoveryControlConfig", "GetResourcePolicy", {})
1138
- .n("Route53RecoveryControlConfigClient", "GetResourcePolicyCommand")
1139
- .sc(GetResourcePolicy$)
1140
- .build() {
1029
+ class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
1141
1030
  }
1142
1031
 
1143
- class ListAssociatedRoute53HealthChecksCommand extends Command
1144
- .classBuilder()
1145
- .ep(commonParams)
1146
- .m(function (Command, cs, config, o) {
1147
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1148
- })
1149
- .s("Route53RecoveryControlConfig", "ListAssociatedRoute53HealthChecks", {})
1150
- .n("Route53RecoveryControlConfigClient", "ListAssociatedRoute53HealthChecksCommand")
1151
- .sc(ListAssociatedRoute53HealthChecks$)
1152
- .build() {
1032
+ class ListAssociatedRoute53HealthChecksCommand extends command(_ep0, _mw0, "ListAssociatedRoute53HealthChecks", ListAssociatedRoute53HealthChecks$) {
1153
1033
  }
1154
1034
 
1155
- class ListClustersCommand extends Command
1156
- .classBuilder()
1157
- .ep(commonParams)
1158
- .m(function (Command, cs, config, o) {
1159
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1160
- })
1161
- .s("Route53RecoveryControlConfig", "ListClusters", {})
1162
- .n("Route53RecoveryControlConfigClient", "ListClustersCommand")
1163
- .sc(ListClusters$)
1164
- .build() {
1035
+ class ListClustersCommand extends command(_ep0, _mw0, "ListClusters", ListClusters$) {
1165
1036
  }
1166
1037
 
1167
- class ListControlPanelsCommand extends Command
1168
- .classBuilder()
1169
- .ep(commonParams)
1170
- .m(function (Command, cs, config, o) {
1171
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1172
- })
1173
- .s("Route53RecoveryControlConfig", "ListControlPanels", {})
1174
- .n("Route53RecoveryControlConfigClient", "ListControlPanelsCommand")
1175
- .sc(ListControlPanels$)
1176
- .build() {
1038
+ class ListControlPanelsCommand extends command(_ep0, _mw0, "ListControlPanels", ListControlPanels$) {
1177
1039
  }
1178
1040
 
1179
- class ListRoutingControlsCommand extends Command
1180
- .classBuilder()
1181
- .ep(commonParams)
1182
- .m(function (Command, cs, config, o) {
1183
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1184
- })
1185
- .s("Route53RecoveryControlConfig", "ListRoutingControls", {})
1186
- .n("Route53RecoveryControlConfigClient", "ListRoutingControlsCommand")
1187
- .sc(ListRoutingControls$)
1188
- .build() {
1041
+ class ListRoutingControlsCommand extends command(_ep0, _mw0, "ListRoutingControls", ListRoutingControls$) {
1189
1042
  }
1190
1043
 
1191
- class ListSafetyRulesCommand extends Command
1192
- .classBuilder()
1193
- .ep(commonParams)
1194
- .m(function (Command, cs, config, o) {
1195
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1196
- })
1197
- .s("Route53RecoveryControlConfig", "ListSafetyRules", {})
1198
- .n("Route53RecoveryControlConfigClient", "ListSafetyRulesCommand")
1199
- .sc(ListSafetyRules$)
1200
- .build() {
1044
+ class ListSafetyRulesCommand extends command(_ep0, _mw0, "ListSafetyRules", ListSafetyRules$) {
1201
1045
  }
1202
1046
 
1203
- class ListTagsForResourceCommand extends Command
1204
- .classBuilder()
1205
- .ep(commonParams)
1206
- .m(function (Command, cs, config, o) {
1207
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1208
- })
1209
- .s("Route53RecoveryControlConfig", "ListTagsForResource", {})
1210
- .n("Route53RecoveryControlConfigClient", "ListTagsForResourceCommand")
1211
- .sc(ListTagsForResource$)
1212
- .build() {
1047
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1213
1048
  }
1214
1049
 
1215
- class TagResourceCommand extends Command
1216
- .classBuilder()
1217
- .ep(commonParams)
1218
- .m(function (Command, cs, config, o) {
1219
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1220
- })
1221
- .s("Route53RecoveryControlConfig", "TagResource", {})
1222
- .n("Route53RecoveryControlConfigClient", "TagResourceCommand")
1223
- .sc(TagResource$)
1224
- .build() {
1050
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1225
1051
  }
1226
1052
 
1227
- class UntagResourceCommand extends Command
1228
- .classBuilder()
1229
- .ep(commonParams)
1230
- .m(function (Command, cs, config, o) {
1231
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1232
- })
1233
- .s("Route53RecoveryControlConfig", "UntagResource", {})
1234
- .n("Route53RecoveryControlConfigClient", "UntagResourceCommand")
1235
- .sc(UntagResource$)
1236
- .build() {
1053
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1237
1054
  }
1238
1055
 
1239
- class UpdateClusterCommand extends Command
1240
- .classBuilder()
1241
- .ep(commonParams)
1242
- .m(function (Command, cs, config, o) {
1243
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1244
- })
1245
- .s("Route53RecoveryControlConfig", "UpdateCluster", {})
1246
- .n("Route53RecoveryControlConfigClient", "UpdateClusterCommand")
1247
- .sc(UpdateCluster$)
1248
- .build() {
1056
+ class UpdateClusterCommand extends command(_ep0, _mw0, "UpdateCluster", UpdateCluster$) {
1249
1057
  }
1250
1058
 
1251
- class UpdateControlPanelCommand extends Command
1252
- .classBuilder()
1253
- .ep(commonParams)
1254
- .m(function (Command, cs, config, o) {
1255
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1256
- })
1257
- .s("Route53RecoveryControlConfig", "UpdateControlPanel", {})
1258
- .n("Route53RecoveryControlConfigClient", "UpdateControlPanelCommand")
1259
- .sc(UpdateControlPanel$)
1260
- .build() {
1059
+ class UpdateControlPanelCommand extends command(_ep0, _mw0, "UpdateControlPanel", UpdateControlPanel$) {
1261
1060
  }
1262
1061
 
1263
- class UpdateRoutingControlCommand extends Command
1264
- .classBuilder()
1265
- .ep(commonParams)
1266
- .m(function (Command, cs, config, o) {
1267
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1268
- })
1269
- .s("Route53RecoveryControlConfig", "UpdateRoutingControl", {})
1270
- .n("Route53RecoveryControlConfigClient", "UpdateRoutingControlCommand")
1271
- .sc(UpdateRoutingControl$)
1272
- .build() {
1062
+ class UpdateRoutingControlCommand extends command(_ep0, _mw0, "UpdateRoutingControl", UpdateRoutingControl$) {
1273
1063
  }
1274
1064
 
1275
- class UpdateSafetyRuleCommand extends Command
1276
- .classBuilder()
1277
- .ep(commonParams)
1278
- .m(function (Command, cs, config, o) {
1279
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1280
- })
1281
- .s("Route53RecoveryControlConfig", "UpdateSafetyRule", {})
1282
- .n("Route53RecoveryControlConfigClient", "UpdateSafetyRuleCommand")
1283
- .sc(UpdateSafetyRule$)
1284
- .build() {
1065
+ class UpdateSafetyRuleCommand extends command(_ep0, _mw0, "UpdateSafetyRule", UpdateSafetyRule$) {
1285
1066
  }
1286
1067
 
1287
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
  }