@aws-sdk/client-b2bi 3.873.0 → 3.876.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist-cjs/index.js +19 -0
  2. package/dist-es/models/models_0.js +16 -0
  3. package/dist-types/commands/CreateCapabilityCommand.d.ts +1 -1
  4. package/dist-types/commands/CreatePartnershipCommand.d.ts +1 -1
  5. package/dist-types/commands/CreateProfileCommand.d.ts +1 -1
  6. package/dist-types/commands/CreateStarterMappingTemplateCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateTransformerCommand.d.ts +189 -1
  8. package/dist-types/commands/DeleteCapabilityCommand.d.ts +1 -1
  9. package/dist-types/commands/DeletePartnershipCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteProfileCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteTransformerCommand.d.ts +1 -1
  12. package/dist-types/commands/GenerateMappingCommand.d.ts +1 -1
  13. package/dist-types/commands/GetCapabilityCommand.d.ts +1 -1
  14. package/dist-types/commands/GetPartnershipCommand.d.ts +1 -1
  15. package/dist-types/commands/GetProfileCommand.d.ts +1 -1
  16. package/dist-types/commands/GetTransformerCommand.d.ts +95 -1
  17. package/dist-types/commands/GetTransformerJobCommand.d.ts +1 -1
  18. package/dist-types/commands/ListCapabilitiesCommand.d.ts +1 -1
  19. package/dist-types/commands/ListPartnershipsCommand.d.ts +1 -1
  20. package/dist-types/commands/ListProfilesCommand.d.ts +1 -1
  21. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  22. package/dist-types/commands/ListTransformersCommand.d.ts +56 -1
  23. package/dist-types/commands/StartTransformerJobCommand.d.ts +1 -1
  24. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  25. package/dist-types/commands/TestConversionCommand.d.ts +68 -1
  26. package/dist-types/commands/TestMappingCommand.d.ts +1 -1
  27. package/dist-types/commands/TestParsingCommand.d.ts +93 -1
  28. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  29. package/dist-types/commands/UpdateCapabilityCommand.d.ts +1 -1
  30. package/dist-types/commands/UpdatePartnershipCommand.d.ts +1 -1
  31. package/dist-types/commands/UpdateProfileCommand.d.ts +1 -1
  32. package/dist-types/commands/UpdateTransformerCommand.d.ts +189 -1
  33. package/dist-types/models/models_0.d.ts +160 -3
  34. package/dist-types/ts3.4/models/models_0.d.ts +67 -0
  35. package/package.json +6 -6
