@aws-sdk/client-partnercentral-benefits 3.1074.0 → 3.1076.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.
- package/dist-cjs/index.js +942 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -29
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/PartnerCentralBenefitsServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -110
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -652
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
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");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
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
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultPartnerCentralBenefitsHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "partnercentral-benefits",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultPartnerCentralBenefitsHttpAuthSchemeProvider = (authParameters) => {
|
|
41
|
+
const options = [];
|
|
42
|
+
switch (authParameters.operation) {
|
|
43
|
+
default: {
|
|
44
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return options;
|
|
48
|
+
};
|
|
49
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
51
|
+
return Object.assign(config_0, {
|
|
52
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
53
|
+
});
|
|
54
|
+
};
|
|
19
55
|
|
|
20
56
|
const resolveClientEndpointParameters = (options) => {
|
|
21
57
|
return Object.assign(options, {
|
|
@@ -29,6 +65,811 @@ const commonParams = {
|
|
|
29
65
|
Region: { type: "builtInParams", name: "region" },
|
|
30
66
|
};
|
|
31
67
|
|
|
68
|
+
var version = "3.1075.0";
|
|
69
|
+
var packageInfo = {
|
|
70
|
+
version: version};
|
|
71
|
+
|
|
72
|
+
const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];
|
|
73
|
+
const _data = {
|
|
74
|
+
conditions: [
|
|
75
|
+
[a, [b]],
|
|
76
|
+
[a, c],
|
|
77
|
+
["aws.partition", c, "PartitionResult"],
|
|
78
|
+
["booleanEquals", [{ ref: "UseFIPS" }, true]]
|
|
79
|
+
],
|
|
80
|
+
results: [
|
|
81
|
+
[-1],
|
|
82
|
+
[-1, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
83
|
+
[b, {}],
|
|
84
|
+
["https://partnercentral-benefits-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
|
|
85
|
+
["https://partnercentral-benefits.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
|
|
86
|
+
[-1, "Invalid Configuration: Missing Region"]
|
|
87
|
+
]
|
|
88
|
+
};
|
|
89
|
+
const root = 2;
|
|
90
|
+
const r = 100_000_000;
|
|
91
|
+
const nodes = new Int32Array([
|
|
92
|
+
-1, 1, -1,
|
|
93
|
+
0, 6, 3,
|
|
94
|
+
1, 4, r + 5,
|
|
95
|
+
2, 5, r + 5,
|
|
96
|
+
3, r + 3, r + 4,
|
|
97
|
+
3, r + 1, r + 2,
|
|
98
|
+
]);
|
|
99
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
100
|
+
|
|
101
|
+
const cache = new EndpointCache({
|
|
102
|
+
size: 50,
|
|
103
|
+
params: ["Endpoint", "Region", "UseFIPS"],
|
|
104
|
+
});
|
|
105
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
106
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
107
|
+
endpointParams: endpointParams,
|
|
108
|
+
logger: context.logger,
|
|
109
|
+
}));
|
|
110
|
+
};
|
|
111
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
112
|
+
|
|
113
|
+
class PartnerCentralBenefitsServiceException extends ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, PartnerCentralBenefitsServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
class AccessDeniedException extends PartnerCentralBenefitsServiceException {
|
|
121
|
+
name = "AccessDeniedException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
Message;
|
|
124
|
+
constructor(opts) {
|
|
125
|
+
super({
|
|
126
|
+
name: "AccessDeniedException",
|
|
127
|
+
$fault: "client",
|
|
128
|
+
...opts,
|
|
129
|
+
});
|
|
130
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
|
+
this.Message = opts.Message;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
class ConflictException extends PartnerCentralBenefitsServiceException {
|
|
135
|
+
name = "ConflictException";
|
|
136
|
+
$fault = "client";
|
|
137
|
+
Message;
|
|
138
|
+
constructor(opts) {
|
|
139
|
+
super({
|
|
140
|
+
name: "ConflictException",
|
|
141
|
+
$fault: "client",
|
|
142
|
+
...opts,
|
|
143
|
+
});
|
|
144
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
145
|
+
this.Message = opts.Message;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
class InternalServerException extends PartnerCentralBenefitsServiceException {
|
|
149
|
+
name = "InternalServerException";
|
|
150
|
+
$fault = "server";
|
|
151
|
+
Message;
|
|
152
|
+
constructor(opts) {
|
|
153
|
+
super({
|
|
154
|
+
name: "InternalServerException",
|
|
155
|
+
$fault: "server",
|
|
156
|
+
...opts,
|
|
157
|
+
});
|
|
158
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
159
|
+
this.Message = opts.Message;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
class ResourceNotFoundException extends PartnerCentralBenefitsServiceException {
|
|
163
|
+
name = "ResourceNotFoundException";
|
|
164
|
+
$fault = "client";
|
|
165
|
+
Message;
|
|
166
|
+
constructor(opts) {
|
|
167
|
+
super({
|
|
168
|
+
name: "ResourceNotFoundException",
|
|
169
|
+
$fault: "client",
|
|
170
|
+
...opts,
|
|
171
|
+
});
|
|
172
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
173
|
+
this.Message = opts.Message;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
class ThrottlingException extends PartnerCentralBenefitsServiceException {
|
|
177
|
+
name = "ThrottlingException";
|
|
178
|
+
$fault = "client";
|
|
179
|
+
Message;
|
|
180
|
+
constructor(opts) {
|
|
181
|
+
super({
|
|
182
|
+
name: "ThrottlingException",
|
|
183
|
+
$fault: "client",
|
|
184
|
+
...opts,
|
|
185
|
+
});
|
|
186
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
187
|
+
this.Message = opts.Message;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
class ValidationException extends PartnerCentralBenefitsServiceException {
|
|
191
|
+
name = "ValidationException";
|
|
192
|
+
$fault = "client";
|
|
193
|
+
Message;
|
|
194
|
+
Reason;
|
|
195
|
+
FieldList;
|
|
196
|
+
constructor(opts) {
|
|
197
|
+
super({
|
|
198
|
+
name: "ValidationException",
|
|
199
|
+
$fault: "client",
|
|
200
|
+
...opts,
|
|
201
|
+
});
|
|
202
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
203
|
+
this.Message = opts.Message;
|
|
204
|
+
this.Reason = opts.Reason;
|
|
205
|
+
this.FieldList = opts.FieldList;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
class ServiceQuotaExceededException extends PartnerCentralBenefitsServiceException {
|
|
209
|
+
name = "ServiceQuotaExceededException";
|
|
210
|
+
$fault = "client";
|
|
211
|
+
$retryable = {};
|
|
212
|
+
Message;
|
|
213
|
+
ResourceId;
|
|
214
|
+
ResourceType;
|
|
215
|
+
QuotaCode;
|
|
216
|
+
constructor(opts) {
|
|
217
|
+
super({
|
|
218
|
+
name: "ServiceQuotaExceededException",
|
|
219
|
+
$fault: "client",
|
|
220
|
+
...opts,
|
|
221
|
+
});
|
|
222
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
223
|
+
this.Message = opts.Message;
|
|
224
|
+
this.ResourceId = opts.ResourceId;
|
|
225
|
+
this.ResourceType = opts.ResourceType;
|
|
226
|
+
this.QuotaCode = opts.QuotaCode;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
const _A = "Amendments";
|
|
231
|
+
const _AA = "AllocatedAmount";
|
|
232
|
+
const _AAI = "AwsAccountId";
|
|
233
|
+
const _ABA = "AmendBenefitApplication";
|
|
234
|
+
const _ABAI = "AmendBenefitApplicationInput";
|
|
235
|
+
const _ABAO = "AmendBenefitApplicationOutput";
|
|
236
|
+
const _ABAR = "AssociateBenefitApplicationResource";
|
|
237
|
+
const _ABARI = "AssociateBenefitApplicationResourceInput";
|
|
238
|
+
const _ABARO = "AssociateBenefitApplicationResourceOutput";
|
|
239
|
+
const _ABI = "ApplicableBenefitIds";
|
|
240
|
+
const _ACC = "AwsCreditCode";
|
|
241
|
+
const _AD = "AccessDetails";
|
|
242
|
+
const _ADE = "AccessDeniedException";
|
|
243
|
+
const _AL = "AmendmentList";
|
|
244
|
+
const _AR = "AmendmentReason";
|
|
245
|
+
const _ARA = "AssociatedResourceArns";
|
|
246
|
+
const _ARs = "AssociatedResource";
|
|
247
|
+
const _ARss = "AssociatedResources";
|
|
248
|
+
const _Am = "Amendment";
|
|
249
|
+
const _Amo = "Amount";
|
|
250
|
+
const _Ar = "Arn";
|
|
251
|
+
const _BAD = "BenefitApplicationDetails";
|
|
252
|
+
const _BAI = "BenefitApplicationIdentifier";
|
|
253
|
+
const _BAIe = "BenefitApplicationId";
|
|
254
|
+
const _BAIen = "BenefitApplicationIdentifiers";
|
|
255
|
+
const _BAS = "BenefitAllocationSummary";
|
|
256
|
+
const _BASe = "BenefitApplicationSummary";
|
|
257
|
+
const _BASen = "BenefitAllocationSummaries";
|
|
258
|
+
const _BASene = "BenefitApplicationSummaries";
|
|
259
|
+
const _BI = "BenefitId";
|
|
260
|
+
const _BIe = "BenefitIdentifier";
|
|
261
|
+
const _BIen = "BenefitIdentifiers";
|
|
262
|
+
const _BRS = "BenefitRequestSchema";
|
|
263
|
+
const _BS = "BenefitSummary";
|
|
264
|
+
const _BSe = "BenefitSummaries";
|
|
265
|
+
const _BT = "BusinessTitle";
|
|
266
|
+
const _BUC = "BusinessUseCase";
|
|
267
|
+
const _C = "Catalog";
|
|
268
|
+
const _CA = "CreatedAt";
|
|
269
|
+
const _CB = "CreatedBy";
|
|
270
|
+
const _CBA = "CancelBenefitApplication";
|
|
271
|
+
const _CBAI = "CancelBenefitApplicationInput";
|
|
272
|
+
const _CBAIr = "CreateBenefitApplicationInput";
|
|
273
|
+
const _CBAO = "CancelBenefitApplicationOutput";
|
|
274
|
+
const _CBAOr = "CreateBenefitApplicationOutput";
|
|
275
|
+
const _CBAr = "CreateBenefitApplication";
|
|
276
|
+
const _CC = "CreditCode";
|
|
277
|
+
const _CCr = "CreditCodes";
|
|
278
|
+
const _CCu = "CurrencyCode";
|
|
279
|
+
const _CD = "ConsumableDetails";
|
|
280
|
+
const _CDr = "CreditDetails";
|
|
281
|
+
const _CE = "ConflictException";
|
|
282
|
+
const _CEo = "ContactEmail";
|
|
283
|
+
const _CFN = "ContactFirstName";
|
|
284
|
+
const _CLN = "ContactLastName";
|
|
285
|
+
const _CP = "ContactPhone";
|
|
286
|
+
const _CT = "ClientToken";
|
|
287
|
+
const _Co = "Contact";
|
|
288
|
+
const _Cod = "Codes";
|
|
289
|
+
const _Code = "Code";
|
|
290
|
+
const _Con = "Contacts";
|
|
291
|
+
const _D = "Description";
|
|
292
|
+
const _DA = "DisbursedAmount";
|
|
293
|
+
const _DBAR = "DisassociateBenefitApplicationResource";
|
|
294
|
+
const _DBARI = "DisassociateBenefitApplicationResourceInput";
|
|
295
|
+
const _DBARO = "DisassociateBenefitApplicationResourceOutput";
|
|
296
|
+
const _DD = "DisbursementDetails";
|
|
297
|
+
const _E = "Email";
|
|
298
|
+
const _EA = "ExpiresAt";
|
|
299
|
+
const _FD = "FileDetails";
|
|
300
|
+
const _FDi = "FileDetail";
|
|
301
|
+
const _FDu = "FulfillmentDetail";
|
|
302
|
+
const _FDul = "FulfillmentDetails";
|
|
303
|
+
const _FI = "FileInput";
|
|
304
|
+
const _FID = "FileInputDetails";
|
|
305
|
+
const _FL = "FieldList";
|
|
306
|
+
const _FN = "FirstName";
|
|
307
|
+
const _FNi = "FileName";
|
|
308
|
+
const _FP = "FieldPath";
|
|
309
|
+
const _FS = "FileStatus";
|
|
310
|
+
const _FSR = "FileStatusReason";
|
|
311
|
+
const _FT = "FulfillmentTypes";
|
|
312
|
+
const _FTi = "FileType";
|
|
313
|
+
const _FTu = "FulfillmentType";
|
|
314
|
+
const _FURI = "FileURI";
|
|
315
|
+
const _GB = "GetBenefit";
|
|
316
|
+
const _GBA = "GetBenefitAllocation";
|
|
317
|
+
const _GBAI = "GetBenefitAllocationInput";
|
|
318
|
+
const _GBAIe = "GetBenefitApplicationInput";
|
|
319
|
+
const _GBAO = "GetBenefitAllocationOutput";
|
|
320
|
+
const _GBAOe = "GetBenefitApplicationOutput";
|
|
321
|
+
const _GBAe = "GetBenefitApplication";
|
|
322
|
+
const _GBI = "GetBenefitInput";
|
|
323
|
+
const _GBO = "GetBenefitOutput";
|
|
324
|
+
const _I = "Identifier";
|
|
325
|
+
const _IA = "IssuedAt";
|
|
326
|
+
const _IAs = "IssuedAmount";
|
|
327
|
+
const _IAss = "IssuanceAmount";
|
|
328
|
+
const _ID = "IssuanceDetails";
|
|
329
|
+
const _IDs = "IssuanceDetail";
|
|
330
|
+
const _II = "IssuanceId";
|
|
331
|
+
const _ISE = "InternalServerException";
|
|
332
|
+
const _Id = "Id";
|
|
333
|
+
const _K = "Key";
|
|
334
|
+
const _LB = "ListBenefits";
|
|
335
|
+
const _LBA = "ListBenefitAllocations";
|
|
336
|
+
const _LBAI = "ListBenefitAllocationsInput";
|
|
337
|
+
const _LBAIi = "ListBenefitApplicationsInput";
|
|
338
|
+
const _LBAO = "ListBenefitAllocationsOutput";
|
|
339
|
+
const _LBAOi = "ListBenefitApplicationsOutput";
|
|
340
|
+
const _LBAi = "ListBenefitApplications";
|
|
341
|
+
const _LBI = "ListBenefitsInput";
|
|
342
|
+
const _LBO = "ListBenefitsOutput";
|
|
343
|
+
const _LN = "LastName";
|
|
344
|
+
const _LTFR = "ListTagsForResource";
|
|
345
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
346
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
347
|
+
const _M = "Message";
|
|
348
|
+
const _MR = "MaxResults";
|
|
349
|
+
const _MV = "MonetaryValue";
|
|
350
|
+
const _N = "Name";
|
|
351
|
+
const _NT = "NextToken";
|
|
352
|
+
const _NV = "NewValue";
|
|
353
|
+
const _P = "Programs";
|
|
354
|
+
const _PC = "PartnerContacts";
|
|
355
|
+
const _Ph = "Phone";
|
|
356
|
+
const _QC = "QuotaCode";
|
|
357
|
+
const _R = "Reason";
|
|
358
|
+
const _RA = "ResourceArn";
|
|
359
|
+
const _RAe = "RemainingAmount";
|
|
360
|
+
const _RBA = "RecallBenefitApplication";
|
|
361
|
+
const _RBAI = "RecallBenefitApplicationInput";
|
|
362
|
+
const _RBAO = "RecallBenefitApplicationOutput";
|
|
363
|
+
const _RI = "ResourceId";
|
|
364
|
+
const _RIe = "ResourceIdentifier";
|
|
365
|
+
const _RNFE = "ResourceNotFoundException";
|
|
366
|
+
const _RT = "ResourceType";
|
|
367
|
+
const _Re = "Revision";
|
|
368
|
+
const _S = "Status";
|
|
369
|
+
const _SA = "StartsAt";
|
|
370
|
+
const _SBA = "SubmitBenefitApplication";
|
|
371
|
+
const _SBAI = "SubmitBenefitApplicationInput";
|
|
372
|
+
const _SBAO = "SubmitBenefitApplicationOutput";
|
|
373
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
374
|
+
const _SR = "StatusReason";
|
|
375
|
+
const _SRC = "StatusReasonCode";
|
|
376
|
+
const _SRCt = "StatusReasonCodes";
|
|
377
|
+
const _St = "Stage";
|
|
378
|
+
const _Sta = "Stages";
|
|
379
|
+
const _T = "Tags";
|
|
380
|
+
const _TE = "ThrottlingException";
|
|
381
|
+
const _TR = "TagResource";
|
|
382
|
+
const _TRR = "TagResourceRequest";
|
|
383
|
+
const _TRRa = "TagResourceResponse";
|
|
384
|
+
const _Ta = "Tag";
|
|
385
|
+
const _UA = "UpdatedAt";
|
|
386
|
+
const _UAt = "UtilizedAmount";
|
|
387
|
+
const _UBA = "UpdateBenefitApplication";
|
|
388
|
+
const _UBAI = "UpdateBenefitApplicationInput";
|
|
389
|
+
const _UBAO = "UpdateBenefitApplicationOutput";
|
|
390
|
+
const _UR = "UntagResource";
|
|
391
|
+
const _URR = "UntagResourceRequest";
|
|
392
|
+
const _URRn = "UntagResourceResponse";
|
|
393
|
+
const _V = "Value";
|
|
394
|
+
const _VE = "ValidationException";
|
|
395
|
+
const _VEF = "ValidationExceptionField";
|
|
396
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
397
|
+
const _c = "client";
|
|
398
|
+
const _e = "error";
|
|
399
|
+
const _h = "http";
|
|
400
|
+
const _hE = "httpError";
|
|
401
|
+
const _rA = "resourceArn";
|
|
402
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.partnercentralbenefits";
|
|
403
|
+
const _se = "server";
|
|
404
|
+
const _t = "tags";
|
|
405
|
+
const _tK = "tagKeys";
|
|
406
|
+
const n0 = "com.amazonaws.partnercentralbenefits";
|
|
407
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
408
|
+
var PartnerCentralBenefitsServiceException$ = [-3, _s, "PartnerCentralBenefitsServiceException", 0, [], []];
|
|
409
|
+
_s_registry.registerError(PartnerCentralBenefitsServiceException$, PartnerCentralBenefitsServiceException);
|
|
410
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
411
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
412
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
413
|
+
[_M],
|
|
414
|
+
[0], 1
|
|
415
|
+
];
|
|
416
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
417
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
418
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
419
|
+
[_M],
|
|
420
|
+
[0], 1
|
|
421
|
+
];
|
|
422
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
423
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
424
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
425
|
+
[_M],
|
|
426
|
+
[0], 1
|
|
427
|
+
];
|
|
428
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
429
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
430
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
431
|
+
[_M],
|
|
432
|
+
[0], 1
|
|
433
|
+
];
|
|
434
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
435
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
436
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
437
|
+
[_M, _RI, _RT, _QC],
|
|
438
|
+
[0, 0, 0, 0], 4
|
|
439
|
+
];
|
|
440
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
441
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
442
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
443
|
+
[_M],
|
|
444
|
+
[0], 1
|
|
445
|
+
];
|
|
446
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
447
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
448
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
449
|
+
[_M, _R, _FL],
|
|
450
|
+
[0, 0, () => ValidationExceptionFieldList], 2
|
|
451
|
+
];
|
|
452
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
453
|
+
const errorTypeRegistries = [
|
|
454
|
+
_s_registry,
|
|
455
|
+
n0_registry,
|
|
456
|
+
];
|
|
457
|
+
var ContactEmail = [0, n0, _CEo, 8, 0];
|
|
458
|
+
var ContactFirstName = [0, n0, _CFN, 8, 0];
|
|
459
|
+
var ContactLastName = [0, n0, _CLN, 8, 0];
|
|
460
|
+
var ContactPhone = [0, n0, _CP, 8, 0];
|
|
461
|
+
var AccessDetails$ = [3, n0, _AD,
|
|
462
|
+
0,
|
|
463
|
+
[_D],
|
|
464
|
+
[0]
|
|
465
|
+
];
|
|
466
|
+
var AmendBenefitApplicationInput$ = [3, n0, _ABAI,
|
|
467
|
+
0,
|
|
468
|
+
[_C, _CT, _Re, _I, _AR, _A],
|
|
469
|
+
[0, 0, 0, 0, 0, () => AmendmentList], 6
|
|
470
|
+
];
|
|
471
|
+
var AmendBenefitApplicationOutput$ = [3, n0, _ABAO,
|
|
472
|
+
0,
|
|
473
|
+
[],
|
|
474
|
+
[]
|
|
475
|
+
];
|
|
476
|
+
var Amendment$ = [3, n0, _Am,
|
|
477
|
+
0,
|
|
478
|
+
[_FP, _NV],
|
|
479
|
+
[0, 0], 2
|
|
480
|
+
];
|
|
481
|
+
var AssociateBenefitApplicationResourceInput$ = [3, n0, _ABARI,
|
|
482
|
+
0,
|
|
483
|
+
[_C, _BAI, _RA],
|
|
484
|
+
[0, 0, 0], 3
|
|
485
|
+
];
|
|
486
|
+
var AssociateBenefitApplicationResourceOutput$ = [3, n0, _ABARO,
|
|
487
|
+
0,
|
|
488
|
+
[_Id, _Ar, _Re],
|
|
489
|
+
[0, 0, 0]
|
|
490
|
+
];
|
|
491
|
+
var AssociatedResource$ = [3, n0, _ARs,
|
|
492
|
+
0,
|
|
493
|
+
[_RT, _RIe, _RA],
|
|
494
|
+
[0, 0, 0]
|
|
495
|
+
];
|
|
496
|
+
var BenefitAllocationSummary$ = [3, n0, _BAS,
|
|
497
|
+
0,
|
|
498
|
+
[_Id, _C, _Ar, _S, _SR, _N, _BI, _BAIe, _FT, _CA, _EA, _ABI],
|
|
499
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 5, 5, 64 | 0]
|
|
500
|
+
];
|
|
501
|
+
var BenefitApplicationSummary$ = [3, n0, _BASe,
|
|
502
|
+
0,
|
|
503
|
+
[_C, _N, _Id, _Ar, _BI, _P, _FT, _S, _St, _CA, _UA, _BAD, _ARss],
|
|
504
|
+
[0, 0, 0, 0, 0, 64 | 0, 64 | 0, 0, 0, 5, 5, 128 | 0, 64 | 0]
|
|
505
|
+
];
|
|
506
|
+
var BenefitSummary$ = [3, n0, _BS,
|
|
507
|
+
0,
|
|
508
|
+
[_Id, _C, _Ar, _N, _D, _P, _FT, _S],
|
|
509
|
+
[0, 0, 0, 0, 0, 64 | 0, 64 | 0, 0]
|
|
510
|
+
];
|
|
511
|
+
var CancelBenefitApplicationInput$ = [3, n0, _CBAI,
|
|
512
|
+
0,
|
|
513
|
+
[_C, _CT, _I, _R],
|
|
514
|
+
[0, 0, 0, 0], 3
|
|
515
|
+
];
|
|
516
|
+
var CancelBenefitApplicationOutput$ = [3, n0, _CBAO,
|
|
517
|
+
0,
|
|
518
|
+
[],
|
|
519
|
+
[]
|
|
520
|
+
];
|
|
521
|
+
var ConsumableDetails$ = [3, n0, _CD,
|
|
522
|
+
0,
|
|
523
|
+
[_AA, _RAe, _UAt, _ID],
|
|
524
|
+
[() => MonetaryValue$, () => MonetaryValue$, () => MonetaryValue$, () => IssuanceDetail$]
|
|
525
|
+
];
|
|
526
|
+
var Contact$ = [3, n0, _Co,
|
|
527
|
+
0,
|
|
528
|
+
[_E, _FN, _LN, _BT, _Ph],
|
|
529
|
+
[[() => ContactEmail, 0], [() => ContactFirstName, 0], [() => ContactLastName, 0], 0, [() => ContactPhone, 0]]
|
|
530
|
+
];
|
|
531
|
+
var CreateBenefitApplicationInput$ = [3, n0, _CBAIr,
|
|
532
|
+
0,
|
|
533
|
+
[_C, _CT, _BIe, _N, _D, _FT, _BAD, _T, _ARss, _PC, _FD],
|
|
534
|
+
[0, 0, 0, 0, 0, 64 | 0, 15, () => Tags, 64 | 0, [() => Contacts, 0], () => FileInputDetails], 3
|
|
535
|
+
];
|
|
536
|
+
var CreateBenefitApplicationOutput$ = [3, n0, _CBAOr,
|
|
537
|
+
0,
|
|
538
|
+
[_Id, _Ar, _Re],
|
|
539
|
+
[0, 0, 0]
|
|
540
|
+
];
|
|
541
|
+
var CreditCode$ = [3, n0, _CC,
|
|
542
|
+
0,
|
|
543
|
+
[_AAI, _V, _ACC, _S, _IA, _EA],
|
|
544
|
+
[0, () => MonetaryValue$, 0, 0, 5, 5], 6
|
|
545
|
+
];
|
|
546
|
+
var CreditDetails$ = [3, n0, _CDr,
|
|
547
|
+
0,
|
|
548
|
+
[_AA, _IAs, _Cod],
|
|
549
|
+
[() => MonetaryValue$, () => MonetaryValue$, () => CreditCodes], 3
|
|
550
|
+
];
|
|
551
|
+
var DisassociateBenefitApplicationResourceInput$ = [3, n0, _DBARI,
|
|
552
|
+
0,
|
|
553
|
+
[_C, _BAI, _RA],
|
|
554
|
+
[0, 0, 0], 3
|
|
555
|
+
];
|
|
556
|
+
var DisassociateBenefitApplicationResourceOutput$ = [3, n0, _DBARO,
|
|
557
|
+
0,
|
|
558
|
+
[_Id, _Ar, _Re],
|
|
559
|
+
[0, 0, 0]
|
|
560
|
+
];
|
|
561
|
+
var DisbursementDetails$ = [3, n0, _DD,
|
|
562
|
+
0,
|
|
563
|
+
[_DA, _ID],
|
|
564
|
+
[() => MonetaryValue$, () => IssuanceDetail$]
|
|
565
|
+
];
|
|
566
|
+
var FileDetail$ = [3, n0, _FDi,
|
|
567
|
+
0,
|
|
568
|
+
[_FURI, _BUC, _FNi, _FS, _FSR, _FTi, _CB, _CA],
|
|
569
|
+
[0, 0, 0, 0, 0, 0, 0, 5], 1
|
|
570
|
+
];
|
|
571
|
+
var FileInput$ = [3, n0, _FI,
|
|
572
|
+
0,
|
|
573
|
+
[_FURI, _BUC],
|
|
574
|
+
[0, 0], 1
|
|
575
|
+
];
|
|
576
|
+
var GetBenefitAllocationInput$ = [3, n0, _GBAI,
|
|
577
|
+
0,
|
|
578
|
+
[_C, _I],
|
|
579
|
+
[0, 0], 2
|
|
580
|
+
];
|
|
581
|
+
var GetBenefitAllocationOutput$ = [3, n0, _GBAO,
|
|
582
|
+
0,
|
|
583
|
+
[_Id, _C, _Ar, _N, _D, _S, _SR, _BAIe, _BI, _FTu, _ABI, _FDu, _CA, _UA, _SA, _EA],
|
|
584
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, () => FulfillmentDetails$, 5, 5, 5, 5]
|
|
585
|
+
];
|
|
586
|
+
var GetBenefitApplicationInput$ = [3, n0, _GBAIe,
|
|
587
|
+
0,
|
|
588
|
+
[_C, _I],
|
|
589
|
+
[0, 0], 2
|
|
590
|
+
];
|
|
591
|
+
var GetBenefitApplicationOutput$ = [3, n0, _GBAOe,
|
|
592
|
+
0,
|
|
593
|
+
[_Id, _Ar, _C, _BI, _N, _D, _FT, _BAD, _P, _S, _St, _SR, _SRC, _SRCt, _CA, _UA, _Re, _ARss, _PC, _FD],
|
|
594
|
+
[0, 0, 0, 0, 0, 0, 64 | 0, 15, 64 | 0, 0, 0, 0, 0, 64 | 0, 5, 5, 0, 64 | 0, [() => Contacts, 0], () => FileDetails]
|
|
595
|
+
];
|
|
596
|
+
var GetBenefitInput$ = [3, n0, _GBI,
|
|
597
|
+
0,
|
|
598
|
+
[_C, _I],
|
|
599
|
+
[0, 0], 2
|
|
600
|
+
];
|
|
601
|
+
var GetBenefitOutput$ = [3, n0, _GBO,
|
|
602
|
+
0,
|
|
603
|
+
[_Id, _C, _Ar, _N, _D, _P, _FT, _BRS, _S],
|
|
604
|
+
[0, 0, 0, 0, 0, 64 | 0, 64 | 0, 15, 0]
|
|
605
|
+
];
|
|
606
|
+
var IssuanceDetail$ = [3, n0, _IDs,
|
|
607
|
+
0,
|
|
608
|
+
[_II, _IAss, _IA],
|
|
609
|
+
[0, () => MonetaryValue$, 5]
|
|
610
|
+
];
|
|
611
|
+
var ListBenefitAllocationsInput$ = [3, n0, _LBAI,
|
|
612
|
+
0,
|
|
613
|
+
[_C, _FT, _BIen, _BAIen, _S, _MR, _NT],
|
|
614
|
+
[0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 1, 0], 1
|
|
615
|
+
];
|
|
616
|
+
var ListBenefitAllocationsOutput$ = [3, n0, _LBAO,
|
|
617
|
+
0,
|
|
618
|
+
[_BASen, _NT],
|
|
619
|
+
[() => BenefitAllocationSummaries, 0]
|
|
620
|
+
];
|
|
621
|
+
var ListBenefitApplicationsInput$ = [3, n0, _LBAIi,
|
|
622
|
+
0,
|
|
623
|
+
[_C, _P, _FT, _BIen, _S, _Sta, _ARss, _ARA, _MR, _NT],
|
|
624
|
+
[0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, () => AssociatedResources, 64 | 0, 1, 0], 1
|
|
625
|
+
];
|
|
626
|
+
var ListBenefitApplicationsOutput$ = [3, n0, _LBAOi,
|
|
627
|
+
0,
|
|
628
|
+
[_BASene, _NT],
|
|
629
|
+
[() => BenefitApplicationSummaries, 0]
|
|
630
|
+
];
|
|
631
|
+
var ListBenefitsInput$ = [3, n0, _LBI,
|
|
632
|
+
0,
|
|
633
|
+
[_C, _P, _FT, _S, _MR, _NT],
|
|
634
|
+
[0, 64 | 0, 64 | 0, 64 | 0, 1, 0], 1
|
|
635
|
+
];
|
|
636
|
+
var ListBenefitsOutput$ = [3, n0, _LBO,
|
|
637
|
+
0,
|
|
638
|
+
[_BSe, _NT],
|
|
639
|
+
[() => BenefitSummaries, 0]
|
|
640
|
+
];
|
|
641
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
642
|
+
0,
|
|
643
|
+
[_rA],
|
|
644
|
+
[0], 1
|
|
645
|
+
];
|
|
646
|
+
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
647
|
+
0,
|
|
648
|
+
[_t],
|
|
649
|
+
[() => Tags]
|
|
650
|
+
];
|
|
651
|
+
var MonetaryValue$ = [3, n0, _MV,
|
|
652
|
+
0,
|
|
653
|
+
[_Amo, _CCu],
|
|
654
|
+
[0, 0], 2
|
|
655
|
+
];
|
|
656
|
+
var RecallBenefitApplicationInput$ = [3, n0, _RBAI,
|
|
657
|
+
0,
|
|
658
|
+
[_C, _I, _R, _CT],
|
|
659
|
+
[0, 0, 0, 0], 3
|
|
660
|
+
];
|
|
661
|
+
var RecallBenefitApplicationOutput$ = [3, n0, _RBAO,
|
|
662
|
+
0,
|
|
663
|
+
[],
|
|
664
|
+
[]
|
|
665
|
+
];
|
|
666
|
+
var SubmitBenefitApplicationInput$ = [3, n0, _SBAI,
|
|
667
|
+
0,
|
|
668
|
+
[_C, _I],
|
|
669
|
+
[0, 0], 2
|
|
670
|
+
];
|
|
671
|
+
var SubmitBenefitApplicationOutput$ = [3, n0, _SBAO,
|
|
672
|
+
0,
|
|
673
|
+
[],
|
|
674
|
+
[]
|
|
675
|
+
];
|
|
676
|
+
var Tag$ = [3, n0, _Ta,
|
|
677
|
+
0,
|
|
678
|
+
[_K, _V],
|
|
679
|
+
[0, 0], 2
|
|
680
|
+
];
|
|
681
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
682
|
+
0,
|
|
683
|
+
[_rA, _t],
|
|
684
|
+
[0, () => Tags], 2
|
|
685
|
+
];
|
|
686
|
+
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
687
|
+
0,
|
|
688
|
+
[],
|
|
689
|
+
[]
|
|
690
|
+
];
|
|
691
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
692
|
+
0,
|
|
693
|
+
[_rA, _tK],
|
|
694
|
+
[0, 64 | 0], 2
|
|
695
|
+
];
|
|
696
|
+
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
697
|
+
0,
|
|
698
|
+
[],
|
|
699
|
+
[]
|
|
700
|
+
];
|
|
701
|
+
var UpdateBenefitApplicationInput$ = [3, n0, _UBAI,
|
|
702
|
+
0,
|
|
703
|
+
[_C, _CT, _I, _Re, _N, _D, _BAD, _PC, _FD],
|
|
704
|
+
[0, 0, 0, 0, 0, 0, 15, [() => Contacts, 0], () => FileInputDetails], 4
|
|
705
|
+
];
|
|
706
|
+
var UpdateBenefitApplicationOutput$ = [3, n0, _UBAO,
|
|
707
|
+
0,
|
|
708
|
+
[_Id, _Ar, _Re],
|
|
709
|
+
[0, 0, 0]
|
|
710
|
+
];
|
|
711
|
+
var ValidationExceptionField$ = [3, n0, _VEF,
|
|
712
|
+
0,
|
|
713
|
+
[_N, _M, _Code],
|
|
714
|
+
[0, 0, 0], 2
|
|
715
|
+
];
|
|
716
|
+
var AmendmentList = [1, n0, _AL,
|
|
717
|
+
0, () => Amendment$
|
|
718
|
+
];
|
|
719
|
+
var AssociatedResources = [1, n0, _ARss,
|
|
720
|
+
0, () => AssociatedResource$
|
|
721
|
+
];
|
|
722
|
+
var BenefitAllocationSummaries = [1, n0, _BASen,
|
|
723
|
+
0, () => BenefitAllocationSummary$
|
|
724
|
+
];
|
|
725
|
+
var BenefitApplicationSummaries = [1, n0, _BASene,
|
|
726
|
+
0, () => BenefitApplicationSummary$
|
|
727
|
+
];
|
|
728
|
+
var BenefitSummaries = [1, n0, _BSe,
|
|
729
|
+
0, () => BenefitSummary$
|
|
730
|
+
];
|
|
731
|
+
var Contacts = [1, n0, _Con,
|
|
732
|
+
0, [() => Contact$,
|
|
733
|
+
0]
|
|
734
|
+
];
|
|
735
|
+
var CreditCodes = [1, n0, _CCr,
|
|
736
|
+
0, () => CreditCode$
|
|
737
|
+
];
|
|
738
|
+
var FileDetails = [1, n0, _FD,
|
|
739
|
+
0, () => FileDetail$
|
|
740
|
+
];
|
|
741
|
+
var FileInputDetails = [1, n0, _FID,
|
|
742
|
+
0, () => FileInput$
|
|
743
|
+
];
|
|
744
|
+
var Tags = [1, n0, _T,
|
|
745
|
+
0, () => Tag$
|
|
746
|
+
];
|
|
747
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
748
|
+
0, () => ValidationExceptionField$
|
|
749
|
+
];
|
|
750
|
+
var FulfillmentDetails$ = [4, n0, _FDul,
|
|
751
|
+
0,
|
|
752
|
+
[_DD, _CD, _CDr, _AD],
|
|
753
|
+
[() => DisbursementDetails$, () => ConsumableDetails$, () => CreditDetails$, () => AccessDetails$]
|
|
754
|
+
];
|
|
755
|
+
var AmendBenefitApplication$ = [9, n0, _ABA,
|
|
756
|
+
{ [_h]: ["POST", "/AmendBenefitApplication", 200] }, () => AmendBenefitApplicationInput$, () => AmendBenefitApplicationOutput$
|
|
757
|
+
];
|
|
758
|
+
var AssociateBenefitApplicationResource$ = [9, n0, _ABAR,
|
|
759
|
+
{ [_h]: ["POST", "/AssociateBenefitApplicationResource", 200] }, () => AssociateBenefitApplicationResourceInput$, () => AssociateBenefitApplicationResourceOutput$
|
|
760
|
+
];
|
|
761
|
+
var CancelBenefitApplication$ = [9, n0, _CBA,
|
|
762
|
+
{ [_h]: ["POST", "/CancelBenefitApplication", 200] }, () => CancelBenefitApplicationInput$, () => CancelBenefitApplicationOutput$
|
|
763
|
+
];
|
|
764
|
+
var CreateBenefitApplication$ = [9, n0, _CBAr,
|
|
765
|
+
{ [_h]: ["POST", "/CreateBenefitApplication", 200] }, () => CreateBenefitApplicationInput$, () => CreateBenefitApplicationOutput$
|
|
766
|
+
];
|
|
767
|
+
var DisassociateBenefitApplicationResource$ = [9, n0, _DBAR,
|
|
768
|
+
{ [_h]: ["POST", "/DisassociateBenefitApplicationResource", 200] }, () => DisassociateBenefitApplicationResourceInput$, () => DisassociateBenefitApplicationResourceOutput$
|
|
769
|
+
];
|
|
770
|
+
var GetBenefit$ = [9, n0, _GB,
|
|
771
|
+
{ [_h]: ["POST", "/GetBenefit", 200] }, () => GetBenefitInput$, () => GetBenefitOutput$
|
|
772
|
+
];
|
|
773
|
+
var GetBenefitAllocation$ = [9, n0, _GBA,
|
|
774
|
+
{ [_h]: ["POST", "/GetBenefitAllocation", 200] }, () => GetBenefitAllocationInput$, () => GetBenefitAllocationOutput$
|
|
775
|
+
];
|
|
776
|
+
var GetBenefitApplication$ = [9, n0, _GBAe,
|
|
777
|
+
{ [_h]: ["POST", "/GetBenefitApplication", 200] }, () => GetBenefitApplicationInput$, () => GetBenefitApplicationOutput$
|
|
778
|
+
];
|
|
779
|
+
var ListBenefitAllocations$ = [9, n0, _LBA,
|
|
780
|
+
{ [_h]: ["POST", "/ListBenefitAllocations", 200] }, () => ListBenefitAllocationsInput$, () => ListBenefitAllocationsOutput$
|
|
781
|
+
];
|
|
782
|
+
var ListBenefitApplications$ = [9, n0, _LBAi,
|
|
783
|
+
{ [_h]: ["POST", "/ListBenefitApplications", 200] }, () => ListBenefitApplicationsInput$, () => ListBenefitApplicationsOutput$
|
|
784
|
+
];
|
|
785
|
+
var ListBenefits$ = [9, n0, _LB,
|
|
786
|
+
{ [_h]: ["POST", "/ListBenefits", 200] }, () => ListBenefitsInput$, () => ListBenefitsOutput$
|
|
787
|
+
];
|
|
788
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
789
|
+
{ [_h]: ["POST", "/ListTagsForResource", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
790
|
+
];
|
|
791
|
+
var RecallBenefitApplication$ = [9, n0, _RBA,
|
|
792
|
+
{ [_h]: ["POST", "/RecallBenefitApplication", 200] }, () => RecallBenefitApplicationInput$, () => RecallBenefitApplicationOutput$
|
|
793
|
+
];
|
|
794
|
+
var SubmitBenefitApplication$ = [9, n0, _SBA,
|
|
795
|
+
{ [_h]: ["POST", "/SubmitBenefitApplication", 200] }, () => SubmitBenefitApplicationInput$, () => SubmitBenefitApplicationOutput$
|
|
796
|
+
];
|
|
797
|
+
var TagResource$ = [9, n0, _TR,
|
|
798
|
+
{ [_h]: ["POST", "/TagResource", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
|
|
799
|
+
];
|
|
800
|
+
var UntagResource$ = [9, n0, _UR,
|
|
801
|
+
{ [_h]: ["POST", "/UntagResource", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
802
|
+
];
|
|
803
|
+
var UpdateBenefitApplication$ = [9, n0, _UBA,
|
|
804
|
+
{ [_h]: ["POST", "/UpdateBenefitApplication", 200] }, () => UpdateBenefitApplicationInput$, () => UpdateBenefitApplicationOutput$
|
|
805
|
+
];
|
|
806
|
+
|
|
807
|
+
const getRuntimeConfig$1 = (config) => {
|
|
808
|
+
return {
|
|
809
|
+
apiVersion: "2018-05-10",
|
|
810
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
811
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
812
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
813
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
814
|
+
extensions: config?.extensions ?? [],
|
|
815
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultPartnerCentralBenefitsHttpAuthSchemeProvider,
|
|
816
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
817
|
+
{
|
|
818
|
+
schemeId: "aws.auth#sigv4",
|
|
819
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
820
|
+
signer: new AwsSdkSigV4Signer(),
|
|
821
|
+
},
|
|
822
|
+
],
|
|
823
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
824
|
+
protocol: config?.protocol ?? AwsJson1_0Protocol,
|
|
825
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
826
|
+
defaultNamespace: "com.amazonaws.partnercentralbenefits",
|
|
827
|
+
errorTypeRegistries,
|
|
828
|
+
version: "2018-05-10",
|
|
829
|
+
serviceTarget: "PartnerCentralBenefitsService",
|
|
830
|
+
},
|
|
831
|
+
serviceId: config?.serviceId ?? "PartnerCentral Benefits",
|
|
832
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
833
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
834
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
835
|
+
};
|
|
836
|
+
};
|
|
837
|
+
|
|
838
|
+
const getRuntimeConfig = (config) => {
|
|
839
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
840
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
841
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
842
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
843
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
844
|
+
const loaderConfig = {
|
|
845
|
+
profile: config?.profile,
|
|
846
|
+
logger: clientSharedValues.logger,
|
|
847
|
+
};
|
|
848
|
+
return {
|
|
849
|
+
...clientSharedValues,
|
|
850
|
+
...config,
|
|
851
|
+
runtime: "node",
|
|
852
|
+
defaultsMode,
|
|
853
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
854
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
855
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
856
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
857
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
858
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
859
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
860
|
+
retryMode: config?.retryMode ??
|
|
861
|
+
loadConfig({
|
|
862
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
863
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
864
|
+
}, config),
|
|
865
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
866
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
867
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
868
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
869
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
|
|
32
873
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
33
874
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
34
875
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -501,34 +1342,120 @@ const FileType = {
|
|
|
501
1342
|
XLSX: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
502
1343
|
};
|
|
503
1344
|
|
|
1345
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1346
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
1347
|
+
exports.AccessDetails$ = AccessDetails$;
|
|
1348
|
+
exports.AmendBenefitApplication$ = AmendBenefitApplication$;
|
|
504
1349
|
exports.AmendBenefitApplicationCommand = AmendBenefitApplicationCommand;
|
|
1350
|
+
exports.AmendBenefitApplicationInput$ = AmendBenefitApplicationInput$;
|
|
1351
|
+
exports.AmendBenefitApplicationOutput$ = AmendBenefitApplicationOutput$;
|
|
1352
|
+
exports.Amendment$ = Amendment$;
|
|
1353
|
+
exports.AssociateBenefitApplicationResource$ = AssociateBenefitApplicationResource$;
|
|
505
1354
|
exports.AssociateBenefitApplicationResourceCommand = AssociateBenefitApplicationResourceCommand;
|
|
1355
|
+
exports.AssociateBenefitApplicationResourceInput$ = AssociateBenefitApplicationResourceInput$;
|
|
1356
|
+
exports.AssociateBenefitApplicationResourceOutput$ = AssociateBenefitApplicationResourceOutput$;
|
|
1357
|
+
exports.AssociatedResource$ = AssociatedResource$;
|
|
506
1358
|
exports.BenefitAllocationStatus = BenefitAllocationStatus;
|
|
1359
|
+
exports.BenefitAllocationSummary$ = BenefitAllocationSummary$;
|
|
507
1360
|
exports.BenefitApplicationStatus = BenefitApplicationStatus;
|
|
1361
|
+
exports.BenefitApplicationSummary$ = BenefitApplicationSummary$;
|
|
508
1362
|
exports.BenefitStatus = BenefitStatus;
|
|
1363
|
+
exports.BenefitSummary$ = BenefitSummary$;
|
|
1364
|
+
exports.CancelBenefitApplication$ = CancelBenefitApplication$;
|
|
509
1365
|
exports.CancelBenefitApplicationCommand = CancelBenefitApplicationCommand;
|
|
1366
|
+
exports.CancelBenefitApplicationInput$ = CancelBenefitApplicationInput$;
|
|
1367
|
+
exports.CancelBenefitApplicationOutput$ = CancelBenefitApplicationOutput$;
|
|
1368
|
+
exports.ConflictException = ConflictException;
|
|
1369
|
+
exports.ConflictException$ = ConflictException$;
|
|
1370
|
+
exports.ConsumableDetails$ = ConsumableDetails$;
|
|
1371
|
+
exports.Contact$ = Contact$;
|
|
1372
|
+
exports.CreateBenefitApplication$ = CreateBenefitApplication$;
|
|
510
1373
|
exports.CreateBenefitApplicationCommand = CreateBenefitApplicationCommand;
|
|
1374
|
+
exports.CreateBenefitApplicationInput$ = CreateBenefitApplicationInput$;
|
|
1375
|
+
exports.CreateBenefitApplicationOutput$ = CreateBenefitApplicationOutput$;
|
|
1376
|
+
exports.CreditCode$ = CreditCode$;
|
|
1377
|
+
exports.CreditDetails$ = CreditDetails$;
|
|
511
1378
|
exports.CurrencyCode = CurrencyCode;
|
|
1379
|
+
exports.DisassociateBenefitApplicationResource$ = DisassociateBenefitApplicationResource$;
|
|
512
1380
|
exports.DisassociateBenefitApplicationResourceCommand = DisassociateBenefitApplicationResourceCommand;
|
|
1381
|
+
exports.DisassociateBenefitApplicationResourceInput$ = DisassociateBenefitApplicationResourceInput$;
|
|
1382
|
+
exports.DisassociateBenefitApplicationResourceOutput$ = DisassociateBenefitApplicationResourceOutput$;
|
|
1383
|
+
exports.DisbursementDetails$ = DisbursementDetails$;
|
|
1384
|
+
exports.FileDetail$ = FileDetail$;
|
|
1385
|
+
exports.FileInput$ = FileInput$;
|
|
513
1386
|
exports.FileType = FileType;
|
|
1387
|
+
exports.FulfillmentDetails$ = FulfillmentDetails$;
|
|
514
1388
|
exports.FulfillmentType = FulfillmentType;
|
|
1389
|
+
exports.GetBenefit$ = GetBenefit$;
|
|
1390
|
+
exports.GetBenefitAllocation$ = GetBenefitAllocation$;
|
|
515
1391
|
exports.GetBenefitAllocationCommand = GetBenefitAllocationCommand;
|
|
1392
|
+
exports.GetBenefitAllocationInput$ = GetBenefitAllocationInput$;
|
|
1393
|
+
exports.GetBenefitAllocationOutput$ = GetBenefitAllocationOutput$;
|
|
1394
|
+
exports.GetBenefitApplication$ = GetBenefitApplication$;
|
|
516
1395
|
exports.GetBenefitApplicationCommand = GetBenefitApplicationCommand;
|
|
1396
|
+
exports.GetBenefitApplicationInput$ = GetBenefitApplicationInput$;
|
|
1397
|
+
exports.GetBenefitApplicationOutput$ = GetBenefitApplicationOutput$;
|
|
517
1398
|
exports.GetBenefitCommand = GetBenefitCommand;
|
|
1399
|
+
exports.GetBenefitInput$ = GetBenefitInput$;
|
|
1400
|
+
exports.GetBenefitOutput$ = GetBenefitOutput$;
|
|
1401
|
+
exports.InternalServerException = InternalServerException;
|
|
1402
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
1403
|
+
exports.IssuanceDetail$ = IssuanceDetail$;
|
|
1404
|
+
exports.ListBenefitAllocations$ = ListBenefitAllocations$;
|
|
518
1405
|
exports.ListBenefitAllocationsCommand = ListBenefitAllocationsCommand;
|
|
1406
|
+
exports.ListBenefitAllocationsInput$ = ListBenefitAllocationsInput$;
|
|
1407
|
+
exports.ListBenefitAllocationsOutput$ = ListBenefitAllocationsOutput$;
|
|
1408
|
+
exports.ListBenefitApplications$ = ListBenefitApplications$;
|
|
519
1409
|
exports.ListBenefitApplicationsCommand = ListBenefitApplicationsCommand;
|
|
1410
|
+
exports.ListBenefitApplicationsInput$ = ListBenefitApplicationsInput$;
|
|
1411
|
+
exports.ListBenefitApplicationsOutput$ = ListBenefitApplicationsOutput$;
|
|
1412
|
+
exports.ListBenefits$ = ListBenefits$;
|
|
520
1413
|
exports.ListBenefitsCommand = ListBenefitsCommand;
|
|
1414
|
+
exports.ListBenefitsInput$ = ListBenefitsInput$;
|
|
1415
|
+
exports.ListBenefitsOutput$ = ListBenefitsOutput$;
|
|
1416
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
521
1417
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1418
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
1419
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
1420
|
+
exports.MonetaryValue$ = MonetaryValue$;
|
|
522
1421
|
exports.PartnerCentralBenefits = PartnerCentralBenefits;
|
|
523
1422
|
exports.PartnerCentralBenefitsClient = PartnerCentralBenefitsClient;
|
|
1423
|
+
exports.PartnerCentralBenefitsServiceException = PartnerCentralBenefitsServiceException;
|
|
1424
|
+
exports.PartnerCentralBenefitsServiceException$ = PartnerCentralBenefitsServiceException$;
|
|
1425
|
+
exports.RecallBenefitApplication$ = RecallBenefitApplication$;
|
|
524
1426
|
exports.RecallBenefitApplicationCommand = RecallBenefitApplicationCommand;
|
|
1427
|
+
exports.RecallBenefitApplicationInput$ = RecallBenefitApplicationInput$;
|
|
1428
|
+
exports.RecallBenefitApplicationOutput$ = RecallBenefitApplicationOutput$;
|
|
1429
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1430
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
525
1431
|
exports.ResourceType = ResourceType;
|
|
1432
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1433
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
1434
|
+
exports.SubmitBenefitApplication$ = SubmitBenefitApplication$;
|
|
526
1435
|
exports.SubmitBenefitApplicationCommand = SubmitBenefitApplicationCommand;
|
|
1436
|
+
exports.SubmitBenefitApplicationInput$ = SubmitBenefitApplicationInput$;
|
|
1437
|
+
exports.SubmitBenefitApplicationOutput$ = SubmitBenefitApplicationOutput$;
|
|
1438
|
+
exports.Tag$ = Tag$;
|
|
1439
|
+
exports.TagResource$ = TagResource$;
|
|
527
1440
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1441
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
1442
|
+
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
1443
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1444
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
1445
|
+
exports.UntagResource$ = UntagResource$;
|
|
528
1446
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1447
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1448
|
+
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
1449
|
+
exports.UpdateBenefitApplication$ = UpdateBenefitApplication$;
|
|
529
1450
|
exports.UpdateBenefitApplicationCommand = UpdateBenefitApplicationCommand;
|
|
1451
|
+
exports.UpdateBenefitApplicationInput$ = UpdateBenefitApplicationInput$;
|
|
1452
|
+
exports.UpdateBenefitApplicationOutput$ = UpdateBenefitApplicationOutput$;
|
|
1453
|
+
exports.ValidationException = ValidationException;
|
|
1454
|
+
exports.ValidationException$ = ValidationException$;
|
|
530
1455
|
exports.ValidationExceptionErrorCode = ValidationExceptionErrorCode;
|
|
1456
|
+
exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
531
1457
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1458
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
532
1459
|
exports.paginateListBenefitAllocations = paginateListBenefitAllocations;
|
|
533
1460
|
exports.paginateListBenefitApplications = paginateListBenefitApplications;
|
|
534
1461
|
exports.paginateListBenefits = paginateListBenefits;
|