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