@aws-sdk/client-partnercentral-channel 3.1077.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 (59) hide show
  1. package/dist-cjs/index.js +25 -173
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AcceptChannelHandshakeCommand.js +2 -14
  4. package/dist-es/commands/CancelChannelHandshakeCommand.js +2 -14
  5. package/dist-es/commands/CreateChannelHandshakeCommand.js +2 -14
  6. package/dist-es/commands/CreateProgramManagementAccountCommand.js +2 -14
  7. package/dist-es/commands/CreateRelationshipCommand.js +2 -14
  8. package/dist-es/commands/DeleteProgramManagementAccountCommand.js +2 -14
  9. package/dist-es/commands/DeleteRelationshipCommand.js +2 -14
  10. package/dist-es/commands/GetRelationshipCommand.js +2 -14
  11. package/dist-es/commands/ListChannelHandshakesCommand.js +2 -14
  12. package/dist-es/commands/ListProgramManagementAccountsCommand.js +2 -14
  13. package/dist-es/commands/ListRelationshipsCommand.js +2 -14
  14. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  15. package/dist-es/commands/RejectChannelHandshakeCommand.js +2 -14
  16. package/dist-es/commands/TagResourceCommand.js +2 -14
  17. package/dist-es/commands/UntagResourceCommand.js +2 -14
  18. package/dist-es/commands/UpdateProgramManagementAccountCommand.js +2 -14
  19. package/dist-es/commands/UpdateRelationshipCommand.js +2 -14
  20. package/dist-es/index.js +1 -0
  21. package/dist-types/commandBuilder.d.ts +18 -0
  22. package/dist-types/commands/AcceptChannelHandshakeCommand.d.ts +3 -8
  23. package/dist-types/commands/CancelChannelHandshakeCommand.d.ts +3 -8
  24. package/dist-types/commands/CreateChannelHandshakeCommand.d.ts +3 -8
  25. package/dist-types/commands/CreateProgramManagementAccountCommand.d.ts +3 -8
  26. package/dist-types/commands/CreateRelationshipCommand.d.ts +3 -8
  27. package/dist-types/commands/DeleteProgramManagementAccountCommand.d.ts +3 -8
  28. package/dist-types/commands/DeleteRelationshipCommand.d.ts +3 -8
  29. package/dist-types/commands/GetRelationshipCommand.d.ts +3 -8
  30. package/dist-types/commands/ListChannelHandshakesCommand.d.ts +3 -8
  31. package/dist-types/commands/ListProgramManagementAccountsCommand.d.ts +3 -8
  32. package/dist-types/commands/ListRelationshipsCommand.d.ts +3 -8
  33. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  34. package/dist-types/commands/RejectChannelHandshakeCommand.d.ts +3 -8
  35. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  36. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  37. package/dist-types/commands/UpdateProgramManagementAccountCommand.d.ts +3 -8
  38. package/dist-types/commands/UpdateRelationshipCommand.d.ts +3 -8
  39. package/dist-types/index.d.ts +1 -0
  40. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  41. package/dist-types/ts3.4/commands/AcceptChannelHandshakeCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/CancelChannelHandshakeCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/CreateChannelHandshakeCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/CreateProgramManagementAccountCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/CreateRelationshipCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/DeleteProgramManagementAccountCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/DeleteRelationshipCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/GetRelationshipCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/ListChannelHandshakesCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/ListProgramManagementAccountsCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/ListRelationshipsCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/RejectChannelHandshakeCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/UpdateProgramManagementAccountCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/UpdateRelationshipCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/index.d.ts +1 -0
  59. package/package.json +9 -9
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, resolveParams, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -193,7 +194,7 @@ const commonParams = {
193
194
  Region: { type: "builtInParams", name: "region" },
194
195
  };
195
196
 
196
- var version = "3.1076.0";
197
+ var version = "3.1077.0";
197
198
  var packageInfo = {
198
199
  version: version};
199
200
 
@@ -1125,208 +1126,59 @@ class PartnerCentralChannelClient extends Client {
1125
1126
  }
1126
1127
  }
1127
1128
 
