@aws-sdk/client-b2bi 3.839.0 → 3.844.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 (39) hide show
  1. package/README.md +1 -11
  2. package/dist-cjs/index.js +85 -1
  3. package/dist-es/index.js +1 -0
  4. package/dist-es/models/models_0.js +28 -0
  5. package/dist-es/waiters/index.js +1 -0
  6. package/dist-es/waiters/waitForTransformerJobSucceeded.js +40 -0
  7. package/dist-types/B2bi.d.ts +1 -11
  8. package/dist-types/B2biClient.d.ts +1 -11
  9. package/dist-types/commands/CreatePartnershipCommand.d.ts +39 -2
  10. package/dist-types/commands/CreateProfileCommand.d.ts +1 -2
  11. package/dist-types/commands/CreateStarterMappingTemplateCommand.d.ts +1 -7
  12. package/dist-types/commands/CreateTransformerCommand.d.ts +15 -33
  13. package/dist-types/commands/DeletePartnershipCommand.d.ts +1 -2
  14. package/dist-types/commands/DeleteProfileCommand.d.ts +1 -2
  15. package/dist-types/commands/DeleteTransformerCommand.d.ts +1 -2
  16. package/dist-types/commands/GenerateMappingCommand.d.ts +1 -5
  17. package/dist-types/commands/GetPartnershipCommand.d.ts +20 -2
  18. package/dist-types/commands/GetProfileCommand.d.ts +1 -2
  19. package/dist-types/commands/GetTransformerCommand.d.ts +8 -2
  20. package/dist-types/commands/GetTransformerJobCommand.d.ts +1 -1
  21. package/dist-types/commands/ListPartnershipsCommand.d.ts +20 -2
  22. package/dist-types/commands/ListProfilesCommand.d.ts +1 -2
  23. package/dist-types/commands/ListTransformersCommand.d.ts +8 -2
  24. package/dist-types/commands/StartTransformerJobCommand.d.ts +1 -3
  25. package/dist-types/commands/TagResourceCommand.d.ts +1 -2
  26. package/dist-types/commands/TestParsingCommand.d.ts +78 -0
  27. package/dist-types/commands/UpdateCapabilityCommand.d.ts +1 -2
  28. package/dist-types/commands/UpdatePartnershipCommand.d.ts +39 -2
  29. package/dist-types/commands/UpdateProfileCommand.d.ts +1 -2
  30. package/dist-types/commands/UpdateTransformerCommand.d.ts +15 -2
  31. package/dist-types/index.d.ts +2 -11
  32. package/dist-types/models/models_0.d.ts +266 -135
  33. package/dist-types/ts3.4/index.d.ts +1 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +74 -0
  35. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  36. package/dist-types/ts3.4/waiters/waitForTransformerJobSucceeded.d.ts +11 -0
  37. package/dist-types/waiters/index.d.ts +1 -0
  38. package/dist-types/waiters/waitForTransformerJobSucceeded.d.ts +14 -0
  39. package/package.json +21 -20
@@ -12,6 +12,51 @@ export declare class AccessDeniedException extends __BaseException {
12
12
  */
13
13
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
14
  }
15
+ /**
16
+ * @public
17
+ * @enum
18
+ */
19
+ export declare const X12SplitBy: {
20
+ readonly NONE: "NONE";
21
+ readonly TRANSACTION: "TRANSACTION";
22
+ };
23
+ /**
24
+ * @public
25
+ */
26
+ export type X12SplitBy = (typeof X12SplitBy)[keyof typeof X12SplitBy];
27
+ /**
28
+ * <p>Contains options for splitting X12 EDI files into smaller units. This is useful for processing large EDI files more efficiently.</p>
29
+ * @public
30
+ */
31
+ export interface X12SplitOptions {
32
+ /**
33
+ * <p>Specifies the method used to split X12 EDI files. Valid values include <code>TRANSACTION</code> (split by individual transaction sets), or <code>NONE</code> (no splitting).</p>
34
+ * @public
35
+ */
36
+ splitBy: X12SplitBy | undefined;
37
+ }
38
+ /**
39
+ * <p>Contains advanced options specific to X12 EDI processing, such as splitting large X12 files into smaller units.</p>
40
+ * @public
41
+ */
42
+ export interface X12AdvancedOptions {
43
+ /**
44
+ * <p>Specifies options for splitting X12 EDI files. These options control how large X12 files are divided into smaller, more manageable units.</p>
45
+ * @public
46
+ */
47
+ splitOptions?: X12SplitOptions | undefined;
48
+ }
49
+ /**
50
+ * <p>A structure that contains advanced options for EDI processing. Currently, only X12 advanced options are supported.</p>
51
+ * @public
52
+ */
53
+ export interface AdvancedOptions {
54
+ /**
55
+ * <p>A structure that contains X12-specific advanced options, such as split options for processing X12 EDI files.</p>
56
+ * @public
57
+ */
58
+ x12?: X12AdvancedOptions | undefined;
59
+ }
15
60
  /**
16
61
  * <p>A conflict exception is thrown when you attempt to delete a resource (such as a profile or a capability) that is being used by other resources.</p>
17
62
  * @public
@@ -37,8 +82,7 @@ export declare const CapabilityDirection: {
37
82
  */
38
83
  export type CapabilityDirection = (typeof CapabilityDirection)[keyof typeof CapabilityDirection];
39
84
  /**
40
- * <p>Specifies the details for the Amazon S3 file location that is being used with Amazon Web Services B2B Data Interchange. File
41
- * locations in Amazon S3 are identified using a combination of the bucket and key.</p>
85
+ * <p>Specifies the details for the Amazon S3 file location that is being used with Amazon Web Services B2B Data Interchange. File locations in Amazon S3 are identified using a combination of the bucket and key.</p>
42
86
  * @public
43
87
  */
