@aws-sdk/client-partnercentral-channel 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 (71) hide show
  1. package/dist-cjs/index.js +28 -175
  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-es/runtimeConfig.browser.js +0 -2
  22. package/dist-es/runtimeConfig.js +1 -2
  23. package/dist-es/runtimeConfig.native.js +0 -2
  24. package/dist-es/runtimeConfig.shared.js +2 -0
  25. package/dist-types/commandBuilder.d.ts +18 -0
  26. package/dist-types/commands/AcceptChannelHandshakeCommand.d.ts +3 -8
  27. package/dist-types/commands/CancelChannelHandshakeCommand.d.ts +3 -8
  28. package/dist-types/commands/CreateChannelHandshakeCommand.d.ts +3 -8
  29. package/dist-types/commands/CreateProgramManagementAccountCommand.d.ts +3 -8
  30. package/dist-types/commands/CreateRelationshipCommand.d.ts +3 -8
  31. package/dist-types/commands/DeleteProgramManagementAccountCommand.d.ts +3 -8
  32. package/dist-types/commands/DeleteRelationshipCommand.d.ts +3 -8
  33. package/dist-types/commands/GetRelationshipCommand.d.ts +3 -8
  34. package/dist-types/commands/ListChannelHandshakesCommand.d.ts +3 -8
  35. package/dist-types/commands/ListProgramManagementAccountsCommand.d.ts +3 -8
  36. package/dist-types/commands/ListRelationshipsCommand.d.ts +3 -8
  37. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  38. package/dist-types/commands/RejectChannelHandshakeCommand.d.ts +3 -8
  39. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  40. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  41. package/dist-types/commands/UpdateProgramManagementAccountCommand.d.ts +3 -8
  42. package/dist-types/commands/UpdateRelationshipCommand.d.ts +3 -8
  43. package/dist-types/index.d.ts +1 -0
  44. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  45. package/dist-types/runtimeConfig.d.ts +1 -1
  46. package/dist-types/runtimeConfig.native.d.ts +1 -1
  47. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  48. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  49. package/dist-types/ts3.4/commands/AcceptChannelHandshakeCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/CancelChannelHandshakeCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/CreateChannelHandshakeCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/CreateProgramManagementAccountCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/CreateRelationshipCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/DeleteProgramManagementAccountCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/DeleteRelationshipCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/GetRelationshipCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/ListChannelHandshakesCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/ListProgramManagementAccountsCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/ListRelationshipsCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/RejectChannelHandshakeCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/UpdateProgramManagementAccountCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/UpdateRelationshipCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/index.d.ts +1 -0
  67. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  68. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  69. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  70. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  71. package/package.json +9 -11
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");
@@ -11,9 +12,10 @@ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, resolveAwsSdkSigV4AConfig, AwsSdkSigV4Signer, AwsSdkSigV4ASigner, NODE_SIGV4A_CONFIG_OPTIONS, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { SignatureV4MultiRegion } = require("@aws-sdk/signature-v4-multi-region");
13
14
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
14
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
15
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
15
16
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
16
17
  const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
18
+ const { Sha256 } = require("@smithy/core/checksum");
17
19
 
18
20
  const i = "authSchemes", j = "name", k = "signingRegion";
19
21
  const a = "isSet", b = "PartitionResult", c = "sigv4", d = { "ref": "Endpoint" }, e = { [j]: "sigv4a", "signingRegionSet": ["*"] }, f = { [i]: [e, { [j]: c, [k]: "us-gov-west-1" }] }, g = { [i]: [e, { [j]: c, [k]: "{PartitionResult#implicitGlobalRegion}" }] }, h = [{ "ref": "Region" }];
@@ -192,7 +194,7 @@ const commonParams = {
192
194
  Region: { type: "builtInParams", name: "region" },
193
195
  };
194
196
 
195
- var version = "3.1075.0";
197
+ var version = "3.1077.0";
196
198
  var packageInfo = {
197
199
  version: version};
198
200
 
@@ -1000,6 +1002,7 @@ const getRuntimeConfig$1 = (config) => {
1000
1002
  serviceTarget: "PartnerCentralChannel",
1001
1003
  },
1002
1004
  serviceId: config?.serviceId ?? "PartnerCentral Channel",
1005
+ sha256: config?.sha256 ?? Sha256,
1003
1006
  signerConstructor: config?.signerConstructor ?? SignatureV4MultiRegion,
1004
1007
  urlParser: config?.urlParser ?? parseUrl,
1005
1008
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -1034,7 +1037,6 @@ const getRuntimeConfig = (config) => {
1034
1037
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1035
1038
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1036
1039
  }, config),
1037
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1038
1040
  sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? loadConfig(NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
1039
1041
  streamCollector: config?.streamCollector ?? streamCollector,
1040
1042
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1124,208 +1126,59 @@ class PartnerCentralChannelClient extends Client {
1124
1126
  }
1125
1127
  }
1126
1128
 