1128
- class AcceptChannelHandshakeCommand extends Command
1129
- .classBuilder()
1130
- .ep(commonParams)
1131
- .m(function (Command, cs, config, o) {
1132
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1133
- })
1134
- .s("PartnerCentralChannel", "AcceptChannelHandshake", {})
1135
- .n("PartnerCentralChannelClient", "AcceptChannelHandshakeCommand")
1136
- .sc(AcceptChannelHandshake$)
1137
- .build() {
1129
+ const command = makeBuilder(commonParams, "PartnerCentralChannel", "PartnerCentralChannelClient", getEndpointPlugin);
1130
+ const _ep0 = {};
1131
+ const _mw0 = (Command, cs, config, o) => [];
1132
+
1133
+ class AcceptChannelHandshakeCommand extends command(_ep0, _mw0, "AcceptChannelHandshake", AcceptChannelHandshake$) {
1138
1134
  }
1139
1135
 
1140
- class CancelChannelHandshakeCommand extends Command
1141
- .classBuilder()
1142
- .ep(commonParams)
1143
- .m(function (Command, cs, config, o) {
1144
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1145
- })
1146
- .s("PartnerCentralChannel", "CancelChannelHandshake", {})
1147
- .n("PartnerCentralChannelClient", "CancelChannelHandshakeCommand")
1148
- .sc(CancelChannelHandshake$)
1149
- .build() {
1136
+ class CancelChannelHandshakeCommand extends command(_ep0, _mw0, "CancelChannelHandshake", CancelChannelHandshake$) {
1150
1137
  }
1151
1138
 
1152
- class CreateChannelHandshakeCommand extends Command
1153
- .classBuilder()
1154
- .ep(commonParams)
1155
- .m(function (Command, cs, config, o) {
1156
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1157
- })
1158
- .s("PartnerCentralChannel", "CreateChannelHandshake", {})
1159
- .n("PartnerCentralChannelClient", "CreateChannelHandshakeCommand")
1160
- .sc(CreateChannelHandshake$)
1161
- .build() {
1139
+ class CreateChannelHandshakeCommand extends command(_ep0, _mw0, "CreateChannelHandshake", CreateChannelHandshake$) {
1162
1140
  }
1163
1141
 
1164
- class CreateProgramManagementAccountCommand extends Command
1165
- .classBuilder()
1166
- .ep(commonParams)
1167
- .m(function (Command, cs, config, o) {
1168
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1169
- })
1170
- .s("PartnerCentralChannel", "CreateProgramManagementAccount", {})
1171
- .n("PartnerCentralChannelClient", "CreateProgramManagementAccountCommand")
1172
- .sc(CreateProgramManagementAccount$)
1173
- .build() {
1142
+ class CreateProgramManagementAccountCommand extends command(_ep0, _mw0, "CreateProgramManagementAccount", CreateProgramManagementAccount$) {
1174
1143
  }
1175
1144
 
1176
- class CreateRelationshipCommand extends Command
1177
- .classBuilder()
1178
- .ep(commonParams)
1179
- .m(function (Command, cs, config, o) {
1180
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1181
- })
1182
- .s("PartnerCentralChannel", "CreateRelationship", {})
1183
- .n("PartnerCentralChannelClient", "CreateRelationshipCommand")
1184
- .sc(CreateRelationship$)
1185
- .build() {
1145
+ class CreateRelationshipCommand extends command(_ep0, _mw0, "CreateRelationship", CreateRelationship$) {
1186
1146
  }
1187
1147
 
1188
- class DeleteProgramManagementAccountCommand extends Command
1189
- .classBuilder()
1190
- .ep(commonParams)
1191
- .m(function (Command, cs, config, o) {
1192
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1193
- })
1194
- .s("PartnerCentralChannel", "DeleteProgramManagementAccount", {})
1195
- .n("PartnerCentralChannelClient", "DeleteProgramManagementAccountCommand")
1196
- .sc(DeleteProgramManagementAccount$)
1197
- .build() {
1148
+ class DeleteProgramManagementAccountCommand extends command(_ep0, _mw0, "DeleteProgramManagementAccount", DeleteProgramManagementAccount$) {
1198
1149
  }
1199
1150
 
1200
- class DeleteRelationshipCommand extends Command
1201
- .classBuilder()
1202
- .ep(commonParams)
1203
- .m(function (Command, cs, config, o) {
1204
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1205
- })
1206
- .s("PartnerCentralChannel", "DeleteRelationship", {})
1207
- .n("PartnerCentralChannelClient", "DeleteRelationshipCommand")
1208
- .sc(DeleteRelationship$)
1209
- .build() {
1151
+ class DeleteRelationshipCommand extends command(_ep0, _mw0, "DeleteRelationship", DeleteRelationship$) {
1210
1152
  }
1211
1153
 
1212
- class GetRelationshipCommand extends Command
1213
- .classBuilder()
1214
- .ep(commonParams)
1215
- .m(function (Command, cs, config, o) {
1216
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1217
- })
1218
- .s("PartnerCentralChannel", "GetRelationship", {})
1219
- .n("PartnerCentralChannelClient", "GetRelationshipCommand")
1220
- .sc(GetRelationship$)
1221
- .build() {
1154
+ class GetRelationshipCommand extends command(_ep0, _mw0, "GetRelationship", GetRelationship$) {
1222
1155
  }
1223
1156
 
1224
- class ListChannelHandshakesCommand extends Command
1225
- .classBuilder()
1226
- .ep(commonParams)
1227
- .m(function (Command, cs, config, o) {
1228
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1229
- })
1230
- .s("PartnerCentralChannel", "ListChannelHandshakes", {})
1231
- .n("PartnerCentralChannelClient", "ListChannelHandshakesCommand")
1232
- .sc(ListChannelHandshakes$)
1233
- .build() {
1157
+ class ListChannelHandshakesCommand extends command(_ep0, _mw0, "ListChannelHandshakes", ListChannelHandshakes$) {
1234
1158
  }
1235
1159
 
1236
- class ListProgramManagementAccountsCommand extends Command
1237
- .classBuilder()
1238
- .ep(commonParams)
1239
- .m(function (Command, cs, config, o) {
1240
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1241
- })
1242
- .s("PartnerCentralChannel", "ListProgramManagementAccounts", {})
1243
- .n("PartnerCentralChannelClient", "ListProgramManagementAccountsCommand")
1244
- .sc(ListProgramManagementAccounts$)
1245
- .build() {
1160
+ class ListProgramManagementAccountsCommand extends command(_ep0, _mw0, "ListProgramManagementAccounts", ListProgramManagementAccounts$) {
1246
1161
  }
1247
1162
 
1248
- class ListRelationshipsCommand extends Command
1249
- .classBuilder()
1250
- .ep(commonParams)
1251
- .m(function (Command, cs, config, o) {
1252
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1253
- })
1254
- .s("PartnerCentralChannel", "ListRelationships", {})
1255
- .n("PartnerCentralChannelClient", "ListRelationshipsCommand")
1256
- .sc(ListRelationships$)
1257
- .build() {
1163
+ class ListRelationshipsCommand extends command(_ep0, _mw0, "ListRelationships", ListRelationships$) {
1258
1164
  }
1259
1165
 
1260
- class ListTagsForResourceCommand extends Command
1261
- .classBuilder()
1262
- .ep(commonParams)
1263
- .m(function (Command, cs, config, o) {
1264
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1265
- })
1266
- .s("PartnerCentralChannel", "ListTagsForResource", {})
1267
- .n("PartnerCentralChannelClient", "ListTagsForResourceCommand")
1268
- .sc(ListTagsForResource$)
1269
- .build() {
1166
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1270
1167
  }
1271
1168
 
1272
- class RejectChannelHandshakeCommand extends Command
1273
- .classBuilder()
1274
- .ep(commonParams)
1275
- .m(function (Command, cs, config, o) {
1276
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1277
- })
1278
- .s("PartnerCentralChannel", "RejectChannelHandshake", {})
1279
- .n("PartnerCentralChannelClient", "RejectChannelHandshakeCommand")
1280
- .sc(RejectChannelHandshake$)
1281
- .build() {
1169
+ class RejectChannelHandshakeCommand extends command(_ep0, _mw0, "RejectChannelHandshake", RejectChannelHandshake$) {
1282
1170
  }
1283
1171
 
1284
- class TagResourceCommand extends Command
1285
- .classBuilder()
1286
- .ep(commonParams)
1287
- .m(function (Command, cs, config, o) {
1288
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1289
- })
1290
- .s("PartnerCentralChannel", "TagResource", {})
1291
- .n("PartnerCentralChannelClient", "TagResourceCommand")
1292
- .sc(TagResource$)
1293
- .build() {
1172
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1294
1173
  }
1295
1174
 
1296
- class UntagResourceCommand extends Command
1297
- .classBuilder()
1298
- .ep(commonParams)
1299
- .m(function (Command, cs, config, o) {
1300
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1301
- })
1302
- .s("PartnerCentralChannel", "UntagResource", {})
1303
- .n("PartnerCentralChannelClient", "UntagResourceCommand")
1304
- .sc(UntagResource$)
1305
- .build() {
1175
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1306
1176
  }
1307
1177
 
1308
- class UpdateProgramManagementAccountCommand extends Command
1309
- .classBuilder()
1310
- .ep(commonParams)
1311
- .m(function (Command, cs, config, o) {
1312
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1313
- })
1314
- .s("PartnerCentralChannel", "UpdateProgramManagementAccount", {})
1315
- .n("PartnerCentralChannelClient", "UpdateProgramManagementAccountCommand")
1316
- .sc(UpdateProgramManagementAccount$)
1317
- .build() {
1178
+ class UpdateProgramManagementAccountCommand extends command(_ep0, _mw0, "UpdateProgramManagementAccount", UpdateProgramManagementAccount$) {
1318
1179
  }
1319
1180
 
1320
- class UpdateRelationshipCommand extends Command
1321
- .classBuilder()
1322
- .ep(commonParams)
1323
- .m(function (Command, cs, config, o) {
1324
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1325
- })
1326
- .s("PartnerCentralChannel", "UpdateRelationship", {})
1327
- .n("PartnerCentralChannelClient", "UpdateRelationshipCommand")
1328
- .sc(UpdateRelationship$)
1329
- .build() {
1181
+ class UpdateRelationshipCommand extends command(_ep0, _mw0, "UpdateRelationship", UpdateRelationship$) {
1330
1182
  }
1331
1183
 
1332
1184
  const paginateListChannelHandshakes = createPaginator(PartnerCentralChannelClient, ListChannelHandshakesCommand, "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, "PartnerCentralChannel", "PartnerCentralChannelClient", 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 { AcceptChannelHandshake$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AcceptChannelHandshakeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralChannel", "AcceptChannelHandshake", {})
13
- .n("PartnerCentralChannelClient", "AcceptChannelHandshakeCommand")
14
- .sc(AcceptChannelHandshake$)
15
- .build() {
3
+ export class AcceptChannelHandshakeCommand extends command(_ep0, _mw0, "AcceptChannelHandshake", AcceptChannelHandshake$) {
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 { CancelChannelHandshake$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelChannelHandshakeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralChannel", "CancelChannelHandshake", {})
13
- .n("PartnerCentralChannelClient", "CancelChannelHandshakeCommand")
14
- .sc(CancelChannelHandshake$)
15
- .build() {
3
+ export class CancelChannelHandshakeCommand extends command(_ep0, _mw0, "CancelChannelHandshake", CancelChannelHandshake$) {
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 { CreateChannelHandshake$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateChannelHandshakeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralChannel", "CreateChannelHandshake", {})
13
- .n("PartnerCentralChannelClient", "CreateChannelHandshakeCommand")
14
- .sc(CreateChannelHandshake$)
15
- .build() {
3
+ export class CreateChannelHandshakeCommand extends command(_ep0, _mw0, "CreateChannelHandshake", CreateChannelHandshake$) {
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 { CreateProgramManagementAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateProgramManagementAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralChannel", "CreateProgramManagementAccount", {})
13
- .n("PartnerCentralChannelClient", "CreateProgramManagementAccountCommand")
14
- .sc(CreateProgramManagementAccount$)
15
- .build() {
3
+ export class CreateProgramManagementAccountCommand extends command(_ep0, _mw0, "CreateProgramManagementAccount", CreateProgramManagementAccount$) {
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 { CreateRelationship$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateRelationshipCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralChannel", "CreateRelationship", {})
13
- .n("PartnerCentralChannelClient", "CreateRelationshipCommand")
14
- .sc(CreateRelationship$)
15
- .build() {
3
+ export class CreateRelationshipCommand extends command(_ep0, _mw0, "CreateRelationship", CreateRelationship$) {
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 { DeleteProgramManagementAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteProgramManagementAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralChannel", "DeleteProgramManagementAccount", {})
13
- .n("PartnerCentralChannelClient", "DeleteProgramManagementAccountCommand")
14
- .sc(DeleteProgramManagementAccount$)
15
- .build() {
3
+ export class DeleteProgramManagementAccountCommand extends command(_ep0, _mw0, "DeleteProgramManagementAccount", DeleteProgramManagementAccount$) {
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 { DeleteRelationship$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteRelationshipCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralChannel", "DeleteRelationship", {})
13
- .n("PartnerCentralChannelClient", "DeleteRelationshipCommand")
14
- .sc(DeleteRelationship$)
15
- .build() {
3
+ export class DeleteRelationshipCommand extends command(_ep0, _mw0, "DeleteRelationship", DeleteRelationship$) {
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 { GetRelationship$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetRelationshipCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralChannel", "GetRelationship", {})
13
- .n("PartnerCentralChannelClient", "GetRelationshipCommand")
14
- .sc(GetRelationship$)
15
- .build() {
3
+ export class GetRelationshipCommand extends command(_ep0, _mw0, "GetRelationship", GetRelationship$) {
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 { ListChannelHandshakes$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListChannelHandshakesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralChannel", "ListChannelHandshakes", {})
13
- .n("PartnerCentralChannelClient", "ListChannelHandshakesCommand")
14
- .sc(ListChannelHandshakes$)
15
- .build() {
3
+ export class ListChannelHandshakesCommand extends command(_ep0, _mw0, "ListChannelHandshakes", ListChannelHandshakes$) {
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 { ListProgramManagementAccounts$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListProgramManagementAccountsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralChannel", "ListProgramManagementAccounts", {})
13
- .n("PartnerCentralChannelClient", "ListProgramManagementAccountsCommand")
14
- .sc(ListProgramManagementAccounts$)
15
- .build() {
3
+ export class ListProgramManagementAccountsCommand extends command(_ep0, _mw0, "ListProgramManagementAccounts", ListProgramManagementAccounts$) {
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 { ListRelationships$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListRelationshipsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralChannel", "ListRelationships", {})
13
- .n("PartnerCentralChannelClient", "ListRelationshipsCommand")
14
- .sc(ListRelationships$)
15
- .build() {
3
+ export class ListRelationshipsCommand extends command(_ep0, _mw0, "ListRelationships", ListRelationships$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralChannel", "ListTagsForResource", {})
13
- .n("PartnerCentralChannelClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RejectChannelHandshake$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RejectChannelHandshakeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralChannel", "RejectChannelHandshake", {})
13
- .n("PartnerCentralChannelClient", "RejectChannelHandshakeCommand")
14
- .sc(RejectChannelHandshake$)
15
- .build() {
3
+ export class RejectChannelHandshakeCommand extends command(_ep0, _mw0, "RejectChannelHandshake", RejectChannelHandshake$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralChannel", "TagResource", {})
13
- .n("PartnerCentralChannelClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
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 { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralChannel", "UntagResource", {})
13
- .n("PartnerCentralChannelClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
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 { UpdateProgramManagementAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateProgramManagementAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralChannel", "UpdateProgramManagementAccount", {})
13
- .n("PartnerCentralChannelClient", "UpdateProgramManagementAccountCommand")
14
- .sc(UpdateProgramManagementAccount$)
15
- .build() {
3
+ export class UpdateProgramManagementAccountCommand extends command(_ep0, _mw0, "UpdateProgramManagementAccount", UpdateProgramManagementAccount$) {
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 { UpdateRelationship$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateRelationshipCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralChannel", "UpdateRelationship", {})
13
- .n("PartnerCentralChannelClient", "UpdateRelationshipCommand")
14
- .sc(UpdateRelationship$)
15
- .build() {
3
+ export class UpdateRelationshipCommand extends command(_ep0, _mw0, "UpdateRelationship", UpdateRelationship$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./PartnerCentralChannelClient";
2
2
  export * from "./PartnerCentralChannel";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { PartnerCentralChannelClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./PartnerCentralChannelClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, PartnerCentralChannelClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, PartnerCentralChannelClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];