@aws-sdk/client-partnercentral-benefits 3.1077.0 → 3.1079.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist-cjs/index.js +25 -173
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AmendBenefitApplicationCommand.js +2 -14
  4. package/dist-es/commands/AssociateBenefitApplicationResourceCommand.js +2 -14
  5. package/dist-es/commands/CancelBenefitApplicationCommand.js +2 -14
  6. package/dist-es/commands/CreateBenefitApplicationCommand.js +2 -14
  7. package/dist-es/commands/DisassociateBenefitApplicationResourceCommand.js +2 -14
  8. package/dist-es/commands/GetBenefitAllocationCommand.js +2 -14
  9. package/dist-es/commands/GetBenefitApplicationCommand.js +2 -14
  10. package/dist-es/commands/GetBenefitCommand.js +2 -14
  11. package/dist-es/commands/ListBenefitAllocationsCommand.js +2 -14
  12. package/dist-es/commands/ListBenefitApplicationsCommand.js +2 -14
  13. package/dist-es/commands/ListBenefitsCommand.js +2 -14
  14. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  15. package/dist-es/commands/RecallBenefitApplicationCommand.js +2 -14
  16. package/dist-es/commands/SubmitBenefitApplicationCommand.js +2 -14
  17. package/dist-es/commands/TagResourceCommand.js +2 -14
  18. package/dist-es/commands/UntagResourceCommand.js +2 -14
  19. package/dist-es/commands/UpdateBenefitApplicationCommand.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/AmendBenefitApplicationCommand.d.ts +3 -8
  23. package/dist-types/commands/AssociateBenefitApplicationResourceCommand.d.ts +3 -8
  24. package/dist-types/commands/CancelBenefitApplicationCommand.d.ts +3 -8
  25. package/dist-types/commands/CreateBenefitApplicationCommand.d.ts +3 -8
  26. package/dist-types/commands/DisassociateBenefitApplicationResourceCommand.d.ts +3 -8
  27. package/dist-types/commands/GetBenefitAllocationCommand.d.ts +3 -8
  28. package/dist-types/commands/GetBenefitApplicationCommand.d.ts +3 -8
  29. package/dist-types/commands/GetBenefitCommand.d.ts +3 -8
  30. package/dist-types/commands/ListBenefitAllocationsCommand.d.ts +3 -8
  31. package/dist-types/commands/ListBenefitApplicationsCommand.d.ts +3 -8
  32. package/dist-types/commands/ListBenefitsCommand.d.ts +3 -8
  33. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  34. package/dist-types/commands/RecallBenefitApplicationCommand.d.ts +3 -8
  35. package/dist-types/commands/SubmitBenefitApplicationCommand.d.ts +3 -8
  36. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  37. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  38. package/dist-types/commands/UpdateBenefitApplicationCommand.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/AmendBenefitApplicationCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/AssociateBenefitApplicationResourceCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/CancelBenefitApplicationCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/CreateBenefitApplicationCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/DisassociateBenefitApplicationResourceCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/GetBenefitAllocationCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/GetBenefitApplicationCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/GetBenefitCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/ListBenefitAllocationsCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/ListBenefitApplicationsCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/ListBenefitsCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/RecallBenefitApplicationCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/SubmitBenefitApplicationCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/UpdateBenefitApplicationCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/index.d.ts +1 -0
  59. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, 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");
@@ -66,7 +67,7 @@ const commonParams = {
66
67
  Region: { type: "builtInParams", name: "region" },
67
68
  };
68
69
 
69
- var version = "3.1076.0";
70
+ var version = "3.1078.0";
70
71
  var packageInfo = {
71
72
  version: version};
72
73
 
@@ -951,208 +952,59 @@ class PartnerCentralBenefitsClient extends Client {
951
952
  }
952
953
  }
953
954
 
