@aws-sdk/client-partnercentral-benefits 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/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-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/AmendBenefitApplicationCommand.d.ts +3 -8
  27. package/dist-types/commands/AssociateBenefitApplicationResourceCommand.d.ts +3 -8
  28. package/dist-types/commands/CancelBenefitApplicationCommand.d.ts +3 -8
  29. package/dist-types/commands/CreateBenefitApplicationCommand.d.ts +3 -8
  30. package/dist-types/commands/DisassociateBenefitApplicationResourceCommand.d.ts +3 -8
  31. package/dist-types/commands/GetBenefitAllocationCommand.d.ts +3 -8
  32. package/dist-types/commands/GetBenefitApplicationCommand.d.ts +3 -8
  33. package/dist-types/commands/GetBenefitCommand.d.ts +3 -8
  34. package/dist-types/commands/ListBenefitAllocationsCommand.d.ts +3 -8
  35. package/dist-types/commands/ListBenefitApplicationsCommand.d.ts +3 -8
  36. package/dist-types/commands/ListBenefitsCommand.d.ts +3 -8
  37. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  38. package/dist-types/commands/RecallBenefitApplicationCommand.d.ts +3 -8
  39. package/dist-types/commands/SubmitBenefitApplicationCommand.d.ts +3 -8
  40. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  41. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  42. package/dist-types/commands/UpdateBenefitApplicationCommand.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/AmendBenefitApplicationCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/AssociateBenefitApplicationResourceCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/CancelBenefitApplicationCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/CreateBenefitApplicationCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/DisassociateBenefitApplicationResourceCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/GetBenefitAllocationCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/GetBenefitApplicationCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/GetBenefitCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/ListBenefitAllocationsCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/ListBenefitApplicationsCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/ListBenefitsCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/RecallBenefitApplicationCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/SubmitBenefitApplicationCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/UpdateBenefitApplicationCommand.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 +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultPartnerCentralBenefitsHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -65,7 +67,7 @@ const commonParams = {
65
67
  Region: { type: "builtInParams", name: "region" },
66
68
  };
67
69
 
68
- var version = "3.1075.0";
70
+ var version = "3.1077.0";
69
71
  var packageInfo = {
70
72
  version: version};
71
73
 
@@ -829,6 +831,7 @@ const getRuntimeConfig$1 = (config) => {
829
831
  serviceTarget: "PartnerCentralBenefitsService",
830
832
  },
831
833
  serviceId: config?.serviceId ?? "PartnerCentral Benefits",
834
+ sha256: config?.sha256 ?? Sha256,
832
835
  urlParser: config?.urlParser ?? parseUrl,
833
836
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
834
837
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -862,7 +865,6 @@ const getRuntimeConfig = (config) => {
862
865
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
863
866
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
864
867
  }, config),
865
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
866
868
  streamCollector: config?.streamCollector ?? streamCollector,
867
869
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
868
870
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -950,208 +952,59 @@ class PartnerCentralBenefitsClient extends Client {
950
952
  }
951
953
  }
952
954
 
953
- class AmendBenefitApplicationCommand extends Command
954
- .classBuilder()
955
- .ep(commonParams)
956
- .m(function (Command, cs, config, o) {
957
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
958
- })
959
- .s("PartnerCentralBenefitsService", "AmendBenefitApplication", {})
960
- .n("PartnerCentralBenefitsClient", "AmendBenefitApplicationCommand")
961
- .sc(AmendBenefitApplication$)
962
- .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$) {
963
960
  }
964
961
 
