@aws-sdk/client-resource-groups 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 (89) hide show
  1. package/dist-cjs/index.js +34 -235
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CancelTagSyncTaskCommand.js +2 -14
  4. package/dist-es/commands/CreateGroupCommand.js +2 -14
  5. package/dist-es/commands/DeleteGroupCommand.js +2 -14
  6. package/dist-es/commands/GetAccountSettingsCommand.js +2 -14
  7. package/dist-es/commands/GetGroupCommand.js +2 -14
  8. package/dist-es/commands/GetGroupConfigurationCommand.js +2 -14
  9. package/dist-es/commands/GetGroupQueryCommand.js +2 -14
  10. package/dist-es/commands/GetTagSyncTaskCommand.js +2 -14
  11. package/dist-es/commands/GetTagsCommand.js +2 -14
  12. package/dist-es/commands/GroupResourcesCommand.js +2 -14
  13. package/dist-es/commands/ListGroupResourcesCommand.js +2 -14
  14. package/dist-es/commands/ListGroupingStatusesCommand.js +2 -14
  15. package/dist-es/commands/ListGroupsCommand.js +2 -14
  16. package/dist-es/commands/ListTagSyncTasksCommand.js +2 -14
  17. package/dist-es/commands/PutGroupConfigurationCommand.js +2 -14
  18. package/dist-es/commands/SearchResourcesCommand.js +2 -14
  19. package/dist-es/commands/StartTagSyncTaskCommand.js +2 -14
  20. package/dist-es/commands/TagCommand.js +2 -14
  21. package/dist-es/commands/UngroupResourcesCommand.js +2 -14
  22. package/dist-es/commands/UntagCommand.js +2 -14
  23. package/dist-es/commands/UpdateAccountSettingsCommand.js +2 -14
  24. package/dist-es/commands/UpdateGroupCommand.js +2 -14
  25. package/dist-es/commands/UpdateGroupQueryCommand.js +2 -14
  26. package/dist-es/index.js +1 -0
  27. package/dist-es/runtimeConfig.browser.js +0 -2
  28. package/dist-es/runtimeConfig.js +1 -2
  29. package/dist-es/runtimeConfig.native.js +0 -2
  30. package/dist-es/runtimeConfig.shared.js +2 -0
  31. package/dist-types/commandBuilder.d.ts +18 -0
  32. package/dist-types/commands/CancelTagSyncTaskCommand.d.ts +3 -8
  33. package/dist-types/commands/CreateGroupCommand.d.ts +3 -8
  34. package/dist-types/commands/DeleteGroupCommand.d.ts +3 -8
  35. package/dist-types/commands/GetAccountSettingsCommand.d.ts +3 -8
  36. package/dist-types/commands/GetGroupCommand.d.ts +3 -8
  37. package/dist-types/commands/GetGroupConfigurationCommand.d.ts +3 -8
  38. package/dist-types/commands/GetGroupQueryCommand.d.ts +3 -8
  39. package/dist-types/commands/GetTagSyncTaskCommand.d.ts +3 -8
  40. package/dist-types/commands/GetTagsCommand.d.ts +3 -8
  41. package/dist-types/commands/GroupResourcesCommand.d.ts +3 -8
  42. package/dist-types/commands/ListGroupResourcesCommand.d.ts +3 -8
  43. package/dist-types/commands/ListGroupingStatusesCommand.d.ts +3 -8
  44. package/dist-types/commands/ListGroupsCommand.d.ts +3 -8
  45. package/dist-types/commands/ListTagSyncTasksCommand.d.ts +3 -8
  46. package/dist-types/commands/PutGroupConfigurationCommand.d.ts +3 -8
  47. package/dist-types/commands/SearchResourcesCommand.d.ts +3 -8
  48. package/dist-types/commands/StartTagSyncTaskCommand.d.ts +3 -8
  49. package/dist-types/commands/TagCommand.d.ts +3 -8
  50. package/dist-types/commands/UngroupResourcesCommand.d.ts +3 -8
  51. package/dist-types/commands/UntagCommand.d.ts +3 -8
  52. package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +3 -8
  53. package/dist-types/commands/UpdateGroupCommand.d.ts +3 -8
  54. package/dist-types/commands/UpdateGroupQueryCommand.d.ts +3 -8
  55. package/dist-types/index.d.ts +1 -0
  56. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  57. package/dist-types/runtimeConfig.d.ts +1 -1
  58. package/dist-types/runtimeConfig.native.d.ts +1 -1
  59. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  60. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  61. package/dist-types/ts3.4/commands/CancelTagSyncTaskCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/GetGroupConfigurationCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/GetGroupQueryCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/GetTagSyncTaskCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/GroupResourcesCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/ListGroupResourcesCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/ListGroupingStatusesCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/ListTagSyncTasksCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/PutGroupConfigurationCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/SearchResourcesCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/StartTagSyncTaskCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/TagCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/UngroupResourcesCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/UntagCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/UpdateGroupQueryCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/index.d.ts +1 -0
  85. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  86. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  87. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  88. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  89. 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 defaultResourceGroupsHttpAuthSchemeParametersProvider = 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
 