package/dist-cjs/index.js CHANGED
@@ -46,6 +46,7 @@ __export(index_exports, {
46
46
  DeleteProfileCommand: () => DeleteProfileCommand,
47
47
  DeleteTransformerCommand: () => DeleteTransformerCommand,
48
48
  EdiType: () => EdiType,
49
+ ElementRequirement: () => ElementRequirement,
49
50
  FileFormat: () => FileFormat,
50
51
  FormatOptions: () => FormatOptions,
51
52
  FromFormat: () => FromFormat,
@@ -97,6 +98,7 @@ __export(index_exports, {
97
98
  X12SplitBy: () => X12SplitBy,
98
99
  X12TechnicalAcknowledgment: () => X12TechnicalAcknowledgment,
99
100
  X12TransactionSet: () => X12TransactionSet,
101
+ X12ValidationRule: () => X12ValidationRule,
100
102
  X12Version: () => X12Version,
101
103
  __Client: () => import_smithy_client.Client,
102
104
  paginateListCapabilities: () => paginateListCapabilities,
@@ -302,6 +304,21 @@ var X12SplitBy = {
302
304
  NONE: "NONE",
303
305
  TRANSACTION: "TRANSACTION"
304
306
  };
307
+ var ElementRequirement = {
308
+ MANDATORY: "MANDATORY",
309
+ OPTIONAL: "OPTIONAL"
310
+ };
311
+ var X12ValidationRule;
312
+ ((X12ValidationRule3) => {
313
+ X12ValidationRule3.visit = /* @__PURE__ */ __name((value, visitor) => {
314
+ if (value.codeListValidationRule !== void 0) return visitor.codeListValidationRule(value.codeListValidationRule);
315
+ if (value.elementLengthValidationRule !== void 0)
316
+ return visitor.elementLengthValidationRule(value.elementLengthValidationRule);
317
+ if (value.elementRequirementValidationRule !== void 0)
318
+ return visitor.elementRequirementValidationRule(value.elementRequirementValidationRule);
319
+ return visitor._(value.$unknown[0], value.$unknown[1]);
320
+ }, "visit");
321
+ })(X12ValidationRule || (X12ValidationRule = {}));
305
322
  var ConflictException = class _ConflictException extends B2biServiceException {
306
323
  static {
307
324
  __name(this, "ConflictException");
@@ -2584,6 +2601,8 @@ var waitUntilTransformerJobSucceeded = /* @__PURE__ */ __name(async (params, inp
2584
2601
  waitUntilTransformerJobSucceeded,
2585
2602
  AccessDeniedException,
2586
2603
  X12SplitBy,
2604
+ ElementRequirement,
2605
+ X12ValidationRule,
2587
2606
  ConflictException,
2588
2607
  CapabilityDirection,
2589
2608
  X12TransactionSet,
@@ -16,6 +16,22 @@ export const X12SplitBy = {
16
16
  NONE: "NONE",
17
17
  TRANSACTION: "TRANSACTION",
18
18
  };
19
+ export const ElementRequirement = {
20
+ MANDATORY: "MANDATORY",
21
+ OPTIONAL: "OPTIONAL",
22
+ };
23
+ export var X12ValidationRule;
24
+ (function (X12ValidationRule) {
25
+ X12ValidationRule.visit = (value, visitor) => {
26
+ if (value.codeListValidationRule !== undefined)
27
+ return visitor.codeListValidationRule(value.codeListValidationRule);
28
+ if (value.elementLengthValidationRule !== undefined)
29
+ return visitor.elementLengthValidationRule(value.elementLengthValidationRule);
30
+ if (value.elementRequirementValidationRule !== undefined)
31
+ return visitor.elementRequirementValidationRule(value.elementRequirementValidationRule);
32
+ return visitor._(value.$unknown[0], value.$unknown[1]);
33
+ };
34
+ })(X12ValidationRule || (X12ValidationRule = {}));
19
35
  export class ConflictException extends __BaseException {
20
36
  name = "ConflictException";
21
37
  $fault = "client";
@@ -134,7 +134,7 @@ declare const CreateCapabilityCommand_base: {
134
134
  * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
135
135
  *
136
136
  * @throws {@link ValidationException} (client fault)
137
- * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
137
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
138
138
  *
139
139
  * @throws {@link B2biServiceException}
140
140
  * <p>Base exception class for all service exceptions from B2bi service.</p>
@@ -187,7 +187,7 @@ declare const CreatePartnershipCommand_base: {
187
187
  * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
188
188
  *
189
189
  * @throws {@link ValidationException} (client fault)
190
- * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
190
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
191
191
  *
192
192
  * @throws {@link B2biServiceException}
193
193
  * <p>Base exception class for all service exceptions from B2bi service.</p>
@@ -89,7 +89,7 @@ declare const CreateProfileCommand_base: {
89
89
  * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
90
90
  *
91
91
  * @throws {@link ValidationException} (client fault)
92
- * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
92
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
93
93
  *
94
94
  * @throws {@link B2biServiceException}
95
95
  * <p>Base exception class for all service exceptions from B2bi service.</p>
@@ -71,7 +71,7 @@ declare const CreateStarterMappingTemplateCommand_base: {
71
71
  * <p>Occurs when the requested resource does not exist, or cannot be found. In some cases, the resource exists in a region other than the region specified in the API call.</p>
72
72
  *
73
73
  * @throws {@link ValidationException} (client fault)
74
- * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
74
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
75
75
  *
76
76
  * @throws {@link B2biServiceException}
77
77
  * <p>Base exception class for all service exceptions from B2bi service.</p>
@@ -65,6 +65,30 @@ declare const CreateTransformerCommand_base: {
65
65
  * splitOptions: { // X12SplitOptions
66
66
  * splitBy: "NONE" || "TRANSACTION", // required
67
67
  * },
68
+ * validationOptions: { // X12ValidationOptions
69
+ * validationRules: [ // X12ValidationRules
70
+ * { // X12ValidationRule Union: only one key present
71
+ * codeListValidationRule: { // X12CodeListValidationRule
72
+ * elementId: "STRING_VALUE", // required
73
+ * codesToAdd: [ // CodeList
74
+ * "STRING_VALUE",
75
+ * ],
76
+ * codesToRemove: [
77
+ * "STRING_VALUE",
78
+ * ],
79
+ * },
80
+ * elementLengthValidationRule: { // X12ElementLengthValidationRule
81
+ * elementId: "STRING_VALUE", // required
82
+ * maxLength: Number("int"), // required
83
+ * minLength: Number("int"), // required
84
+ * },
85
+ * elementRequirementValidationRule: { // X12ElementRequirementValidationRule
86
+ * elementPosition: "STRING_VALUE", // required
87
+ * requirement: "OPTIONAL" || "MANDATORY", // required
88
+ * },
89
+ * },
90
+ * ],
91
+ * },
68
92
  * },
69
93
  * },
70
94
  * },
@@ -80,6 +104,37 @@ declare const CreateTransformerCommand_base: {
80
104
  * version: "VERSION_4010" || "VERSION_4030" || "VERSION_4050" || "VERSION_4060" || "VERSION_5010" || "VERSION_5010_HIPAA",
81
105
  * },
82
106
  * },
107
+ * advancedOptions: {
108
+ * x12: {
109
+ * splitOptions: {
110
+ * splitBy: "NONE" || "TRANSACTION", // required
111
+ * },
112
+ * validationOptions: {
113
+ * validationRules: [
114
+ * {// Union: only one key present
115
+ * codeListValidationRule: {
116
+ * elementId: "STRING_VALUE", // required
117
+ * codesToAdd: [
118
+ * "STRING_VALUE",
119
+ * ],
120
+ * codesToRemove: [
121
+ * "STRING_VALUE",
122
+ * ],
123
+ * },
124
+ * elementLengthValidationRule: {
125
+ * elementId: "STRING_VALUE", // required
126
+ * maxLength: Number("int"), // required
127
+ * minLength: Number("int"), // required
128
+ * },
129
+ * elementRequirementValidationRule: {
130
+ * elementPosition: "STRING_VALUE", // required
131
+ * requirement: "OPTIONAL" || "MANDATORY", // required
132
+ * },
133
+ * },
134
+ * ],
135
+ * },
136
+ * },
137
+ * },
83
138
  * },
84
139
  * sampleDocuments: { // SampleDocuments
85
140
  * bucketName: "STRING_VALUE", // required
@@ -121,6 +176,30 @@ declare const CreateTransformerCommand_base: {
121
176
  * // splitOptions: { // X12SplitOptions
122
177
  * // splitBy: "NONE" || "TRANSACTION", // required
123
178
  * // },
179
+ * // validationOptions: { // X12ValidationOptions
180
+ * // validationRules: [ // X12ValidationRules
181
+ * // { // X12ValidationRule Union: only one key present
182
+ * // codeListValidationRule: { // X12CodeListValidationRule
183
+ * // elementId: "STRING_VALUE", // required
184
+ * // codesToAdd: [ // CodeList
185
+ * // "STRING_VALUE",
186
+ * // ],
187
+ * // codesToRemove: [
188
+ * // "STRING_VALUE",
189
+ * // ],
190
+ * // },
191
+ * // elementLengthValidationRule: { // X12ElementLengthValidationRule
192
+ * // elementId: "STRING_VALUE", // required
193
+ * // maxLength: Number("int"), // required
194
+ * // minLength: Number("int"), // required
195
+ * // },
196
+ * // elementRequirementValidationRule: { // X12ElementRequirementValidationRule
197
+ * // elementPosition: "STRING_VALUE", // required
198
+ * // requirement: "OPTIONAL" || "MANDATORY", // required
199
+ * // },
200
+ * // },
201
+ * // ],
202
+ * // },
124
203
  * // },
125
204
  * // },
126
205
  * // },
@@ -136,6 +215,37 @@ declare const CreateTransformerCommand_base: {
136
215
  * // version: "VERSION_4010" || "VERSION_4030" || "VERSION_4050" || "VERSION_4060" || "VERSION_5010" || "VERSION_5010_HIPAA",
137
216
  * // },
138
217
  * // },
218
+ * // advancedOptions: {
219
+ * // x12: {
220
+ * // splitOptions: {
221
+ * // splitBy: "NONE" || "TRANSACTION", // required
222
+ * // },
223
+ * // validationOptions: {
224
+ * // validationRules: [
225
+ * // {// Union: only one key present
226
+ * // codeListValidationRule: {
227
+ * // elementId: "STRING_VALUE", // required
228
+ * // codesToAdd: [
229
+ * // "STRING_VALUE",
230
+ * // ],
231
+ * // codesToRemove: [
232
+ * // "STRING_VALUE",
233
+ * // ],
234
+ * // },
235
+ * // elementLengthValidationRule: {
236
+ * // elementId: "STRING_VALUE", // required
237
+ * // maxLength: Number("int"), // required
238
+ * // minLength: Number("int"), // required
239
+ * // },
240
+ * // elementRequirementValidationRule: {
241
+ * // elementPosition: "STRING_VALUE", // required
242
+ * // requirement: "OPTIONAL" || "MANDATORY", // required
243
+ * // },
244
+ * // },
245
+ * // ],
246
+ * // },
247
+ * // },
248
+ * // },
139
249
  * // },
140
250
  * // sampleDocuments: { // SampleDocuments
141
251
  * // bucketName: "STRING_VALUE", // required
@@ -175,7 +285,7 @@ declare const CreateTransformerCommand_base: {
175
285
  * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
176
286
  *
177
287
  * @throws {@link ValidationException} (client fault)
178
- * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
288
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
179
289
  *
180
290
  * @throws {@link B2biServiceException}
181
291
  * <p>Base exception class for all service exceptions from B2bi service.</p>
@@ -187,6 +297,45 @@ declare const CreateTransformerCommand_base: {
187
297
  * const input = {
188
298
  * clientToken: "foo",
189
299
  * inputConversion: {
300
+ * advancedOptions: {
301
+ * x12: {
302
+ * splitOptions: {
303
+ * splitBy: "NONE"
304
+ * },
305
+ * validationOptions: {
306
+ * validationRules: [
307
+ * {
308
+ * codeListValidationRule: {
309
+ * codesToAdd: [
310
+ * "A",
311
+ * "B",
312
+ * "C"
313
+ * ],
314
+ * codesToRemove: [
315
+ * "X",
316
+ * "Y",
317
+ * "Z"
318
+ * ],
319
+ * elementId: "1234"
320
+ * }
321
+ * },
322
+ * {
323
+ * elementRequirementValidationRule: {
324
+ * elementPosition: "NM1-01",
325
+ * requirement: "MANDATORY"
326
+ * }
327
+ * },
328
+ * {
329
+ * elementLengthValidationRule: {
330
+ * elementId: "5678",
331
+ * maxLength: 10,
332
+ * minLength: 2
333
+ * }
334
+ * }
335
+ * ]
336
+ * }
337
+ * }
338
+ * },
190
339
  * formatOptions: {
191
340
  * x12: {
192
341
  * transactionSet: "X12_110",
@@ -221,6 +370,45 @@ declare const CreateTransformerCommand_base: {
221
370
  * {
222
371
  * createdAt: "2023-11-01T21:51:05.504Z",
223
372
  * inputConversion: {
373
+ * advancedOptions: {
374
+ * x12: {
375
+ * splitOptions: {
376
+ * splitBy: "NONE"
377
+ * },
378
+ * validationOptions: {
379
+ * validationRules: [
380
+ * {
381
+ * codeListValidationRule: {
382
+ * codesToAdd: [
383
+ * "A",
384
+ * "B",
385
+ * "C"
386
+ * ],
387
+ * codesToRemove: [
388
+ * "X",
389
+ * "Y",
390
+ * "Z"
391
+ * ],
392
+ * elementId: "1234"
393
+ * }
394
+ * },
395
+ * {
396
+ * elementRequirementValidationRule: {
397
+ * elementPosition: "NM1-01",
398
+ * requirement: "MANDATORY"
399
+ * }
400
+ * },
401
+ * {
402
+ * elementLengthValidationRule: {
403
+ * elementId: "5678",
404
+ * maxLength: 10,
405
+ * minLength: 2
406
+ * }
407
+ * }
408
+ * ]
409
+ * }
410
+ * }
411
+ * },
224
412
  * formatOptions: {
225
413
  * x12: {
226
414
  * transactionSet: "X12_110",
@@ -65,7 +65,7 @@ declare const DeleteCapabilityCommand_base: {
65
65
  * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
66
66
  *
67
67
  * @throws {@link ValidationException} (client fault)
68
- * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
68
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
69
69
  *
70
70
  * @throws {@link B2biServiceException}
71
71
  * <p>Base exception class for all service exceptions from B2bi service.</p>
@@ -65,7 +65,7 @@ declare const DeletePartnershipCommand_base: {
65
65
  * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
66
66
  *
67
67
  * @throws {@link ValidationException} (client fault)
68
- * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
68
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
69
69
  *
70
70
  * @throws {@link B2biServiceException}
71
71
  * <p>Base exception class for all service exceptions from B2bi service.</p>
@@ -65,7 +65,7 @@ declare const DeleteProfileCommand_base: {
65
65
  * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
66
66
  *
67
67
  * @throws {@link ValidationException} (client fault)
68
- * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
68
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
69
69
  *
70
70
  * @throws {@link B2biServiceException}
71
71
  * <p>Base exception class for all service exceptions from B2bi service.</p>
@@ -65,7 +65,7 @@ declare const DeleteTransformerCommand_base: {
65
65
  * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
66
66
  *
67
67
  * @throws {@link ValidationException} (client fault)
68
- * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
68
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
69
69
  *
70
70
  * @throws {@link B2biServiceException}
71
71
  * <p>Base exception class for all service exceptions from B2bi service.</p>
@@ -64,7 +64,7 @@ declare const GenerateMappingCommand_base: {
64
64
  * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
65
65
  *
66
66
  * @throws {@link ValidationException} (client fault)
67
- * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
67
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
68
68
  *
69
69
  * @throws {@link B2biServiceException}
70
70
  * <p>Base exception class for all service exceptions from B2bi service.</p>
@@ -95,7 +95,7 @@ declare const GetCapabilityCommand_base: {
95
95
  * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
96
96
  *
97
97
  * @throws {@link ValidationException} (client fault)
98
- * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
98
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
99
99
  *
100
100
  * @throws {@link B2biServiceException}
101
101
  * <p>Base exception class for all service exceptions from B2bi service.</p>
@@ -122,7 +122,7 @@ declare const GetPartnershipCommand_base: {
122
122
  * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
123
123
  *
124
124
  * @throws {@link ValidationException} (client fault)
125
- * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
125
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
126
126
  *
127
127
  * @throws {@link B2biServiceException}
128
128
  * <p>Base exception class for all service exceptions from B2bi service.</p>
@@ -73,7 +73,7 @@ declare const GetProfileCommand_base: {
73
73
  * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
74
74
  *
75
75
  * @throws {@link ValidationException} (client fault)
76
- * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
76
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
77
77
  *
78
78
  * @throws {@link B2biServiceException}
79
79
  * <p>Base exception class for all service exceptions from B2bi service.</p>
@@ -68,6 +68,30 @@ declare const GetTransformerCommand_base: {
68
68
  * // splitOptions: { // X12SplitOptions
69
69
  * // splitBy: "NONE" || "TRANSACTION", // required
70
70
  * // },
71
+ * // validationOptions: { // X12ValidationOptions
72
+ * // validationRules: [ // X12ValidationRules
73
+ * // { // X12ValidationRule Union: only one key present
74
+ * // codeListValidationRule: { // X12CodeListValidationRule
75
+ * // elementId: "STRING_VALUE", // required
76
+ * // codesToAdd: [ // CodeList
77
+ * // "STRING_VALUE",
78
+ * // ],
79
+ * // codesToRemove: [
80
+ * // "STRING_VALUE",
81
+ * // ],
82
+ * // },
83
+ * // elementLengthValidationRule: { // X12ElementLengthValidationRule
84
+ * // elementId: "STRING_VALUE", // required
85
+ * // maxLength: Number("int"), // required
86
+ * // minLength: Number("int"), // required
87
+ * // },
88
+ * // elementRequirementValidationRule: { // X12ElementRequirementValidationRule
89
+ * // elementPosition: "STRING_VALUE", // required
90
+ * // requirement: "OPTIONAL" || "MANDATORY", // required
91
+ * // },
92
+ * // },
93
+ * // ],
94
+ * // },
71
95
  * // },
72
96
  * // },
73
97
  * // },
@@ -83,6 +107,37 @@ declare const GetTransformerCommand_base: {
83
107
  * // version: "VERSION_4010" || "VERSION_4030" || "VERSION_4050" || "VERSION_4060" || "VERSION_5010" || "VERSION_5010_HIPAA",
84
108
  * // },
85
109
  * // },
110
+ * // advancedOptions: {
111
+ * // x12: {
112
+ * // splitOptions: {
113
+ * // splitBy: "NONE" || "TRANSACTION", // required
114
+ * // },
115
+ * // validationOptions: {
116
+ * // validationRules: [
117
+ * // {// Union: only one key present
118
+ * // codeListValidationRule: {
119
+ * // elementId: "STRING_VALUE", // required
120
+ * // codesToAdd: [
121
+ * // "STRING_VALUE",
122
+ * // ],
123
+ * // codesToRemove: [
124
+ * // "STRING_VALUE",
125
+ * // ],
126
+ * // },
127
+ * // elementLengthValidationRule: {
128
+ * // elementId: "STRING_VALUE", // required
129
+ * // maxLength: Number("int"), // required
130
+ * // minLength: Number("int"), // required
131
+ * // },
132
+ * // elementRequirementValidationRule: {
133
+ * // elementPosition: "STRING_VALUE", // required
134
+ * // requirement: "OPTIONAL" || "MANDATORY", // required
135
+ * // },
136
+ * // },
137
+ * // ],
138
+ * // },
139
+ * // },
140
+ * // },
86
141
  * // },
87
142
  * // sampleDocuments: { // SampleDocuments
88
143
  * // bucketName: "STRING_VALUE", // required
@@ -116,7 +171,7 @@ declare const GetTransformerCommand_base: {
116
171
  * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
117
172
  *
118
173
  * @throws {@link ValidationException} (client fault)
119
- * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
174
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
120
175
  *
121
176
  * @throws {@link B2biServiceException}
122
177
  * <p>Base exception class for all service exceptions from B2bi service.</p>
@@ -134,6 +189,45 @@ declare const GetTransformerCommand_base: {
134
189
  * {
135
190
  * createdAt: "2023-11-01T21:51:05.504Z",
136
191
  * inputConversion: {
192
+ * advancedOptions: {
193
+ * x12: {
194
+ * splitOptions: {
195
+ * splitBy: "NONE"
196
+ * },
197
+ * validationOptions: {
198
+ * validationRules: [
199
+ * {
200
+ * codeListValidationRule: {
201
+ * codesToAdd: [
202
+ * "A",
203
+ * "B",
204
+ * "C"
205
+ * ],
206
+ * codesToRemove: [
207
+ * "X",
208
+ * "Y",
209
+ * "Z"
210
+ * ],
211
+ * elementId: "1234"
212
+ * }
213
+ * },
214
+ * {
215
+ * elementRequirementValidationRule: {
216
+ * elementPosition: "NM1-01",
217
+ * requirement: "MANDATORY"
218
+ * }
219
+ * },
220
+ * {
221
+ * elementLengthValidationRule: {
222
+ * elementId: "5678",
223
+ * maxLength: 10,
224
+ * minLength: 2
225
+ * }
226
+ * }
227
+ * ]
228
+ * }
229
+ * }
230
+ * },
137
231
  * formatOptions: {
138
232
  * x12: {
139
233
  * transactionSet: "X12_110",
@@ -72,7 +72,7 @@ declare const GetTransformerJobCommand_base: {
72
72
  * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
73
73
  *
74
74
  * @throws {@link ValidationException} (client fault)
75
- * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
75
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
76
76
  *
77
77
  * @throws {@link B2biServiceException}
78
78
  * <p>Base exception class for all service exceptions from B2bi service.</p>
@@ -71,7 +71,7 @@ declare const ListCapabilitiesCommand_base: {
71
71
  * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
72
72
  *
73
73
  * @throws {@link ValidationException} (client fault)
74
- * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
74
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
75
75
  *
76
76
  * @throws {@link B2biServiceException}
77
77
  * <p>Base exception class for all service exceptions from B2bi service.</p>
@@ -126,7 +126,7 @@ declare const ListPartnershipsCommand_base: {
126
126
  * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
127
127
  *
128
128
  * @throws {@link ValidationException} (client fault)
129
- * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
129
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
130
130
  *
131
131
  * @throws {@link B2biServiceException}
132
132
  * <p>Base exception class for all service exceptions from B2bi service.</p>
@@ -73,7 +73,7 @@ declare const ListProfilesCommand_base: {
73
73
  * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
74
74
  *
75
75
  * @throws {@link ValidationException} (client fault)
76
- * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
76
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
77
77
  *
78
78
  * @throws {@link B2biServiceException}
79
79
  * <p>Base exception class for all service exceptions from B2bi service.</p>
@@ -63,7 +63,7 @@ declare const ListTagsForResourceCommand_base: {
63
63
  * <p>Occurs when the requested resource does not exist, or cannot be found. In some cases, the resource exists in a region other than the region specified in the API call.</p>
64
64
  *
65
65
  * @throws {@link ValidationException} (client fault)
66
- * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
66
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
67
67
  *
68
68
  * @throws {@link B2biServiceException}
69
69
  * <p>Base exception class for all service exceptions from B2bi service.</p>