965
- class AssociateBenefitApplicationResourceCommand extends Command
966
- .classBuilder()
967
- .ep(commonParams)
968
- .m(function (Command, cs, config, o) {
969
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
970
- })
971
- .s("PartnerCentralBenefitsService", "AssociateBenefitApplicationResource", {})
972
- .n("PartnerCentralBenefitsClient", "AssociateBenefitApplicationResourceCommand")
973
- .sc(AssociateBenefitApplicationResource$)
974
- .build() {
962
+ class AssociateBenefitApplicationResourceCommand extends command(_ep0, _mw0, "AssociateBenefitApplicationResource", AssociateBenefitApplicationResource$) {
975
963
  }
976
964
 
977
- class CancelBenefitApplicationCommand extends Command
978
- .classBuilder()
979
- .ep(commonParams)
980
- .m(function (Command, cs, config, o) {
981
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
982
- })
983
- .s("PartnerCentralBenefitsService", "CancelBenefitApplication", {})
984
- .n("PartnerCentralBenefitsClient", "CancelBenefitApplicationCommand")
985
- .sc(CancelBenefitApplication$)
986
- .build() {
965
+ class CancelBenefitApplicationCommand extends command(_ep0, _mw0, "CancelBenefitApplication", CancelBenefitApplication$) {
987
966
  }
988
967
 
989
- class CreateBenefitApplicationCommand extends Command
990
- .classBuilder()
991
- .ep(commonParams)
992
- .m(function (Command, cs, config, o) {
993
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
994
- })
995
- .s("PartnerCentralBenefitsService", "CreateBenefitApplication", {})
996
- .n("PartnerCentralBenefitsClient", "CreateBenefitApplicationCommand")
997
- .sc(CreateBenefitApplication$)
998
- .build() {
968
+ class CreateBenefitApplicationCommand extends command(_ep0, _mw0, "CreateBenefitApplication", CreateBenefitApplication$) {
999
969
  }
1000
970
 
1001
- class DisassociateBenefitApplicationResourceCommand extends Command
1002
- .classBuilder()
1003
- .ep(commonParams)
1004
- .m(function (Command, cs, config, o) {
1005
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1006
- })
1007
- .s("PartnerCentralBenefitsService", "DisassociateBenefitApplicationResource", {})
1008
- .n("PartnerCentralBenefitsClient", "DisassociateBenefitApplicationResourceCommand")
1009
- .sc(DisassociateBenefitApplicationResource$)
1010
- .build() {
971
+ class DisassociateBenefitApplicationResourceCommand extends command(_ep0, _mw0, "DisassociateBenefitApplicationResource", DisassociateBenefitApplicationResource$) {
1011
972
  }
1012
973
 
1013
- class GetBenefitAllocationCommand extends Command
1014
- .classBuilder()
1015
- .ep(commonParams)
1016
- .m(function (Command, cs, config, o) {
1017
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1018
- })
1019
- .s("PartnerCentralBenefitsService", "GetBenefitAllocation", {})
1020
- .n("PartnerCentralBenefitsClient", "GetBenefitAllocationCommand")
1021
- .sc(GetBenefitAllocation$)
1022
- .build() {
974
+ class GetBenefitAllocationCommand extends command(_ep0, _mw0, "GetBenefitAllocation", GetBenefitAllocation$) {
1023
975
  }
1024
976
 
1025
- class GetBenefitApplicationCommand extends Command
1026
- .classBuilder()
1027
- .ep(commonParams)
1028
- .m(function (Command, cs, config, o) {
1029
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1030
- })
1031
- .s("PartnerCentralBenefitsService", "GetBenefitApplication", {})
1032
- .n("PartnerCentralBenefitsClient", "GetBenefitApplicationCommand")
1033
- .sc(GetBenefitApplication$)
1034
- .build() {
977
+ class GetBenefitApplicationCommand extends command(_ep0, _mw0, "GetBenefitApplication", GetBenefitApplication$) {
1035
978
  }
1036
979
 
1037
- class GetBenefitCommand extends Command
1038
- .classBuilder()
1039
- .ep(commonParams)
1040
- .m(function (Command, cs, config, o) {
1041
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1042
- })
1043
- .s("PartnerCentralBenefitsService", "GetBenefit", {})
1044
- .n("PartnerCentralBenefitsClient", "GetBenefitCommand")
1045
- .sc(GetBenefit$)
1046
- .build() {
980
+ class GetBenefitCommand extends command(_ep0, _mw0, "GetBenefit", GetBenefit$) {
1047
981
  }
1048
982
 
1049
- class ListBenefitAllocationsCommand extends Command
1050
- .classBuilder()
1051
- .ep(commonParams)
1052
- .m(function (Command, cs, config, o) {
1053
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1054
- })
1055
- .s("PartnerCentralBenefitsService", "ListBenefitAllocations", {})
1056
- .n("PartnerCentralBenefitsClient", "ListBenefitAllocationsCommand")
1057
- .sc(ListBenefitAllocations$)
1058
- .build() {
983
+ class ListBenefitAllocationsCommand extends command(_ep0, _mw0, "ListBenefitAllocations", ListBenefitAllocations$) {
1059
984
  }
1060
985
 
1061
- class ListBenefitApplicationsCommand extends Command
1062
- .classBuilder()
1063
- .ep(commonParams)
1064
- .m(function (Command, cs, config, o) {
1065
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1066
- })
1067
- .s("PartnerCentralBenefitsService", "ListBenefitApplications", {})
1068
- .n("PartnerCentralBenefitsClient", "ListBenefitApplicationsCommand")
1069
- .sc(ListBenefitApplications$)
1070
- .build() {
986
+ class ListBenefitApplicationsCommand extends command(_ep0, _mw0, "ListBenefitApplications", ListBenefitApplications$) {
1071
987
  }
1072
988
 
1073
- class ListBenefitsCommand extends Command
1074
- .classBuilder()
1075
- .ep(commonParams)
1076
- .m(function (Command, cs, config, o) {
1077
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1078
- })
1079
- .s("PartnerCentralBenefitsService", "ListBenefits", {})
1080
- .n("PartnerCentralBenefitsClient", "ListBenefitsCommand")
1081
- .sc(ListBenefits$)
1082
- .build() {
989
+ class ListBenefitsCommand extends command(_ep0, _mw0, "ListBenefits", ListBenefits$) {
1083
990
  }
1084
991
 
1085
- class ListTagsForResourceCommand extends Command
1086
- .classBuilder()
1087
- .ep(commonParams)
1088
- .m(function (Command, cs, config, o) {
1089
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1090
- })
1091
- .s("PartnerCentralBenefitsService", "ListTagsForResource", {})
1092
- .n("PartnerCentralBenefitsClient", "ListTagsForResourceCommand")
1093
- .sc(ListTagsForResource$)
1094
- .build() {
992
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1095
993
  }
1096
994
 
1097
- class RecallBenefitApplicationCommand extends Command
1098
- .classBuilder()
1099
- .ep(commonParams)
1100
- .m(function (Command, cs, config, o) {
1101
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1102
- })
1103
- .s("PartnerCentralBenefitsService", "RecallBenefitApplication", {})
1104
- .n("PartnerCentralBenefitsClient", "RecallBenefitApplicationCommand")
1105
- .sc(RecallBenefitApplication$)
1106
- .build() {
995
+ class RecallBenefitApplicationCommand extends command(_ep0, _mw0, "RecallBenefitApplication", RecallBenefitApplication$) {
1107
996
  }
1108
997
 
1109
- class SubmitBenefitApplicationCommand extends Command
1110
- .classBuilder()
1111
- .ep(commonParams)
1112
- .m(function (Command, cs, config, o) {
1113
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1114
- })
1115
- .s("PartnerCentralBenefitsService", "SubmitBenefitApplication", {})
1116
- .n("PartnerCentralBenefitsClient", "SubmitBenefitApplicationCommand")
1117
- .sc(SubmitBenefitApplication$)
1118
- .build() {
998
+ class SubmitBenefitApplicationCommand extends command(_ep0, _mw0, "SubmitBenefitApplication", SubmitBenefitApplication$) {
1119
999
  }
1120
1000
 
1121
- class TagResourceCommand extends Command
1122
- .classBuilder()
1123
- .ep(commonParams)
1124
- .m(function (Command, cs, config, o) {
1125
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1126
- })
1127
- .s("PartnerCentralBenefitsService", "TagResource", {})
1128
- .n("PartnerCentralBenefitsClient", "TagResourceCommand")
1129
- .sc(TagResource$)
1130
- .build() {
1001
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1131
1002
  }
1132
1003
 
1133
- class UntagResourceCommand extends Command
1134
- .classBuilder()
1135
- .ep(commonParams)
1136
- .m(function (Command, cs, config, o) {
1137
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1138
- })
1139
- .s("PartnerCentralBenefitsService", "UntagResource", {})
1140
- .n("PartnerCentralBenefitsClient", "UntagResourceCommand")
1141
- .sc(UntagResource$)
1142
- .build() {
1004
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1143
1005
  }
1144
1006
 
1145
- class UpdateBenefitApplicationCommand extends Command
1146
- .classBuilder()
1147
- .ep(commonParams)
1148
- .m(function (Command, cs, config, o) {
1149
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1150
- })
1151
- .s("PartnerCentralBenefitsService", "UpdateBenefitApplication", {})
1152
- .n("PartnerCentralBenefitsClient", "UpdateBenefitApplicationCommand")
1153
- .sc(UpdateBenefitApplication$)
1154
- .build() {
1007
+ class UpdateBenefitApplicationCommand extends command(_ep0, _mw0, "UpdateBenefitApplication", UpdateBenefitApplication$) {
1155
1008
  }
1156
1009
 
1157
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";