@@ -917,6 +919,7 @@ const getRuntimeConfig$1 = (config) => {
917
919
  serviceTarget: "Ardi",
918
920
  },
919
921
  serviceId: config?.serviceId ?? "Resource Groups",
922
+ sha256: config?.sha256 ?? Sha256,
920
923
  urlParser: config?.urlParser ?? parseUrl,
921
924
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
922
925
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -950,7 +953,6 @@ const getRuntimeConfig = (config) => {
950
953
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
951
954
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
952
955
  }, config),
953
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
954
956
  streamCollector: config?.streamCollector ?? streamCollector,
955
957
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
956
958
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1038,280 +1040,77 @@ class ResourceGroupsClient extends Client {
1038
1040
  }
1039
1041
  }
1040
1042
 
1041
- class CancelTagSyncTaskCommand extends Command
1042
- .classBuilder()
1043
- .ep(commonParams)
1044
- .m(function (Command, cs, config, o) {
1045
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1046
- })
1047
- .s("Ardi", "CancelTagSyncTask", {})
1048
- .n("ResourceGroupsClient", "CancelTagSyncTaskCommand")
1049
- .sc(CancelTagSyncTask$)
1050
- .build() {
1043
+ const command = makeBuilder(commonParams, "Ardi", "ResourceGroupsClient", getEndpointPlugin);
1044
+ const _ep0 = {};
1045
+ const _mw0 = (Command, cs, config, o) => [];
1046
+
1047
+ class CancelTagSyncTaskCommand extends command(_ep0, _mw0, "CancelTagSyncTask", CancelTagSyncTask$) {
1051
1048
  }
1052
1049
 
1053
- class CreateGroupCommand extends Command
1054
- .classBuilder()
1055
- .ep(commonParams)
1056
- .m(function (Command, cs, config, o) {
1057
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1058
- })
1059
- .s("Ardi", "CreateGroup", {})
1060
- .n("ResourceGroupsClient", "CreateGroupCommand")
1061
- .sc(CreateGroup$)
1062
- .build() {
1050
+ class CreateGroupCommand extends command(_ep0, _mw0, "CreateGroup", CreateGroup$) {
1063
1051
  }
1064
1052
 
1065
- class DeleteGroupCommand extends Command
1066
- .classBuilder()
1067
- .ep(commonParams)
1068
- .m(function (Command, cs, config, o) {
1069
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1070
- })
1071
- .s("Ardi", "DeleteGroup", {})
1072
- .n("ResourceGroupsClient", "DeleteGroupCommand")
1073
- .sc(DeleteGroup$)
1074
- .build() {
1053
+ class DeleteGroupCommand extends command(_ep0, _mw0, "DeleteGroup", DeleteGroup$) {
1075
1054
  }
1076
1055
 
1077
- class GetAccountSettingsCommand extends Command
1078
- .classBuilder()
1079
- .ep(commonParams)
1080
- .m(function (Command, cs, config, o) {
1081
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1082
- })
1083
- .s("Ardi", "GetAccountSettings", {})
1084
- .n("ResourceGroupsClient", "GetAccountSettingsCommand")
1085
- .sc(GetAccountSettings$)
1086
- .build() {
1056
+ class GetAccountSettingsCommand extends command(_ep0, _mw0, "GetAccountSettings", GetAccountSettings$) {
1087
1057
  }
1088
1058
 
1089
- class GetGroupCommand extends Command
1090
- .classBuilder()
1091
- .ep(commonParams)
1092
- .m(function (Command, cs, config, o) {
1093
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1094
- })
1095
- .s("Ardi", "GetGroup", {})
1096
- .n("ResourceGroupsClient", "GetGroupCommand")
1097
- .sc(GetGroup$)
1098
- .build() {
1059
+ class GetGroupCommand extends command(_ep0, _mw0, "GetGroup", GetGroup$) {
1099
1060
  }
1100
1061
 
1101
- class GetGroupConfigurationCommand extends Command
1102
- .classBuilder()
1103
- .ep(commonParams)
1104
- .m(function (Command, cs, config, o) {
1105
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1106
- })
1107
- .s("Ardi", "GetGroupConfiguration", {})
1108
- .n("ResourceGroupsClient", "GetGroupConfigurationCommand")
1109
- .sc(GetGroupConfiguration$)
1110
- .build() {
1062
+ class GetGroupConfigurationCommand extends command(_ep0, _mw0, "GetGroupConfiguration", GetGroupConfiguration$) {
1111
1063
  }
1112
1064
 
1113
- class GetGroupQueryCommand extends Command
1114
- .classBuilder()
1115
- .ep(commonParams)
1116
- .m(function (Command, cs, config, o) {
1117
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1118
- })
1119
- .s("Ardi", "GetGroupQuery", {})
1120
- .n("ResourceGroupsClient", "GetGroupQueryCommand")
1121
- .sc(GetGroupQuery$)
1122
- .build() {
1065
+ class GetGroupQueryCommand extends command(_ep0, _mw0, "GetGroupQuery", GetGroupQuery$) {
1123
1066
  }
1124
1067
 
1125
- class GetTagsCommand extends Command
1126
- .classBuilder()
1127
- .ep(commonParams)
1128
- .m(function (Command, cs, config, o) {
1129
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1130
- })
1131
- .s("Ardi", "GetTags", {})
1132
- .n("ResourceGroupsClient", "GetTagsCommand")
1133
- .sc(GetTags$)
1134
- .build() {
1068
+ class GetTagsCommand extends command(_ep0, _mw0, "GetTags", GetTags$) {
1135
1069
  }
1136
1070
 
1137
- class GetTagSyncTaskCommand extends Command
1138
- .classBuilder()
1139
- .ep(commonParams)
1140
- .m(function (Command, cs, config, o) {
1141
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1142
- })
1143
- .s("Ardi", "GetTagSyncTask", {})
1144
- .n("ResourceGroupsClient", "GetTagSyncTaskCommand")
1145
- .sc(GetTagSyncTask$)
1146
- .build() {
1071
+ class GetTagSyncTaskCommand extends command(_ep0, _mw0, "GetTagSyncTask", GetTagSyncTask$) {
1147
1072
  }
1148
1073
 
1149
- class GroupResourcesCommand extends Command
1150
- .classBuilder()
1151
- .ep(commonParams)
1152
- .m(function (Command, cs, config, o) {
1153
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1154
- })
1155
- .s("Ardi", "GroupResources", {})
1156
- .n("ResourceGroupsClient", "GroupResourcesCommand")
1157
- .sc(GroupResources$)
1158
- .build() {
1074
+ class GroupResourcesCommand extends command(_ep0, _mw0, "GroupResources", GroupResources$) {
1159
1075
  }
1160
1076
 
1161
- class ListGroupingStatusesCommand extends Command
1162
- .classBuilder()
1163
- .ep(commonParams)
1164
- .m(function (Command, cs, config, o) {
1165
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1166
- })
1167
- .s("Ardi", "ListGroupingStatuses", {})
1168
- .n("ResourceGroupsClient", "ListGroupingStatusesCommand")
1169
- .sc(ListGroupingStatuses$)
1170
- .build() {
1077
+ class ListGroupingStatusesCommand extends command(_ep0, _mw0, "ListGroupingStatuses", ListGroupingStatuses$) {
1171
1078
  }
1172
1079
 
1173
- class ListGroupResourcesCommand extends Command
1174
- .classBuilder()
1175
- .ep(commonParams)
1176
- .m(function (Command, cs, config, o) {
1177
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1178
- })
1179
- .s("Ardi", "ListGroupResources", {})
1180
- .n("ResourceGroupsClient", "ListGroupResourcesCommand")
1181
- .sc(ListGroupResources$)
1182
- .build() {
1080
+ class ListGroupResourcesCommand extends command(_ep0, _mw0, "ListGroupResources", ListGroupResources$) {
1183
1081
  }
1184
1082
 
1185
- class ListGroupsCommand extends Command
1186
- .classBuilder()
1187
- .ep(commonParams)
1188
- .m(function (Command, cs, config, o) {
1189
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1190
- })
1191
- .s("Ardi", "ListGroups", {})
1192
- .n("ResourceGroupsClient", "ListGroupsCommand")
1193
- .sc(ListGroups$)
1194
- .build() {
1083
+ class ListGroupsCommand extends command(_ep0, _mw0, "ListGroups", ListGroups$) {
1195
1084
  }
1196
1085
 
1197
- class ListTagSyncTasksCommand extends Command
1198
- .classBuilder()
1199
- .ep(commonParams)
1200
- .m(function (Command, cs, config, o) {
1201
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1202
- })
1203
- .s("Ardi", "ListTagSyncTasks", {})
1204
- .n("ResourceGroupsClient", "ListTagSyncTasksCommand")
1205
- .sc(ListTagSyncTasks$)
1206
- .build() {
1086
+ class ListTagSyncTasksCommand extends command(_ep0, _mw0, "ListTagSyncTasks", ListTagSyncTasks$) {
1207
1087
  }
1208
1088
 
1209
- class PutGroupConfigurationCommand extends Command
1210
- .classBuilder()
1211
- .ep(commonParams)
1212
- .m(function (Command, cs, config, o) {
1213
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1214
- })
1215
- .s("Ardi", "PutGroupConfiguration", {})
1216
- .n("ResourceGroupsClient", "PutGroupConfigurationCommand")
1217
- .sc(PutGroupConfiguration$)
1218
- .build() {
1089
+ class PutGroupConfigurationCommand extends command(_ep0, _mw0, "PutGroupConfiguration", PutGroupConfiguration$) {
1219
1090
  }
1220
1091
 
1221
- class SearchResourcesCommand extends Command
1222
- .classBuilder()
1223
- .ep(commonParams)
1224
- .m(function (Command, cs, config, o) {
1225
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1226
- })
1227
- .s("Ardi", "SearchResources", {})
1228
- .n("ResourceGroupsClient", "SearchResourcesCommand")
1229
- .sc(SearchResources$)
1230
- .build() {
1092
+ class SearchResourcesCommand extends command(_ep0, _mw0, "SearchResources", SearchResources$) {
1231
1093
  }
1232
1094
 
1233
- class StartTagSyncTaskCommand extends Command
1234
- .classBuilder()
1235
- .ep(commonParams)
1236
- .m(function (Command, cs, config, o) {
1237
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1238
- })
1239
- .s("Ardi", "StartTagSyncTask", {})
1240
- .n("ResourceGroupsClient", "StartTagSyncTaskCommand")
1241
- .sc(StartTagSyncTask$)
1242
- .build() {
1095
+ class StartTagSyncTaskCommand extends command(_ep0, _mw0, "StartTagSyncTask", StartTagSyncTask$) {
1243
1096
  }
1244
1097
 
1245
- class TagCommand extends Command
1246
- .classBuilder()
1247
- .ep(commonParams)
1248
- .m(function (Command, cs, config, o) {
1249
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1250
- })
1251
- .s("Ardi", "Tag", {})
1252
- .n("ResourceGroupsClient", "TagCommand")
1253
- .sc(Tag$)
1254
- .build() {
1098
+ class TagCommand extends command(_ep0, _mw0, "Tag", Tag$) {
1255
1099
  }
1256
1100
 
1257
- class UngroupResourcesCommand extends Command
1258
- .classBuilder()
1259
- .ep(commonParams)
1260
- .m(function (Command, cs, config, o) {
1261
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1262
- })
1263
- .s("Ardi", "UngroupResources", {})
1264
- .n("ResourceGroupsClient", "UngroupResourcesCommand")
1265
- .sc(UngroupResources$)
1266
- .build() {
1101
+ class UngroupResourcesCommand extends command(_ep0, _mw0, "UngroupResources", UngroupResources$) {
1267
1102
  }
1268
1103
 
1269
- class UntagCommand extends Command
1270
- .classBuilder()
1271
- .ep(commonParams)
1272
- .m(function (Command, cs, config, o) {
1273
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1274
- })
1275
- .s("Ardi", "Untag", {})
1276
- .n("ResourceGroupsClient", "UntagCommand")
1277
- .sc(Untag$)
1278
- .build() {
1104
+ class UntagCommand extends command(_ep0, _mw0, "Untag", Untag$) {
1279
1105
  }
1280
1106
 
1281
- class UpdateAccountSettingsCommand extends Command
1282
- .classBuilder()
1283
- .ep(commonParams)
1284
- .m(function (Command, cs, config, o) {
1285
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1286
- })
1287
- .s("Ardi", "UpdateAccountSettings", {})
1288
- .n("ResourceGroupsClient", "UpdateAccountSettingsCommand")
1289
- .sc(UpdateAccountSettings$)
1290
- .build() {
1107
+ class UpdateAccountSettingsCommand extends command(_ep0, _mw0, "UpdateAccountSettings", UpdateAccountSettings$) {
1291
1108
  }
1292
1109
 
1293
- class UpdateGroupCommand extends Command
1294
- .classBuilder()
1295
- .ep(commonParams)
1296
- .m(function (Command, cs, config, o) {
1297
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1298
- })
1299
- .s("Ardi", "UpdateGroup", {})
1300
- .n("ResourceGroupsClient", "UpdateGroupCommand")
1301
- .sc(UpdateGroup$)
1302
- .build() {
1110
+ class UpdateGroupCommand extends command(_ep0, _mw0, "UpdateGroup", UpdateGroup$) {
1303
1111
  }
1304
1112
 
1305
- class UpdateGroupQueryCommand extends Command
1306
- .classBuilder()
1307
- .ep(commonParams)
1308
- .m(function (Command, cs, config, o) {
1309
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1310
- })
1311
- .s("Ardi", "UpdateGroupQuery", {})
1312
- .n("ResourceGroupsClient", "UpdateGroupQueryCommand")
1313
- .sc(UpdateGroupQuery$)
1314
- .build() {
1113
+ class UpdateGroupQueryCommand extends command(_ep0, _mw0, "UpdateGroupQuery", UpdateGroupQuery$) {
1315
1114
  }
1316
1115
 
1317
1116
  const paginateListGroupingStatuses = createPaginator(ResourceGroupsClient, ListGroupingStatusesCommand, "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, "Ardi", "ResourceGroupsClient", 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 { CancelTagSyncTask$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelTagSyncTaskCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Ardi", "CancelTagSyncTask", {})
13
- .n("ResourceGroupsClient", "CancelTagSyncTaskCommand")
14
- .sc(CancelTagSyncTask$)
15
- .build() {
3
+ export class CancelTagSyncTaskCommand extends command(_ep0, _mw0, "CancelTagSyncTask", CancelTagSyncTask$) {
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 { CreateGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Ardi", "CreateGroup", {})
13
- .n("ResourceGroupsClient", "CreateGroupCommand")
14
- .sc(CreateGroup$)
15
- .build() {
3
+ export class CreateGroupCommand extends command(_ep0, _mw0, "CreateGroup", CreateGroup$) {
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 { DeleteGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Ardi", "DeleteGroup", {})
13
- .n("ResourceGroupsClient", "DeleteGroupCommand")
14
- .sc(DeleteGroup$)
15
- .build() {
3
+ export class DeleteGroupCommand extends command(_ep0, _mw0, "DeleteGroup", DeleteGroup$) {
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 { GetAccountSettings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAccountSettingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Ardi", "GetAccountSettings", {})
13
- .n("ResourceGroupsClient", "GetAccountSettingsCommand")
14
- .sc(GetAccountSettings$)
15
- .build() {
3
+ export class GetAccountSettingsCommand extends command(_ep0, _mw0, "GetAccountSettings", GetAccountSettings$) {
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 { GetGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Ardi", "GetGroup", {})
13
- .n("ResourceGroupsClient", "GetGroupCommand")
14
- .sc(GetGroup$)
15
- .build() {
3
+ export class GetGroupCommand extends command(_ep0, _mw0, "GetGroup", GetGroup$) {
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 { GetGroupConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetGroupConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Ardi", "GetGroupConfiguration", {})
13
- .n("ResourceGroupsClient", "GetGroupConfigurationCommand")
14
- .sc(GetGroupConfiguration$)
15
- .build() {
3
+ export class GetGroupConfigurationCommand extends command(_ep0, _mw0, "GetGroupConfiguration", GetGroupConfiguration$) {
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 { GetGroupQuery$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetGroupQueryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Ardi", "GetGroupQuery", {})
13
- .n("ResourceGroupsClient", "GetGroupQueryCommand")
14
- .sc(GetGroupQuery$)
15
- .build() {
3
+ export class GetGroupQueryCommand extends command(_ep0, _mw0, "GetGroupQuery", GetGroupQuery$) {
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 { GetTagSyncTask$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTagSyncTaskCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Ardi", "GetTagSyncTask", {})
13
- .n("ResourceGroupsClient", "GetTagSyncTaskCommand")
14
- .sc(GetTagSyncTask$)
15
- .build() {
3
+ export class GetTagSyncTaskCommand extends command(_ep0, _mw0, "GetTagSyncTask", GetTagSyncTask$) {
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 { GetTags$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTagsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Ardi", "GetTags", {})
13
- .n("ResourceGroupsClient", "GetTagsCommand")
14
- .sc(GetTags$)
15
- .build() {
3
+ export class GetTagsCommand extends command(_ep0, _mw0, "GetTags", GetTags$) {
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 { GroupResources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GroupResourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Ardi", "GroupResources", {})
13
- .n("ResourceGroupsClient", "GroupResourcesCommand")
14
- .sc(GroupResources$)
15
- .build() {
3
+ export class GroupResourcesCommand extends command(_ep0, _mw0, "GroupResources", GroupResources$) {
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 { ListGroupResources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListGroupResourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Ardi", "ListGroupResources", {})
13
- .n("ResourceGroupsClient", "ListGroupResourcesCommand")
14
- .sc(ListGroupResources$)
15
- .build() {
3
+ export class ListGroupResourcesCommand extends command(_ep0, _mw0, "ListGroupResources", ListGroupResources$) {
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 { ListGroupingStatuses$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListGroupingStatusesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Ardi", "ListGroupingStatuses", {})
13
- .n("ResourceGroupsClient", "ListGroupingStatusesCommand")
14
- .sc(ListGroupingStatuses$)
15
- .build() {
3
+ export class ListGroupingStatusesCommand extends command(_ep0, _mw0, "ListGroupingStatuses", ListGroupingStatuses$) {
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 { ListGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Ardi", "ListGroups", {})
13
- .n("ResourceGroupsClient", "ListGroupsCommand")
14
- .sc(ListGroups$)
15
- .build() {
3
+ export class ListGroupsCommand extends command(_ep0, _mw0, "ListGroups", ListGroups$) {
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 { ListTagSyncTasks$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagSyncTasksCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Ardi", "ListTagSyncTasks", {})
13
- .n("ResourceGroupsClient", "ListTagSyncTasksCommand")
14
- .sc(ListTagSyncTasks$)
15
- .build() {
3
+ export class ListTagSyncTasksCommand extends command(_ep0, _mw0, "ListTagSyncTasks", ListTagSyncTasks$) {
16
4
  }