1127
- class AcceptChannelHandshakeCommand extends Command
1128
- .classBuilder()
1129
- .ep(commonParams)
1130
- .m(function (Command, cs, config, o) {
1131
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1132
- })
1133
- .s("PartnerCentralChannel", "AcceptChannelHandshake", {})
1134
- .n("PartnerCentralChannelClient", "AcceptChannelHandshakeCommand")
1135
- .sc(AcceptChannelHandshake$)
1136
- .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$) {
1137
1134
  }
1138
1135
 
1139
- class CancelChannelHandshakeCommand extends Command
1140
- .classBuilder()
1141
- .ep(commonParams)
1142
- .m(function (Command, cs, config, o) {
1143
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1144
- })
1145
- .s("PartnerCentralChannel", "CancelChannelHandshake", {})
1146
- .n("PartnerCentralChannelClient", "CancelChannelHandshakeCommand")
1147
- .sc(CancelChannelHandshake$)
1148
- .build() {
1136
+ class CancelChannelHandshakeCommand extends command(_ep0, _mw0, "CancelChannelHandshake", CancelChannelHandshake$) {
1149
1137
  }
1150
1138
 
1151
- class CreateChannelHandshakeCommand extends Command
1152
- .classBuilder()
1153
- .ep(commonParams)
1154
- .m(function (Command, cs, config, o) {
1155
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1156
- })
1157
- .s("PartnerCentralChannel", "CreateChannelHandshake", {})
1158
- .n("PartnerCentralChannelClient", "CreateChannelHandshakeCommand")
1159
- .sc(CreateChannelHandshake$)
1160
- .build() {
1139
+ class CreateChannelHandshakeCommand extends command(_ep0, _mw0, "CreateChannelHandshake", CreateChannelHandshake$) {
1161
1140
  }
1162
1141
 
1163
- class CreateProgramManagementAccountCommand extends Command
1164
- .classBuilder()
1165
- .ep(commonParams)
1166
- .m(function (Command, cs, config, o) {
1167
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1168
- })
1169
- .s("PartnerCentralChannel", "CreateProgramManagementAccount", {})
1170
- .n("PartnerCentralChannelClient", "CreateProgramManagementAccountCommand")
1171
- .sc(CreateProgramManagementAccount$)
1172
- .build() {
1142
+ class CreateProgramManagementAccountCommand extends command(_ep0, _mw0, "CreateProgramManagementAccount", CreateProgramManagementAccount$) {
1173
1143
  }
1174
1144
 
1175
- class CreateRelationshipCommand extends Command
1176
- .classBuilder()
1177
- .ep(commonParams)
1178
- .m(function (Command, cs, config, o) {
1179
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1180
- })
1181
- .s("PartnerCentralChannel", "CreateRelationship", {})
1182
- .n("PartnerCentralChannelClient", "CreateRelationshipCommand")
1183
- .sc(CreateRelationship$)
1184
- .build() {
1145
+ class CreateRelationshipCommand extends command(_ep0, _mw0, "CreateRelationship", CreateRelationship$) {
1185
1146
  }
1186
1147
 
1187
- class DeleteProgramManagementAccountCommand extends Command
1188
- .classBuilder()
1189
- .ep(commonParams)
1190
- .m(function (Command, cs, config, o) {
1191
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1192
- })
1193
- .s("PartnerCentralChannel", "DeleteProgramManagementAccount", {})
1194
- .n("PartnerCentralChannelClient", "DeleteProgramManagementAccountCommand")
1195
- .sc(DeleteProgramManagementAccount$)
1196
- .build() {
1148
+ class DeleteProgramManagementAccountCommand extends command(_ep0, _mw0, "DeleteProgramManagementAccount", DeleteProgramManagementAccount$) {
1197
1149
  }
1198
1150
 
1199
- class DeleteRelationshipCommand extends Command
1200
- .classBuilder()
1201
- .ep(commonParams)
1202
- .m(function (Command, cs, config, o) {
1203
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1204
- })
1205
- .s("PartnerCentralChannel", "DeleteRelationship", {})
1206
- .n("PartnerCentralChannelClient", "DeleteRelationshipCommand")
1207
- .sc(DeleteRelationship$)
1208
- .build() {
1151
+ class DeleteRelationshipCommand extends command(_ep0, _mw0, "DeleteRelationship", DeleteRelationship$) {
1209
1152
  }
1210
1153
 
1211
- class GetRelationshipCommand extends Command
1212
- .classBuilder()
1213
- .ep(commonParams)
1214
- .m(function (Command, cs, config, o) {
1215
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1216
- })
1217
- .s("PartnerCentralChannel", "GetRelationship", {})
1218
- .n("PartnerCentralChannelClient", "GetRelationshipCommand")
1219
- .sc(GetRelationship$)
1220
- .build() {
1154
+ class GetRelationshipCommand extends command(_ep0, _mw0, "GetRelationship", GetRelationship$) {
1221
1155
  }
1222
1156
 
1223
- class ListChannelHandshakesCommand extends Command
1224
- .classBuilder()
1225
- .ep(commonParams)
1226
- .m(function (Command, cs, config, o) {
1227
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1228
- })
1229
- .s("PartnerCentralChannel", "ListChannelHandshakes", {})
1230
- .n("PartnerCentralChannelClient", "ListChannelHandshakesCommand")
1231
- .sc(ListChannelHandshakes$)
1232
- .build() {
1157
+ class ListChannelHandshakesCommand extends command(_ep0, _mw0, "ListChannelHandshakes", ListChannelHandshakes$) {
1233
1158
  }
1234
1159
 
1235
- class ListProgramManagementAccountsCommand extends Command
1236
- .classBuilder()
1237
- .ep(commonParams)
1238
- .m(function (Command, cs, config, o) {
1239
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1240
- })
1241
- .s("PartnerCentralChannel", "ListProgramManagementAccounts", {})
1242
- .n("PartnerCentralChannelClient", "ListProgramManagementAccountsCommand")
1243
- .sc(ListProgramManagementAccounts$)
1244
- .build() {
1160
+ class ListProgramManagementAccountsCommand extends command(_ep0, _mw0, "ListProgramManagementAccounts", ListProgramManagementAccounts$) {
1245
1161
  }
1246
1162
 
1247
- class ListRelationshipsCommand extends Command
1248
- .classBuilder()
1249
- .ep(commonParams)
1250
- .m(function (Command, cs, config, o) {
1251
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1252
- })
1253
- .s("PartnerCentralChannel", "ListRelationships", {})
1254
- .n("PartnerCentralChannelClient", "ListRelationshipsCommand")
1255
- .sc(ListRelationships$)
1256
- .build() {
1163
+ class ListRelationshipsCommand extends command(_ep0, _mw0, "ListRelationships", ListRelationships$) {
1257
1164
  }
1258
1165
 
1259
- class ListTagsForResourceCommand extends Command
1260
- .classBuilder()
1261
- .ep(commonParams)
1262
- .m(function (Command, cs, config, o) {
1263
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1264
- })
1265
- .s("PartnerCentralChannel", "ListTagsForResource", {})
1266
- .n("PartnerCentralChannelClient", "ListTagsForResourceCommand")
1267
- .sc(ListTagsForResource$)
1268
- .build() {
1166
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1269
1167
  }
1270
1168
 
1271
- class RejectChannelHandshakeCommand extends Command
1272
- .classBuilder()
1273
- .ep(commonParams)
1274
- .m(function (Command, cs, config, o) {
1275
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1276
- })
1277
- .s("PartnerCentralChannel", "RejectChannelHandshake", {})
1278
- .n("PartnerCentralChannelClient", "RejectChannelHandshakeCommand")
1279
- .sc(RejectChannelHandshake$)
1280
- .build() {
1169
+ class RejectChannelHandshakeCommand extends command(_ep0, _mw0, "RejectChannelHandshake", RejectChannelHandshake$) {
1281
1170
  }
1282
1171
 
1283
- class TagResourceCommand extends Command
1284
- .classBuilder()
1285
- .ep(commonParams)
1286
- .m(function (Command, cs, config, o) {
1287
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1288
- })
1289
- .s("PartnerCentralChannel", "TagResource", {})
1290
- .n("PartnerCentralChannelClient", "TagResourceCommand")
1291
- .sc(TagResource$)
1292
- .build() {
1172
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1293
1173
  }
1294
1174
 
1295
- class UntagResourceCommand extends Command
1296
- .classBuilder()
1297
- .ep(commonParams)
1298
- .m(function (Command, cs, config, o) {
1299
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1300
- })
1301
- .s("PartnerCentralChannel", "UntagResource", {})
1302
- .n("PartnerCentralChannelClient", "UntagResourceCommand")
1303
- .sc(UntagResource$)
1304
- .build() {
1175
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1305
1176
  }
1306
1177
 
1307
- class UpdateProgramManagementAccountCommand extends Command
1308
- .classBuilder()
1309
- .ep(commonParams)
1310
- .m(function (Command, cs, config, o) {
1311
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1312
- })
1313
- .s("PartnerCentralChannel", "UpdateProgramManagementAccount", {})
1314
- .n("PartnerCentralChannelClient", "UpdateProgramManagementAccountCommand")
1315
- .sc(UpdateProgramManagementAccount$)
1316
- .build() {
1178
+ class UpdateProgramManagementAccountCommand extends command(_ep0, _mw0, "UpdateProgramManagementAccount", UpdateProgramManagementAccount$) {
1317
1179
  }
1318
1180
 
1319
- class UpdateRelationshipCommand extends Command
1320
- .classBuilder()
1321
- .ep(commonParams)
1322
- .m(function (Command, cs, config, o) {
1323
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1324
- })
1325
- .s("PartnerCentralChannel", "UpdateRelationship", {})
1326
- .n("PartnerCentralChannelClient", "UpdateRelationshipCommand")
1327
- .sc(UpdateRelationship$)
1328
- .build() {
1181
+ class UpdateRelationshipCommand extends command(_ep0, _mw0, "UpdateRelationship", UpdateRelationship$) {
1329
1182
  }
1330
1183
 
1331
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";