44
88
  export interface S3Location {
@@ -422,10 +466,7 @@ export declare const X12Version: {
422
466
  */
423
467
  export type X12Version = (typeof X12Version)[keyof typeof X12Version];
424
468
  /**
425
- * <p>A structure that contains the X12 transaction set and version. The X12 structure is used when the system transforms an EDI (electronic data interchange) file.</p>
426
- * <note>
427
- * <p>If an EDI input file contains more than one transaction, each transaction must have the same transaction set and version, for example 214/4010. If not, the transformer cannot parse the file.</p>
428
- * </note>
469
+ * <p>A structure that contains the X12 transaction set and version. The X12 structure is used when the system transforms an EDI (electronic data interchange) file.</p> <note> <p>If an EDI input file contains more than one transaction, each transaction must have the same transaction set and version, for example 214/4010. If not, the transformer cannot parse the file.</p> </note>
429
470
  * @public
430
471
  */
431
472
  export interface X12Details {
@@ -441,9 +482,7 @@ export interface X12Details {
441
482
  version?: X12Version | undefined;
442
483
  }
443
484
  /**
444
- * <p>Specifies the details for the EDI standard that is being used for the transformer.
445
- * Currently, only X12 is supported. X12 is a set of standards and corresponding messages
446
- * that define specific business documents.</p>
485
+ * <p>Specifies the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.</p>
447
486
  * @public
448
487
  */
449
488
  export type EdiType = EdiType.X12DetailsMember | EdiType.$UnknownMember;
@@ -534,9 +573,7 @@ export declare namespace CapabilityConfiguration {
534
573
  const visit: <T>(value: CapabilityConfiguration, visitor: Visitor<T>) => T;
535
574
  }
536
575
  /**
537
- * <p>Creates a key-value pair for a specific resource. Tags are metadata that you can use to search for and group a resource for various purposes.
538
- * You can apply tags to capabilities, partnerships, profiles and transformers. A tag key can take more than one value. For example, to group capabilities for accounting purposes,
539
- * you might create a tag called <code>Group</code> and assign the values <code>Research</code> and <code>Accounting</code> to that group.</p>
576
+ * <p>Creates a key-value pair for a specific resource. Tags are metadata that you can use to search for and group a resource for various purposes. You can apply tags to capabilities, partnerships, profiles and transformers. A tag key can take more than one value. For example, to group capabilities for accounting purposes, you might create a tag called <code>Group</code> and assign the values <code>Research</code> and <code>Accounting</code> to that group.</p>
540
577
  * @public
541
578
  */
542
579
  export interface Tag {
@@ -800,8 +837,7 @@ export interface GetCapabilityResponse {
800
837
  */
801
838
  export interface ListCapabilitiesRequest {
802
839
  /**
803
- * <p>When additional results are obtained from the command, a <code>NextToken</code> parameter is returned in the output.
804
- * You can then pass the <code>NextToken</code> parameter in a subsequent command to continue listing additional resources.</p>
840
+ * <p>When additional results are obtained from the command, a <code>NextToken</code> parameter is returned in the output. You can then pass the <code>NextToken</code> parameter in a subsequent command to continue listing additional resources.</p>
805
841
  * @public
806
842
  */
807
843
  nextToken?: string | undefined;
@@ -852,8 +888,7 @@ export interface ListCapabilitiesResponse {
852
888
  */
853
889
  capabilities: CapabilitySummary[] | undefined;
854
890
  /**
855
- * <p>When additional results are obtained from the command, a <code>NextToken</code> parameter is returned in the output.
856
- * You can then pass the <code>NextToken</code> parameter in a subsequent command to continue listing additional resources.</p>
891
+ * <p>When additional results are obtained from the command, a <code>NextToken</code> parameter is returned in the output. You can then pass the <code>NextToken</code> parameter in a subsequent command to continue listing additional resources.</p>
857
892
  * @public
858
893
  */
859
894
  nextToken?: string | undefined;
@@ -950,10 +985,7 @@ export type TemplateDetails = TemplateDetails.X12Member | TemplateDetails.$Unkno
950
985
  */
951
986
  export declare namespace TemplateDetails {
952
987
  /**
953
- * <p>A structure that contains the X12 transaction set and version. The X12 structure is used when the system transforms an EDI (electronic data interchange) file.</p>
954
- * <note>
955
- * <p>If an EDI input file contains more than one transaction, each transaction must have the same transaction set and version, for example 214/4010. If not, the transformer cannot parse the file.</p>
956
- * </note>
988
+ * <p>A structure that contains the X12 transaction set and version. The X12 structure is used when the system transforms an EDI (electronic data interchange) file.</p> <note> <p>If an EDI input file contains more than one transaction, each transaction must have the same transaction set and version, for example 214/4010. If not, the transformer cannot parse the file.</p> </note>
957
989
  * @public
958
990
  */
959
991
  interface X12Member {
@@ -988,10 +1020,7 @@ export interface CreateStarterMappingTemplateRequest {
988
1020
  */
989
1021
  mappingType: MappingType | undefined;
990
1022
  /**
991
- * <p>
992
- * Describes the details needed for generating the template. Specify the X12 transaction set and version for which the template is used:
993
- * currently, we only support X12.
994
- * </p>
1023
+ * <p> Describes the details needed for generating the template. Specify the X12 transaction set and version for which the template is used: currently, we only support X12. </p>
995
1024
  * @public
996
1025
  */
997
1026
  templateDetails: TemplateDetails | undefined;
@@ -1011,18 +1040,17 @@ export interface CreateStarterMappingTemplateResponse {
1011
1040
  */
1012
1041
  export interface GenerateMappingRequest {
1013
1042
  /**
1014
- * <p>Provide the contents of a sample X12 EDI file (for inbound EDI) or JSON/XML file (for outbound EDI) to use as a starting point for the mapping.</p>
1043
+ * <p>Provide the contents of a sample X12 EDI file, either in JSON or XML format, to use as a starting point for the mapping.</p>
1015
1044
  * @public
1016
1045
  */
1017
1046
  inputFileContent: string | undefined;
1018
1047
  /**
1019
- * <p>Provide the contents of a sample X12 EDI file (for outbound EDI) or JSON/XML file (for inbound EDI) to use as a target for the mapping.</p>
1048
+ * <p>Provide the contents of a sample X12 EDI file, either in JSON or XML format, to use as a target for the mapping.</p>
1020
1049
  * @public
1021
1050
  */
1022
1051
  outputFileContent: string | undefined;
1023
1052
  /**
1024
- * <p>Specify the mapping type: either <code>JSONATA</code> or <code>XSLT.</code>
1025
- * </p>
1053
+ * <p>Specify the mapping type: either <code>JSONATA</code> or <code>XSLT.</code> </p>
1026
1054
  * @public
1027
1055
  */
1028
1056
  mappingType: MappingType | undefined;
@@ -1075,21 +1103,17 @@ export type TransformerJobStatus = (typeof TransformerJobStatus)[keyof typeof Tr
1075
1103
  */
1076
1104
  export interface GetTransformerJobResponse {
1077
1105
  /**
1078
- * <p>Returns the current state of the transformer job, either <code>running</code>,
1079
- * <code>succeeded</code>, or <code>failed</code>.</p>
1106
+ * <p>Returns the current state of the transformer job, either <code>running</code>, <code>succeeded</code>, or <code>failed</code>.</p>
1080
1107
  * @public
1081
1108
  */
1082
1109
  status: TransformerJobStatus | undefined;
1083
1110
  /**
1084
- * <p>Returns the location for the output files. If the caller specified a directory for the
1085
- * output, then this contains the full path to the output file, including the file name
1086
- * generated by the service.</p>
1111
+ * <p>Returns the location for the output files. If the caller specified a directory for the output, then this contains the full path to the output file, including the file name generated by the service.</p>
1087
1112
  * @public
1088
1113
  */
1089
1114
  outputFiles?: S3Location[] | undefined;
1090
1115
  /**
1091
- * <p>Returns an optional error message, which gets populated when the job is not run
1092
- * successfully.</p>
1116
+ * <p>Returns an optional error message, which gets populated when the job is not run successfully.</p>
1093
1117
  * @public
1094
1118
  */
1095
1119
  message?: string | undefined;
@@ -1115,8 +1139,91 @@ export interface ListTagsForResourceResponse {
1115
1139
  Tags?: Tag[] | undefined;
1116
1140
  }
1117
1141
  /**
1118
- * <p>In X12 EDI messages, delimiters are used to mark the end of segments or elements, and are defined in the interchange control header.
1119
- * The delimiters are part of the message's syntax and divide up its different elements.</p>
1142
+ * @public
1143
+ * @enum
1144
+ */
1145
+ export declare const X12FunctionalAcknowledgment: {
1146
+ readonly DO_NOT_GENERATE: "DO_NOT_GENERATE";
1147
+ readonly GENERATE_ALL_SEGMENTS: "GENERATE_ALL_SEGMENTS";
1148
+ readonly GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP: "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP";
1149
+ };
1150
+ /**
1151
+ * @public
1152
+ */
1153
+ export type X12FunctionalAcknowledgment = (typeof X12FunctionalAcknowledgment)[keyof typeof X12FunctionalAcknowledgment];
1154
+ /**
1155
+ * @public
1156
+ * @enum
1157
+ */
1158
+ export declare const X12TechnicalAcknowledgment: {
1159
+ readonly DO_NOT_GENERATE: "DO_NOT_GENERATE";
1160
+ readonly GENERATE_ALL_SEGMENTS: "GENERATE_ALL_SEGMENTS";
1161
+ };
1162
+ /**
1163
+ * @public
1164
+ */
1165
+ export type X12TechnicalAcknowledgment = (typeof X12TechnicalAcknowledgment)[keyof typeof X12TechnicalAcknowledgment];
1166
+ /**
1167
+ * <p>Contains options for configuring X12 acknowledgments. These options control how functional and technical acknowledgments are handled.</p>
1168
+ * @public
1169
+ */
1170
+ export interface X12AcknowledgmentOptions {
1171
+ /**
1172
+ * <p>Specifies whether functional acknowledgments (997/999) should be generated for incoming X12 transactions. Valid values are <code>DO_NOT_GENERATE</code>, <code>GENERATE_ALL_SEGMENTS</code> and <code>GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP</code>.</p> <p>If you choose <code>GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP</code>, Amazon Web Services B2B Data Interchange skips the AK2_Loop when generating an acknowledgment document.</p>
1173
+ * @public
1174
+ */
1175
+ functionalAcknowledgment: X12FunctionalAcknowledgment | undefined;
1176
+ /**
1177
+ * <p>Specifies whether technical acknowledgments (TA1) should be generated for incoming X12 interchanges. Valid values are <code>DO_NOT_GENERATE</code> and <code>GENERATE_ALL_SEGMENTS</code> and.</p>
1178
+ * @public
1179
+ */
1180
+ technicalAcknowledgment: X12TechnicalAcknowledgment | undefined;
1181
+ }
1182
+ /**
1183
+ * <p>Contains options specific to processing inbound X12 EDI files.</p>
1184
+ * @public
1185
+ */
1186
+ export interface X12InboundEdiOptions {
1187
+ /**
1188
+ * <p>Specifies acknowledgment options for inbound X12 EDI files. These options control how functional and technical acknowledgments are handled.</p>
1189
+ * @public
1190
+ */
1191
+ acknowledgmentOptions?: X12AcknowledgmentOptions | undefined;
1192
+ }
1193
+ /**
1194
+ * <p>Contains options for processing inbound EDI files. These options allow for customizing how incoming EDI documents are processed.</p>
1195
+ * @public
1196
+ */
1197
+ export interface InboundEdiOptions {
1198
+ /**
1199
+ * <p>A structure that contains X12-specific options for processing inbound X12 EDI files.</p>
1200
+ * @public
1201
+ */
1202
+ x12?: X12InboundEdiOptions | undefined;
1203
+ }
1204
+ /**
1205
+ * <p>Contains configuration for X12 control numbers used in X12 EDI generation. Control numbers are used to uniquely identify interchanges, functional groups, and transaction sets.</p>
1206
+ * @public
1207
+ */
1208
+ export interface X12ControlNumbers {
1209
+ /**
1210
+ * <p>Specifies the starting interchange control number (ISA13) to use for X12 EDI generation. This number is incremented for each new interchange. For the ISA (interchange) envelope, Amazon Web Services B2B Data Interchange generates an interchange control number that is unique for the ISA05 and ISA06 (sender) &amp; ISA07 and ISA08 (receiver) combination. </p>
1211
+ * @public
1212
+ */
1213
+ startingInterchangeControlNumber?: number | undefined;
1214
+ /**
1215
+ * <p>Specifies the starting functional group control number (GS06) to use for X12 EDI generation. This number is incremented for each new functional group. For the GS (functional group) envelope, Amazon Web Services B2B Data Interchange generates a functional group control number that is unique to the sender ID, receiver ID, and functional identifier code combination. </p>
1216
+ * @public
1217
+ */
1218
+ startingFunctionalGroupControlNumber?: number | undefined;
1219
+ /**
1220
+ * <p>Specifies the starting transaction set control number (ST02) to use for X12 EDI generation. This number is incremented for each new transaction set.</p>
1221
+ * @public
1222
+ */
1223
+ startingTransactionSetControlNumber?: number | undefined;
1224
+ }
1225
+ /**
1226
+ * <p>In X12 EDI messages, delimiters are used to mark the end of segments or elements, and are defined in the interchange control header. The delimiters are part of the message's syntax and divide up its different elements.</p>
1120
1227
  * @public
1121
1228
  */
1122
1229
  export interface X12Delimiters {
@@ -1158,10 +1265,20 @@ export interface X12FunctionalGroupHeaders {
1158
1265
  responsibleAgencyCode?: string | undefined;
1159
1266
  }
1160
1267
  /**
1161
- * <p>In X12, the Interchange Control Header is the first segment of an EDI document and is
1162
- * part of the Interchange Envelope. It contains information about the sender and receiver,
1163
- * the date and time of transmission, and the X12 version being used. It also includes
1164
- * delivery information, such as the sender and receiver IDs.</p>
1268
+ * @public
1269
+ * @enum
1270
+ */
1271
+ export declare const X12GS05TimeFormat: {
1272
+ readonly HHMM: "HHMM";
1273
+ readonly HHMMSS: "HHMMSS";
1274
+ readonly HHMMSSDD: "HHMMSSDD";
1275
+ };
1276
+ /**
1277
+ * @public
1278
+ */
1279
+ export type X12GS05TimeFormat = (typeof X12GS05TimeFormat)[keyof typeof X12GS05TimeFormat];
1280
+ /**
1281
+ * <p>In X12, the Interchange Control Header is the first segment of an EDI document and is part of the Interchange Envelope. It contains information about the sender and receiver, the date and time of transmission, and the X12 version being used. It also includes delivery information, such as the sender and receiver IDs.</p>
1165
1282
  * @public
1166
1283
  */
1167
1284
  export interface X12InterchangeControlHeaders {
@@ -1186,12 +1303,7 @@ export interface X12InterchangeControlHeaders {
1186
1303
  */
1187
1304
  receiverId?: string | undefined;
1188
1305
  /**
1189
- * <p>Located at position ISA-11 in the header. This string makes it easier when you need to group similar adjacent element values together without using extra segments.</p>
1190
- * <note>
1191
- * <p>This parameter is only honored for version greater than 401 (<code>VERSION_4010</code> and higher).</p>
1192
- * <p>For versions less than 401, this field is called <a href="https://www.stedi.com/edi/x12-004010/segment/ISA#ISA-11">StandardsId</a>, in which case our service
1193
- * sets the value to <code>U</code>.</p>
1194
- * </note>
1306
+ * <p>Located at position ISA-11 in the header. This string makes it easier when you need to group similar adjacent element values together without using extra segments.</p> <note> <p>This parameter is only honored for version greater than 401 (<code>VERSION_4010</code> and higher).</p> <p>For versions less than 401, this field is called <a href="https://www.stedi.com/edi/x12-004010/segment/ISA#ISA-11">StandardsId</a>, in which case our service sets the value to <code>U</code>.</p> </note>
1195
1307
  * @public
1196
1308
  */
1197
1309
  repetitionSeparator?: string | undefined;
@@ -1201,21 +1313,7 @@ export interface X12InterchangeControlHeaders {
1201
1313
  */
1202
1314
  acknowledgmentRequestedCode?: string | undefined;
1203
1315
  /**
1204
- * <p>Located at position ISA-15 in the header. Specifies how this interchange is being used:</p>
1205
- * <ul>
1206
- * <li>
1207
- * <p>
1208
- * <code>T</code> indicates this interchange is for testing.</p>
1209
- * </li>
1210
- * <li>
1211
- * <p>
1212
- * <code>P</code> indicates this interchange is for production.</p>
1213
- * </li>
1214
- * <li>
1215
- * <p>
1216
- * <code>I</code> indicates this interchange is informational.</p>
1217
- * </li>
1218
- * </ul>
1316
+ * <p>Located at position ISA-15 in the header. Specifies how this interchange is being used:</p> <ul> <li> <p> <code>T</code> indicates this interchange is for testing.</p> </li> <li> <p> <code>P</code> indicates this interchange is for production.</p> </li> <li> <p> <code>I</code> indicates this interchange is informational.</p> </li> </ul>
1219
1317
  * @public
1220
1318
  */
1221
1319
  usageIndicatorCode?: string | undefined;
@@ -1245,21 +1343,66 @@ export interface X12OutboundEdiHeaders {
1245
1343
  * @public
1246
1344
  */
1247
1345
  validateEdi?: boolean | undefined;
1346
+ /**
1347
+ * <p>Specifies control number configuration for outbound X12 EDI headers. These settings determine the starting values for interchange, functional group, and transaction set control numbers.</p>
1348
+ * @public
1349
+ */
1350
+ controlNumbers?: X12ControlNumbers | undefined;
1351
+ /**
1352
+ * <p>Specifies the time format in the GS05 element (time) of the functional group header. The following formats use 24-hour clock time:</p> <ul> <li> <p> <code>HHMM</code> - Hours and minutes</p> </li> <li> <p> <code>HHMMSS</code> - Hours, minutes, and seconds</p> </li> <li> <p> <code>HHMMSSDD</code> - Hours, minutes, seconds, and decimal seconds</p> </li> </ul> <p>Where:</p> <ul> <li> <p> <code>HH</code> - Hours (00-23)</p> </li> <li> <p> <code>MM</code> - Minutes (00-59)</p> </li> <li> <p> <code>SS</code> - Seconds (00-59)</p> </li> <li> <p> <code>DD</code> - Hundredths of seconds (00-99)</p> </li> </ul>
1353
+ * @public
1354
+ */
1355
+ gs05TimeFormat?: X12GS05TimeFormat | undefined;
1356
+ }
1357
+ /**
1358
+ * @public
1359
+ * @enum
1360
+ */
1361
+ export declare const LineTerminator: {
1362
+ readonly CR: "CR";
1363
+ readonly CRLF: "CRLF";
1364
+ readonly LF: "LF";
1365
+ };
1366
+ /**
1367
+ * @public
1368
+ */
1369
+ export type LineTerminator = (typeof LineTerminator)[keyof typeof LineTerminator];
1370
+ /**
1371
+ * @public
1372
+ * @enum
1373
+ */
1374
+ export declare const WrapFormat: {
1375
+ readonly LINE_LENGTH: "LINE_LENGTH";
1376
+ readonly ONE_LINE: "ONE_LINE";
1377
+ readonly SEGMENT: "SEGMENT";
1378
+ };
1379
+ /**
1380
+ * @public
1381
+ */
1382
+ export type WrapFormat = (typeof WrapFormat)[keyof typeof WrapFormat];
1383
+ /**
1384
+ * <p>Contains options for wrapping (line folding) in X12 EDI files. Wrapping controls how long lines are handled in the EDI output.</p>
1385
+ * @public
1386
+ */
1387
+ export interface WrapOptions {
1388
+ /**
1389
+ * <p>Specifies the method used for wrapping lines in the EDI output. Valid values:</p> <ul> <li> <p> <code>SEGMENT</code>: Wraps by segment.</p> </li> <li> <p> <code>ONE_LINE</code>: Indicates that the entire content is on a single line.</p> <note> <p>When you specify <code>ONE_LINE</code>, do not provide either the line length nor the line terminator value.</p> </note> </li> <li> <p> <code>LINE_LENGTH</code>: Wraps by character count, as specified by <code>lineLength</code> value.</p> </li> </ul>
1390
+ * @public
1391
+ */
1392
+ wrapBy: WrapFormat | undefined;
1393
+ /**
1394
+ * <p>Specifies the character sequence used to terminate lines when wrapping. Valid values:</p> <ul> <li> <p> <code>CRLF</code>: carriage return and line feed</p> </li> <li> <p> <code>LF</code>: line feed)</p> </li> <li> <p> <code>CR</code>: carriage return</p> </li> </ul>
1395
+ * @public
1396
+ */
1397
+ lineTerminator?: LineTerminator | undefined;
1398
+ /**
1399
+ * <p>Specifies the maximum length of a line before wrapping occurs. This value is used when <code>wrapBy</code> is set to <code>LINE_LENGTH</code>.</p>
1400
+ * @public
1401
+ */
1402
+ lineLength?: number | undefined;
1248
1403
  }
1249
1404
  /**
1250
- * <p>A wrapper structure for an X12 definition object.</p>
1251
- * <p>the X12 envelope ensures the integrity of the data and the efficiency of the information exchange. The X12 message structure has hierarchical levels. From highest to the lowest, they are:</p>
1252
- * <ul>
1253
- * <li>
1254
- * <p>Interchange Envelope</p>
1255
- * </li>
1256
- * <li>
1257
- * <p>Functional Group</p>
1258
- * </li>
1259
- * <li>
1260
- * <p>Transaction Set</p>
1261
- * </li>
1262
- * </ul>
1405
+ * <p>A wrapper structure for an X12 definition object.</p> <p>the X12 envelope ensures the integrity of the data and the efficiency of the information exchange. The X12 message structure has hierarchical levels. From highest to the lowest, they are:</p> <ul> <li> <p>Interchange Envelope</p> </li> <li> <p>Functional Group</p> </li> <li> <p>Transaction Set</p> </li> </ul>
1263
1406
  * @public
1264
1407
  */
1265
1408
  export interface X12Envelope {
@@ -1268,6 +1411,11 @@ export interface X12Envelope {
1268
1411
  * @public
1269
1412
  */
1270
1413
  common?: X12OutboundEdiHeaders | undefined;
1414
+ /**
1415
+ * <p>Contains options for wrapping (line folding) in X12 EDI files. Wrapping controls how long lines are handled in the EDI output.</p>
1416
+ * @public
1417
+ */
1418
+ wrapOptions?: WrapOptions | undefined;
1271
1419
  }
1272
1420
  /**
1273
1421
  * <p>A container for outbound EDI options.</p>
@@ -1309,6 +1457,11 @@ export interface CapabilityOptions {
1309
1457
  * @public
1310
1458
  */
1311
1459
  outboundEdi?: OutboundEdiOptions | undefined;
1460
+ /**
1461
+ * <p>A structure that contains the inbound EDI options for the capability.</p>
1462
+ * @public
1463
+ */
1464
+ inboundEdi?: InboundEdiOptions | undefined;
1312
1465
  }
1313
1466
  /**
1314
1467
  * @public
@@ -1500,8 +1653,7 @@ export interface ListPartnershipsRequest {
1500
1653
  */
1501
1654
  profileId?: string | undefined;
1502
1655
  /**
1503
- * <p>When additional results are obtained from the command, a <code>NextToken</code> parameter is returned in the output.
1504
- * You can then pass the <code>NextToken</code> parameter in a subsequent command to continue listing additional resources.</p>
1656
+ * <p>When additional results are obtained from the command, a <code>NextToken</code> parameter is returned in the output. You can then pass the <code>NextToken</code> parameter in a subsequent command to continue listing additional resources.</p>
1505
1657
  * @public
1506
1658
  */
1507
1659
  nextToken?: string | undefined;
@@ -1512,8 +1664,7 @@ export interface ListPartnershipsRequest {
1512
1664
  maxResults?: number | undefined;
1513
1665
  }
1514
1666
  /**
1515
- * <p>A structure that contains the details for a partnership. A partnership represents the connection between you and your trading partner. It ties
1516
- * together a profile and one or more trading capabilities.</p>
1667
+ * <p>A structure that contains the details for a partnership. A partnership represents the connection between you and your trading partner. It ties together a profile and one or more trading capabilities.</p>
1517
1668
  * @public
1518
1669
  */
1519
1670
  export interface PartnershipSummary {
@@ -1568,8 +1719,7 @@ export interface ListPartnershipsResponse {
1568
1719
  */
1569
1720
  partnerships: PartnershipSummary[] | undefined;
1570
1721
  /**
1571
- * <p>When additional results are obtained from the command, a <code>NextToken</code> parameter is returned in the output.
1572
- * You can then pass the <code>NextToken</code> parameter in a subsequent command to continue listing additional resources.</p>
1722
+ * <p>When additional results are obtained from the command, a <code>NextToken</code> parameter is returned in the output. You can then pass the <code>NextToken</code> parameter in a subsequent command to continue listing additional resources.</p>
1573
1723
  * @public
1574
1724
  */
1575
1725
  nextToken?: string | undefined;
@@ -1841,8 +1991,7 @@ export interface GetProfileResponse {
1841
1991
  */
1842
1992
  export interface ListProfilesRequest {
1843
1993
  /**
1844
- * <p>When additional results are obtained from the command, a <code>NextToken</code> parameter is returned in the output.
1845
- * You can then pass the <code>NextToken</code> parameter in a subsequent command to continue listing additional resources.</p>
1994
+ * <p>When additional results are obtained from the command, a <code>NextToken</code> parameter is returned in the output. You can then pass the <code>NextToken</code> parameter in a subsequent command to continue listing additional resources.</p>
1846
1995
  * @public
1847
1996
  */
1848
1997
  nextToken?: string | undefined;
@@ -1853,8 +2002,7 @@ export interface ListProfilesRequest {
1853
2002
  maxResults?: number | undefined;
1854
2003
  }
1855
2004
  /**
1856
- * <p>Contains the details for a profile. A profile is the mechanism used to create the concept of
1857
- * a private network.</p>
2005
+ * <p>Contains the details for a profile. A profile is the mechanism used to create the concept of a private network.</p>
1858
2006
  * @public
1859
2007
  */
1860
2008
  export interface ProfileSummary {
@@ -1904,8 +2052,7 @@ export interface ListProfilesResponse {
1904
2052
  */
1905
2053
  profiles: ProfileSummary[] | undefined;
1906
2054
  /**
1907
- * <p>When additional results are obtained from the command, a <code>NextToken</code> parameter is returned in the output.
1908
- * You can then pass the <code>NextToken</code> parameter in a subsequent command to continue listing additional resources.</p>
2055
+ * <p>When additional results are obtained from the command, a <code>NextToken</code> parameter is returned in the output. You can then pass the <code>NextToken</code> parameter in a subsequent command to continue listing additional resources.</p>
1909
2056
  * @public
1910
2057
  */
1911
2058
  nextToken?: string | undefined;
@@ -2124,10 +2271,7 @@ export type ConversionTargetFormatDetails = ConversionTargetFormatDetails.X12Mem
2124
2271
  */
2125
2272
  export declare namespace ConversionTargetFormatDetails {
2126
2273
  /**
2127
- * <p>A structure that contains the X12 transaction set and version. The X12 structure is used when the system transforms an EDI (electronic data interchange) file.</p>
2128
- * <note>
2129
- * <p>If an EDI input file contains more than one transaction, each transaction must have the same transaction set and version, for example 214/4010. If not, the transformer cannot parse the file.</p>
2130
- * </note>
2274
+ * <p>A structure that contains the X12 transaction set and version. The X12 structure is used when the system transforms an EDI (electronic data interchange) file.</p> <note> <p>If an EDI input file contains more than one transaction, each transaction must have the same transaction set and version, for example 214/4010. If not, the transformer cannot parse the file.</p> </note>
2131
2275
  * @public
2132
2276
  */
2133
2277
  interface X12Member {
@@ -2157,8 +2301,7 @@ export type OutputSampleFileSource = OutputSampleFileSource.FileLocationMember |
2157
2301
  */
2158
2302
  export declare namespace OutputSampleFileSource {
2159
2303
  /**
2160
- * <p>Specifies the details for the Amazon S3 file location that is being used with Amazon Web Services B2B Data Interchange. File
2161
- * locations in Amazon S3 are identified using a combination of the bucket and key.</p>
2304
+ * <p>Specifies the details for the Amazon S3 file location that is being used with Amazon Web Services B2B Data Interchange. File locations in Amazon S3 are identified using a combination of the bucket and key.</p>
2162
2305
  * @public
2163
2306
  */
2164
2307
  interface FileLocationMember {
@@ -2253,10 +2396,7 @@ export interface TestMappingRequest {
2253
2396
  */
2254
2397
  inputFileContent: string | undefined;
2255
2398
  /**
2256
- * <p>Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.</p>
2257
- * <note>
2258
- * <p>This parameter is available for backwards compatibility. Use the <a href="https://docs.aws.amazon.com/b2bi/latest/APIReference/API_Mapping.html">Mapping</a> data type instead.</p>
2259
- * </note>
2399
+ * <p>Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.</p> <note> <p>This parameter is available for backwards compatibility. Use the <a href="https://docs.aws.amazon.com/b2bi/latest/APIReference/API_Mapping.html">Mapping</a> data type instead.</p> </note>
2260
2400
  * @public
2261
2401
  */
2262
2402
  mappingTemplate: string | undefined;
@@ -2295,6 +2435,11 @@ export interface TestParsingRequest {
2295
2435
  * @public
2296
2436
  */
2297
2437
  ediType: EdiType | undefined;
2438
+ /**
2439
+ * <p>Specifies advanced options for parsing the input EDI file. These options allow for more granular control over the parsing process, including split options for X12 files.</p>
2440
+ * @public
2441
+ */
2442
+ advancedOptions?: AdvancedOptions | undefined;
2298
2443
  }
2299
2444
  /**
2300
2445
  * @public
@@ -2305,6 +2450,11 @@ export interface TestParsingResponse {
2305
2450
  * @public
2306
2451
  */
2307
2452
  parsedFileContent: string | undefined;
2453
+ /**
2454
+ * <p>Returns an array of parsed file contents when the input file is split according to the specified split options. Each element in the array represents a separate split file's parsed content.</p>
2455
+ * @public
2456
+ */
2457
+ parsedSplitFileContents?: string[] | undefined;
2308
2458
  }
2309
2459
  /**
2310
2460
  * <p>A structure that contains the X12 transaction set and version.</p>
@@ -2316,10 +2466,7 @@ export type FormatOptions = FormatOptions.X12Member | FormatOptions.$UnknownMemb
2316
2466
  */
2317
2467
  export declare namespace FormatOptions {
2318
2468
  /**
2319
- * <p>A structure that contains the X12 transaction set and version. The X12 structure is used when the system transforms an EDI (electronic data interchange) file.</p>
2320
- * <note>
2321
- * <p>If an EDI input file contains more than one transaction, each transaction must have the same transaction set and version, for example 214/4010. If not, the transformer cannot parse the file.</p>
2322
- * </note>
2469
+ * <p>A structure that contains the X12 transaction set and version. The X12 structure is used when the system transforms an EDI (electronic data interchange) file.</p> <note> <p>If an EDI input file contains more than one transaction, each transaction must have the same transaction set and version, for example 214/4010. If not, the transformer cannot parse the file.</p> </note>
2323
2470
  * @public
2324
2471
  */
2325
2472
  interface X12Member {
@@ -2351,8 +2498,7 @@ export declare const FromFormat: {
2351
2498
  */
2352
2499
  export type FromFormat = (typeof FromFormat)[keyof typeof FromFormat];
2353
2500
  /**
2354
- * <p>Contains the input formatting options for an inbound transformer (takes an X12-formatted
2355
- * EDI document as input and converts it to JSON or XML.</p>
2501
+ * <p>Contains the input formatting options for an inbound transformer (takes an X12-formatted EDI document as input and converts it to JSON or XML.</p>
2356
2502
  * @public
2357
2503
  */
2358
2504
  export interface InputConversion {
@@ -2366,6 +2512,11 @@ export interface InputConversion {
2366
2512
  * @public
2367
2513
  */
2368
2514
  formatOptions?: FormatOptions | undefined;
2515
+ /**
2516
+ * <p>Specifies advanced options for the input conversion process. These options provide additional control over how EDI files are processed during transformation.</p>
2517
+ * @public
2518
+ */
2519
+ advancedOptions?: AdvancedOptions | undefined;
2369
2520
  }
2370
2521
  /**
2371
2522
  * @public
@@ -2481,10 +2632,7 @@ export interface CreateTransformerRequest {
2481
2632
  */
2482
2633
  fileFormat?: FileFormat | undefined;
2483
2634
  /**
2484
- * <p>Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.</p>
2485
- * <note>
2486
- * <p>This parameter is available for backwards compatibility. Use the <a href="https://docs.aws.amazon.com/b2bi/latest/APIReference/API_Mapping.html">Mapping</a> data type instead.</p>
2487
- * </note>
2635
+ * <p>Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.</p> <note> <p>This parameter is available for backwards compatibility. Use the <a href="https://docs.aws.amazon.com/b2bi/latest/APIReference/API_Mapping.html">Mapping</a> data type instead.</p> </note>
2488
2636
  *
2489
2637
  * @deprecated
2490
2638
  * @public
@@ -2505,7 +2653,7 @@ export interface CreateTransformerRequest {
2505
2653
  */
2506
2654
  sampleDocument?: string | undefined;
2507
2655
  /**
2508
- * <p>Specify the <code>InputConversion</code> object, which contains the format options for the inbound transformation.</p>
2656
+ * <p>Specify the <code>InputConversion</code> object, which contains the format options for the inbound transformation.</p>
2509
2657
  * @public
2510
2658
  */
2511
2659
  inputConversion?: InputConversion | undefined;
@@ -2557,9 +2705,7 @@ export interface CreateTransformerResponse {
2557
2705
  */
2558
2706
  name: string | undefined;
2559
2707
  /**
2560
- * <p>Returns the state of the newly created transformer. The transformer can be either
2561
- * <code>active</code> or <code>inactive</code>. For the transformer to be used in a
2562
- * capability, its status must <code>active</code>.</p>
2708
+ * <p>Returns the state of the newly created transformer. The transformer can be either <code>active</code> or <code>inactive</code>. For the transformer to be used in a capability, its status must <code>active</code>.</p>
2563
2709
  * @public
2564
2710
  */
2565
2711
  status: TransformerStatus | undefined;
@@ -2657,9 +2803,7 @@ export interface GetTransformerResponse {
2657
2803
  */
2658
2804
  name: string | undefined;
2659
2805
  /**
2660
- * <p>Returns the state of the newly created transformer. The transformer can be either
2661
- * <code>active</code> or <code>inactive</code>. For the transformer to be used in a
2662
- * capability, its status must <code>active</code>.</p>
2806
+ * <p>Returns the state of the newly created transformer. The transformer can be either <code>active</code> or <code>inactive</code>. For the transformer to be used in a capability, its status must <code>active</code>.</p>
2663
2807
  * @public
2664
2808
  */
2665
2809
  status: TransformerStatus | undefined;
@@ -2727,8 +2871,7 @@ export interface GetTransformerResponse {
2727
2871
  */
2728
2872
  export interface ListTransformersRequest {
2729
2873
  /**
2730
- * <p>When additional results are obtained from the command, a <code>NextToken</code> parameter is returned in the output.
2731
- * You can then pass the <code>NextToken</code> parameter in a subsequent command to continue listing additional resources.</p>
2874
+ * <p>When additional results are obtained from the command, a <code>NextToken</code> parameter is returned in the output. You can then pass the <code>NextToken</code> parameter in a subsequent command to continue listing additional resources.</p>
2732
2875
  * @public
2733
2876
  */
2734
2877
  nextToken?: string | undefined;
@@ -2739,8 +2882,7 @@ export interface ListTransformersRequest {
2739
2882
  maxResults?: number | undefined;
2740
2883
  }
2741
2884
  /**
2742
- * <p>Contains the details for a transformer object. A transformer can take an EDI file as input and transform it into a JSON-or XML-formatted document. Alternatively,
2743
- * a transformer can take a JSON-or XML-formatted document as input and transform it into an EDI file.</p>
2885
+ * <p>Contains the details for a transformer object. A transformer can take an EDI file as input and transform it into a JSON-or XML-formatted document. Alternatively, a transformer can take a JSON-or XML-formatted document as input and transform it into an EDI file.</p>
2744
2886
  * @public
2745
2887
  */
2746
2888
  export interface TransformerSummary {
@@ -2755,15 +2897,12 @@ export interface TransformerSummary {
2755
2897
  */
2756
2898
  name: string | undefined;
2757
2899
  /**
2758
- * <p>Returns the state of the newly created transformer. The transformer can be either
2759
- * <code>active</code> or <code>inactive</code>. For the transformer to be used in a
2760
- * capability, its status must <code>active</code>.</p>
2900
+ * <p>Returns the state of the newly created transformer. The transformer can be either <code>active</code> or <code>inactive</code>. For the transformer to be used in a capability, its status must <code>active</code>.</p>
2761
2901
  * @public
2762
2902
  */
2763
2903
  status: TransformerStatus | undefined;
2764
2904
  /**
2765
- * <p>Returns a timestamp indicating when the transformer was created. For example,
2766
- * <code>2023-07-20T19:58:44.624Z</code>.</p>
2905
+ * <p>Returns a timestamp indicating when the transformer was created. For example, <code>2023-07-20T19:58:44.624Z</code>.</p>
2767
2906
  * @public
2768
2907
  */
2769
2908
  createdAt: Date | undefined;
@@ -2826,15 +2965,12 @@ export interface TransformerSummary {
2826
2965
  */
2827
2966
  export interface ListTransformersResponse {
2828
2967
  /**
2829
- * <p>Returns an array of one or more transformer objects.</p>
2830
- * <p>For each transformer, a <code>TransformerSummary</code> object is returned.
2831
- * The <code>TransformerSummary</code> contains all the details for a specific transformer.</p>
2968
+ * <p>Returns an array of one or more transformer objects.</p> <p>For each transformer, a <code>TransformerSummary</code> object is returned. The <code>TransformerSummary</code> contains all the details for a specific transformer.</p>
2832
2969
  * @public
2833
2970
  */
2834
2971
  transformers: TransformerSummary[] | undefined;
2835
2972
  /**
2836
- * <p>When additional results are obtained from the command, a <code>NextToken</code> parameter is returned in the output.
2837
- * You can then pass the <code>NextToken</code> parameter in a subsequent command to continue listing additional resources.</p>
2973
+ * <p>When additional results are obtained from the command, a <code>NextToken</code> parameter is returned in the output. You can then pass the <code>NextToken</code> parameter in a subsequent command to continue listing additional resources.</p>
2838
2974
  * @public
2839
2975
  */
2840
2976
  nextToken?: string | undefined;
@@ -2866,10 +3002,7 @@ export interface UpdateTransformerRequest {
2866
3002
  */
2867
3003
  fileFormat?: FileFormat | undefined;
2868
3004
  /**
2869
- * <p>Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.</p>
2870
- * <note>
2871
- * <p>This parameter is available for backwards compatibility. Use the <a href="https://docs.aws.amazon.com/b2bi/latest/APIReference/API_Mapping.html">Mapping</a> data type instead.</p>
2872
- * </note>
3005
+ * <p>Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.</p> <note> <p>This parameter is available for backwards compatibility. Use the <a href="https://docs.aws.amazon.com/b2bi/latest/APIReference/API_Mapping.html">Mapping</a> data type instead.</p> </note>
2873
3006
  *
2874
3007
  * @deprecated
2875
3008
  * @public
@@ -2930,9 +3063,7 @@ export interface UpdateTransformerResponse {
2930
3063
  */
2931
3064
  name: string | undefined;
2932
3065
  /**
2933
- * <p>Returns the state of the newly created transformer. The transformer can be either
2934
- * <code>active</code> or <code>inactive</code>. For the transformer to be used in a
2935
- * capability, its status must <code>active</code>.</p>
3066
+ * <p>Returns the state of the newly created transformer. The transformer can be either <code>active</code> or <code>inactive</code>. For the transformer to be used in a capability, its status must <code>active</code>.</p>
2936
3067
  * @public
2937
3068
  */
2938
3069
  status: TransformerStatus | undefined;