954
- class AmendBenefitApplicationCommand extends Command
955
- .classBuilder()
956
- .ep(commonParams)
957
- .m(function (Command, cs, config, o) {
958
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
959
- })
960
- .s("PartnerCentralBenefitsService", "AmendBenefitApplication", {})
961
- .n("PartnerCentralBenefitsClient", "AmendBenefitApplicationCommand")
962
- .sc(AmendBenefitApplication$)
963
- .build() {
955
+ const command = makeBuilder(commonParams, "PartnerCentralBenefitsService", "PartnerCentralBenefitsClient", getEndpointPlugin);
956
+ const _ep0 = {};
957
+ const _mw0 = (Command, cs, config, o) => [];
958
+
959
+ class AmendBenefitApplicationCommand extends command(_ep0, _mw0, "AmendBenefitApplication", AmendBenefitApplication$) {
964
960
  }
965
961
 
966
- class AssociateBenefitApplicationResourceCommand extends Command
967
- .classBuilder()
968
- .ep(commonParams)
969
- .m(function (Command, cs, config, o) {
970
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
971
- })
972
- .s("PartnerCentralBenefitsService", "AssociateBenefitApplicationResource", {})
973
- .n("PartnerCentralBenefitsClient", "AssociateBenefitApplicationResourceCommand")
974
- .sc(AssociateBenefitApplicationResource$)
975
- .build() {
962
+ class AssociateBenefitApplicationResourceCommand extends command(_ep0, _mw0, "AssociateBenefitApplicationResource", AssociateBenefitApplicationResource$) {
976
963
  }
977
964
 
978
- class CancelBenefitApplicationCommand extends Command
979
- .classBuilder()
980
- .ep(commonParams)
981
- .m(function (Command, cs, config, o) {
982
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
983
- })
984
- .s("PartnerCentralBenefitsService", "CancelBenefitApplication", {})
985
- .n("PartnerCentralBenefitsClient", "CancelBenefitApplicationCommand")
986
- .sc(CancelBenefitApplication$)
987
- .build() {
965
+ class CancelBenefitApplicationCommand extends command(_ep0, _mw0, "CancelBenefitApplication", CancelBenefitApplication$) {
988
966
  }
989
967
 
990
- class CreateBenefitApplicationCommand extends Command
991
- .classBuilder()
992
- .ep(commonParams)
993
- .m(function (Command, cs, config, o) {
994
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
995
- })
996
- .s("PartnerCentralBenefitsService", "CreateBenefitApplication", {})
997
- .n("PartnerCentralBenefitsClient", "CreateBenefitApplicationCommand")
998
- .sc(CreateBenefitApplication$)
999
- .build() {
968
+ class CreateBenefitApplicationCommand extends command(_ep0, _mw0, "CreateBenefitApplication", CreateBenefitApplication$) {
1000
969
  }
1001
970
 
1002
- class DisassociateBenefitApplicationResourceCommand extends Command
1003
- .classBuilder()
1004
- .ep(commonParams)
1005
- .m(function (Command, cs, config, o) {
1006
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1007
- })
1008
- .s("PartnerCentralBenefitsService", "DisassociateBenefitApplicationResource", {})
1009
- .n("PartnerCentralBenefitsClient", "DisassociateBenefitApplicationResourceCommand")
1010
- .sc(DisassociateBenefitApplicationResource$)
1011
- .build() {
971
+ class DisassociateBenefitApplicationResourceCommand extends command(_ep0, _mw0, "DisassociateBenefitApplicationResource", DisassociateBenefitApplicationResource$) {
1012
972
  }
1013
973
 
1014
- class GetBenefitAllocationCommand extends Command
1015
- .classBuilder()
1016
- .ep(commonParams)
1017
- .m(function (Command, cs, config, o) {
1018
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1019
- })
1020
- .s("PartnerCentralBenefitsService", "GetBenefitAllocation", {})
1021
- .n("PartnerCentralBenefitsClient", "GetBenefitAllocationCommand")
1022
- .sc(GetBenefitAllocation$)
1023
- .build() {
974
+ class GetBenefitAllocationCommand extends command(_ep0, _mw0, "GetBenefitAllocation", GetBenefitAllocation$) {
1024
975
  }
1025
976
 
1026
- class GetBenefitApplicationCommand extends Command
1027
- .classBuilder()
1028
- .ep(commonParams)
1029
- .m(function (Command, cs, config, o) {
1030
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1031
- })
1032
- .s("PartnerCentralBenefitsService", "GetBenefitApplication", {})
1033
- .n("PartnerCentralBenefitsClient", "GetBenefitApplicationCommand")
1034
- .sc(GetBenefitApplication$)
1035
- .build() {
977
+ class GetBenefitApplicationCommand extends command(_ep0, _mw0, "GetBenefitApplication", GetBenefitApplication$) {
1036
978
  }
1037
979
 
1038
- class GetBenefitCommand extends Command
1039
- .classBuilder()
1040
- .ep(commonParams)
1041
- .m(function (Command, cs, config, o) {
1042
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1043
- })
1044
- .s("PartnerCentralBenefitsService", "GetBenefit", {})
1045
- .n("PartnerCentralBenefitsClient", "GetBenefitCommand")
1046
- .sc(GetBenefit$)
1047
- .build() {
980
+ class GetBenefitCommand extends command(_ep0, _mw0, "GetBenefit", GetBenefit$) {
1048
981
  }
1049
982
 
1050
- class ListBenefitAllocationsCommand extends Command
1051
- .classBuilder()
1052
- .ep(commonParams)
1053
- .m(function (Command, cs, config, o) {
1054
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1055
- })
1056
- .s("PartnerCentralBenefitsService", "ListBenefitAllocations", {})
1057
- .n("PartnerCentralBenefitsClient", "ListBenefitAllocationsCommand")
1058
- .sc(ListBenefitAllocations$)
1059
- .build() {
983
+ class ListBenefitAllocationsCommand extends command(_ep0, _mw0, "ListBenefitAllocations", ListBenefitAllocations$) {
1060
984
  }
1061
985
 
1062
- class ListBenefitApplicationsCommand extends Command
1063
- .classBuilder()
1064
- .ep(commonParams)
1065
- .m(function (Command, cs, config, o) {
1066
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1067
- })
1068
- .s("PartnerCentralBenefitsService", "ListBenefitApplications", {})
1069
- .n("PartnerCentralBenefitsClient", "ListBenefitApplicationsCommand")
1070
- .sc(ListBenefitApplications$)
1071
- .build() {
986
+ class ListBenefitApplicationsCommand extends command(_ep0, _mw0, "ListBenefitApplications", ListBenefitApplications$) {
1072
987
  }
1073
988
 
1074
- class ListBenefitsCommand extends Command
1075
- .classBuilder()
1076
- .ep(commonParams)
1077
- .m(function (Command, cs, config, o) {
1078
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1079
- })
1080
- .s("PartnerCentralBenefitsService", "ListBenefits", {})
1081
- .n("PartnerCentralBenefitsClient", "ListBenefitsCommand")
1082
- .sc(ListBenefits$)
1083
- .build() {
989
+ class ListBenefitsCommand extends command(_ep0, _mw0, "ListBenefits", ListBenefits$) {
1084
990
  }
1085
991
 
1086
- class ListTagsForResourceCommand extends Command
1087
- .classBuilder()
1088
- .ep(commonParams)
1089
- .m(function (Command, cs, config, o) {
1090
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1091
- })
1092
- .s("PartnerCentralBenefitsService", "ListTagsForResource", {})
1093
- .n("PartnerCentralBenefitsClient", "ListTagsForResourceCommand")
1094
- .sc(ListTagsForResource$)
1095
- .build() {
992
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1096
993
  }
1097
994
 
1098
- class RecallBenefitApplicationCommand extends Command
1099
- .classBuilder()
1100
- .ep(commonParams)
1101
- .m(function (Command, cs, config, o) {
1102
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1103
- })
1104
- .s("PartnerCentralBenefitsService", "RecallBenefitApplication", {})
1105
- .n("PartnerCentralBenefitsClient", "RecallBenefitApplicationCommand")
1106
- .sc(RecallBenefitApplication$)
1107
- .build() {
995
+ class RecallBenefitApplicationCommand extends command(_ep0, _mw0, "RecallBenefitApplication", RecallBenefitApplication$) {
1108
996
  }
1109
997
 
1110
- class SubmitBenefitApplicationCommand extends Command
1111
- .classBuilder()
1112
- .ep(commonParams)
1113
- .m(function (Command, cs, config, o) {
1114
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1115
- })
1116
- .s("PartnerCentralBenefitsService", "SubmitBenefitApplication", {})
1117
- .n("PartnerCentralBenefitsClient", "SubmitBenefitApplicationCommand")
1118
- .sc(SubmitBenefitApplication$)
1119
- .build() {
998
+ class SubmitBenefitApplicationCommand extends command(_ep0, _mw0, "SubmitBenefitApplication", SubmitBenefitApplication$) {
1120
999
  }
1121
1000
 
1122
- class TagResourceCommand extends Command
1123
- .classBuilder()
1124
- .ep(commonParams)
1125
- .m(function (Command, cs, config, o) {
1126
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1127
- })
1128
- .s("PartnerCentralBenefitsService", "TagResource", {})
1129
- .n("PartnerCentralBenefitsClient", "TagResourceCommand")
1130
- .sc(TagResource$)
1131
- .build() {
1001
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1132
1002
  }
1133
1003
 
1134
- class UntagResourceCommand extends Command
1135
- .classBuilder()
1136
- .ep(commonParams)
1137
- .m(function (Command, cs, config, o) {
1138
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1139
- })
1140
- .s("PartnerCentralBenefitsService", "UntagResource", {})
1141
- .n("PartnerCentralBenefitsClient", "UntagResourceCommand")
1142
- .sc(UntagResource$)
1143
- .build() {
1004
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1144
1005
  }
1145
1006
 
1146
- class UpdateBenefitApplicationCommand extends Command
1147
- .classBuilder()
1148
- .ep(commonParams)
1149
- .m(function (Command, cs, config, o) {
1150
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1151
- })
1152
- .s("PartnerCentralBenefitsService", "UpdateBenefitApplication", {})
1153
- .n("PartnerCentralBenefitsClient", "UpdateBenefitApplicationCommand")
1154
- .sc(UpdateBenefitApplication$)
1155
- .build() {
1007
+ class UpdateBenefitApplicationCommand extends command(_ep0, _mw0, "UpdateBenefitApplication", UpdateBenefitApplication$) {
1156
1008
  }
1157
1009
 
1158
1010
  const paginateListBenefitAllocations = createPaginator(PartnerCentralBenefitsClient, ListBenefitAllocationsCommand, "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, "PartnerCentralBenefitsService", "PartnerCentralBenefitsClient", 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 { AmendBenefitApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AmendBenefitApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralBenefitsService", "AmendBenefitApplication", {})
13
- .n("PartnerCentralBenefitsClient", "AmendBenefitApplicationCommand")
14
- .sc(AmendBenefitApplication$)
15
- .build() {
3
+ export class AmendBenefitApplicationCommand extends command(_ep0, _mw0, "AmendBenefitApplication", AmendBenefitApplication$) {
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 { AssociateBenefitApplicationResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateBenefitApplicationResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralBenefitsService", "AssociateBenefitApplicationResource", {})
13
- .n("PartnerCentralBenefitsClient", "AssociateBenefitApplicationResourceCommand")
14
- .sc(AssociateBenefitApplicationResource$)
15
- .build() {
3
+ export class AssociateBenefitApplicationResourceCommand extends command(_ep0, _mw0, "AssociateBenefitApplicationResource", AssociateBenefitApplicationResource$) {
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 { CancelBenefitApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelBenefitApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralBenefitsService", "CancelBenefitApplication", {})
13
- .n("PartnerCentralBenefitsClient", "CancelBenefitApplicationCommand")
14
- .sc(CancelBenefitApplication$)
15
- .build() {
3
+ export class CancelBenefitApplicationCommand extends command(_ep0, _mw0, "CancelBenefitApplication", CancelBenefitApplication$) {
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 { CreateBenefitApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateBenefitApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralBenefitsService", "CreateBenefitApplication", {})
13
- .n("PartnerCentralBenefitsClient", "CreateBenefitApplicationCommand")
14
- .sc(CreateBenefitApplication$)
15
- .build() {
3
+ export class CreateBenefitApplicationCommand extends command(_ep0, _mw0, "CreateBenefitApplication", CreateBenefitApplication$) {
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 { DisassociateBenefitApplicationResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateBenefitApplicationResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralBenefitsService", "DisassociateBenefitApplicationResource", {})
13
- .n("PartnerCentralBenefitsClient", "DisassociateBenefitApplicationResourceCommand")
14
- .sc(DisassociateBenefitApplicationResource$)
15
- .build() {
3
+ export class DisassociateBenefitApplicationResourceCommand extends command(_ep0, _mw0, "DisassociateBenefitApplicationResource", DisassociateBenefitApplicationResource$) {
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 { GetBenefitAllocation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetBenefitAllocationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralBenefitsService", "GetBenefitAllocation", {})
13
- .n("PartnerCentralBenefitsClient", "GetBenefitAllocationCommand")
14
- .sc(GetBenefitAllocation$)
15
- .build() {
3
+ export class GetBenefitAllocationCommand extends command(_ep0, _mw0, "GetBenefitAllocation", GetBenefitAllocation$) {
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 { GetBenefitApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetBenefitApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralBenefitsService", "GetBenefitApplication", {})
13
- .n("PartnerCentralBenefitsClient", "GetBenefitApplicationCommand")
14
- .sc(GetBenefitApplication$)
15
- .build() {
3
+ export class GetBenefitApplicationCommand extends command(_ep0, _mw0, "GetBenefitApplication", GetBenefitApplication$) {
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 { GetBenefit$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetBenefitCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralBenefitsService", "GetBenefit", {})
13
- .n("PartnerCentralBenefitsClient", "GetBenefitCommand")
14
- .sc(GetBenefit$)
15
- .build() {
3
+ export class GetBenefitCommand extends command(_ep0, _mw0, "GetBenefit", GetBenefit$) {
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 { ListBenefitAllocations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListBenefitAllocationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralBenefitsService", "ListBenefitAllocations", {})
13
- .n("PartnerCentralBenefitsClient", "ListBenefitAllocationsCommand")
14
- .sc(ListBenefitAllocations$)
15
- .build() {
3
+ export class ListBenefitAllocationsCommand extends command(_ep0, _mw0, "ListBenefitAllocations", ListBenefitAllocations$) {
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 { ListBenefitApplications$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListBenefitApplicationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralBenefitsService", "ListBenefitApplications", {})
13
- .n("PartnerCentralBenefitsClient", "ListBenefitApplicationsCommand")
14
- .sc(ListBenefitApplications$)
15
- .build() {
3
+ export class ListBenefitApplicationsCommand extends command(_ep0, _mw0, "ListBenefitApplications", ListBenefitApplications$) {
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 { ListBenefits$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListBenefitsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralBenefitsService", "ListBenefits", {})
13
- .n("PartnerCentralBenefitsClient", "ListBenefitsCommand")
14
- .sc(ListBenefits$)
15
- .build() {
3
+ export class ListBenefitsCommand extends command(_ep0, _mw0, "ListBenefits", ListBenefits$) {
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("PartnerCentralBenefitsService", "ListTagsForResource", {})
13
- .n("PartnerCentralBenefitsClient", "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 { RecallBenefitApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RecallBenefitApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralBenefitsService", "RecallBenefitApplication", {})
13
- .n("PartnerCentralBenefitsClient", "RecallBenefitApplicationCommand")
14
- .sc(RecallBenefitApplication$)
15
- .build() {
3
+ export class RecallBenefitApplicationCommand extends command(_ep0, _mw0, "RecallBenefitApplication", RecallBenefitApplication$) {
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 { SubmitBenefitApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SubmitBenefitApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralBenefitsService", "SubmitBenefitApplication", {})
13
- .n("PartnerCentralBenefitsClient", "SubmitBenefitApplicationCommand")
14
- .sc(SubmitBenefitApplication$)
15
- .build() {
3
+ export class SubmitBenefitApplicationCommand extends command(_ep0, _mw0, "SubmitBenefitApplication", SubmitBenefitApplication$) {
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("PartnerCentralBenefitsService", "TagResource", {})
13
- .n("PartnerCentralBenefitsClient", "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("PartnerCentralBenefitsService", "UntagResource", {})
13
- .n("PartnerCentralBenefitsClient", "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 { UpdateBenefitApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateBenefitApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PartnerCentralBenefitsService", "UpdateBenefitApplication", {})
13
- .n("PartnerCentralBenefitsClient", "UpdateBenefitApplicationCommand")
14
- .sc(UpdateBenefitApplication$)
15
- .build() {
3
+ export class UpdateBenefitApplicationCommand extends command(_ep0, _mw0, "UpdateBenefitApplication", UpdateBenefitApplication$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./PartnerCentralBenefitsClient";
2
2
  export * from "./PartnerCentralBenefits";
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 { PartnerCentralBenefitsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./PartnerCentralBenefitsClient";
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, PartnerCentralBenefitsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, PartnerCentralBenefitsClientResolvedConfig, 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[];