@aws-sdk/client-b2bi 3.839.0 → 3.840.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 +13 -12
package/README.md CHANGED
@@ -6,17 +6,7 @@
6
6
 
7
7
  AWS SDK for JavaScript B2bi Client for Node.js, Browser and React Native.
8
8
 
9
- <p>This is the <i>Amazon Web Services B2B Data Interchange API Reference</i>. It provides descriptions, API request parameters, and the XML response for each of the B2BI API actions.</p>
10
- <p>B2BI enables automated exchange of EDI (electronic data interchange) based business-critical transactions at cloud
11
- scale, with elasticity and pay-as-you-go pricing. Businesses use EDI documents to exchange
12
- transactional data with trading partners, such as suppliers and end customers, using
13
- standardized formats such as X12.</p>
14
- <note>
15
- <p>Rather than actually running a command, you can use the
16
- <code>--generate-cli-skeleton</code> parameter with any API call to generate and display
17
- a parameter template. You can then use the generated template to customize and use as input
18
- on a later command. For details, see <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-skeleton.html#cli-usage-skeleton-generate">Generate and use a parameter skeleton file</a>.</p>
19
- </note>
9
+ <p>This is the <i>Amazon Web Services B2B Data Interchange API Reference</i>. It provides descriptions, API request parameters, and the XML response for each of the B2BI API actions.</p> <p>B2BI enables automated exchange of EDI (electronic data interchange) based business-critical transactions at cloud scale, with elasticity and pay-as-you-go pricing. Businesses use EDI documents to exchange transactional data with trading partners, such as suppliers and end customers, using standardized formats such as X12.</p> <note> <p>Rather than actually running a command, you can use the <code>--generate-cli-skeleton</code> parameter with any API call to generate and display a parameter template. You can then use the generated template to customize and use as input on a later command. For details, see <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-skeleton.html#cli-usage-skeleton-generate">Generate and use a parameter skeleton file</a>.</p> </note>
20
10
 
21
11
  ## Installing
22
12
 
package/dist-cjs/index.js CHANGED
@@ -59,6 +59,7 @@ __export(index_exports, {
59
59
  GetTransformerJobCommand: () => GetTransformerJobCommand,
60
60
  InputFileSource: () => InputFileSource,
61
61
  InternalServerException: () => InternalServerException,
62
+ LineTerminator: () => LineTerminator,
62
63
  ListCapabilitiesCommand: () => ListCapabilitiesCommand,
63
64
  ListPartnershipsCommand: () => ListPartnershipsCommand,
64
65
  ListProfilesCommand: () => ListProfilesCommand,
@@ -90,13 +91,20 @@ __export(index_exports, {
90
91
  UpdateProfileResponseFilterSensitiveLog: () => UpdateProfileResponseFilterSensitiveLog,
91
92
  UpdateTransformerCommand: () => UpdateTransformerCommand,
92
93
  ValidationException: () => ValidationException,
94
+ WrapFormat: () => WrapFormat,
95
+ X12FunctionalAcknowledgment: () => X12FunctionalAcknowledgment,
96
+ X12GS05TimeFormat: () => X12GS05TimeFormat,
97
+ X12SplitBy: () => X12SplitBy,
98
+ X12TechnicalAcknowledgment: () => X12TechnicalAcknowledgment,
93
99
  X12TransactionSet: () => X12TransactionSet,
94
100
  X12Version: () => X12Version,
95
101
  __Client: () => import_smithy_client.Client,
96
102
  paginateListCapabilities: () => paginateListCapabilities,
97
103
  paginateListPartnerships: () => paginateListPartnerships,
98
104
  paginateListProfiles: () => paginateListProfiles,
99
- paginateListTransformers: () => paginateListTransformers
105
+ paginateListTransformers: () => paginateListTransformers,
106
+ waitForTransformerJobSucceeded: () => waitForTransformerJobSucceeded,
107
+ waitUntilTransformerJobSucceeded: () => waitUntilTransformerJobSucceeded
100
108
  });
101
109
  module.exports = __toCommonJS(index_exports);
102
110
 
@@ -290,6 +298,10 @@ var AccessDeniedException = class _AccessDeniedException extends B2biServiceExce
290
298
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
291
299
  }
292
300
  };
301
+ var X12SplitBy = {
302
+ NONE: "NONE",
303
+ TRANSACTION: "TRANSACTION"
304
+ };
293
305
  var ConflictException = class _ConflictException extends B2biServiceException {
294
306
  static {
295
307
  __name(this, "ConflictException");
@@ -827,6 +839,30 @@ var TransformerJobStatus = {
827
839
  RUNNING: "running",
828
840
  SUCCEEDED: "succeeded"
829
841
  };
842
+ var X12FunctionalAcknowledgment = {
843
+ DO_NOT_GENERATE: "DO_NOT_GENERATE",
844
+ GENERATE_ALL_SEGMENTS: "GENERATE_ALL_SEGMENTS",
845
+ GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP: "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP"
846
+ };
847
+ var X12TechnicalAcknowledgment = {
848
+ DO_NOT_GENERATE: "DO_NOT_GENERATE",
849
+ GENERATE_ALL_SEGMENTS: "GENERATE_ALL_SEGMENTS"
850
+ };
851
+ var X12GS05TimeFormat = {
852
+ HHMM: "HHMM",
853
+ HHMMSS: "HHMMSS",
854
+ HHMMSSDD: "HHMMSSDD"
855
+ };
856
+ var LineTerminator = {
857
+ CR: "CR",
858
+ CRLF: "CRLF",
859
+ LF: "LF"
860
+ };
861
+ var WrapFormat = {
862
+ LINE_LENGTH: "LINE_LENGTH",
863
+ ONE_LINE: "ONE_LINE",
864
+ SEGMENT: "SEGMENT"
865
+ };
830
866
  var OutboundEdiOptions;
831
867
  ((OutboundEdiOptions3) => {
832
868
  OutboundEdiOptions3.visit = /* @__PURE__ */ __name((value, visitor) => {
@@ -2462,6 +2498,46 @@ var paginateListProfiles = (0, import_core.createPaginator)(B2biClient, ListProf
2462
2498
  // src/pagination/ListTransformersPaginator.ts
2463
2499
 
2464
2500
  var paginateListTransformers = (0, import_core.createPaginator)(B2biClient, ListTransformersCommand, "nextToken", "nextToken", "maxResults");
2501
+
2502
+ // src/waiters/waitForTransformerJobSucceeded.ts
2503
+ var import_util_waiter = require("@smithy/util-waiter");
2504
+ var checkState = /* @__PURE__ */ __name(async (client, input) => {
2505
+ let reason;
2506
+ try {
2507
+ const result = await client.send(new GetTransformerJobCommand(input));
2508
+ reason = result;
2509
+ try {
2510
+ const returnComparator = /* @__PURE__ */ __name(() => {
2511
+ return result.status;
2512
+ }, "returnComparator");
2513
+ if (returnComparator() === "succeeded") {
2514
+ return { state: import_util_waiter.WaiterState.SUCCESS, reason };
2515
+ }
2516
+ } catch (e) {
2517
+ }
2518
+ try {
2519
+ const returnComparator = /* @__PURE__ */ __name(() => {
2520
+ return result.status;
2521
+ }, "returnComparator");
2522
+ if (returnComparator() === "failed") {
2523
+ return { state: import_util_waiter.WaiterState.FAILURE, reason };
2524
+ }
2525
+ } catch (e) {
2526
+ }
2527
+ } catch (exception) {
2528
+ reason = exception;
2529
+ }
2530
+ return { state: import_util_waiter.WaiterState.RETRY, reason };
2531
+ }, "checkState");
2532
+ var waitForTransformerJobSucceeded = /* @__PURE__ */ __name(async (params, input) => {
2533
+ const serviceDefaults = { minDelay: 10, maxDelay: 120 };
2534
+ return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
2535
+ }, "waitForTransformerJobSucceeded");
2536
+ var waitUntilTransformerJobSucceeded = /* @__PURE__ */ __name(async (params, input) => {
2537
+ const serviceDefaults = { minDelay: 10, maxDelay: 120 };
2538
+ const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
2539
+ return (0, import_util_waiter.checkExceptions)(result);
2540
+ }, "waitUntilTransformerJobSucceeded");
2465
2541
  // Annotate the CommonJS export names for ESM import in node:
2466
2542
 
2467
2543
  0 && (module.exports = {
@@ -2504,7 +2580,10 @@ var paginateListTransformers = (0, import_core.createPaginator)(B2biClient, List
2504
2580
  paginateListPartnerships,
2505
2581
  paginateListProfiles,
2506
2582
  paginateListTransformers,
2583
+ waitForTransformerJobSucceeded,
2584
+ waitUntilTransformerJobSucceeded,
2507
2585
  AccessDeniedException,
2586
+ X12SplitBy,
2508
2587
  ConflictException,
2509
2588
  CapabilityDirection,
2510
2589
  X12TransactionSet,
@@ -2520,6 +2599,11 @@ var paginateListTransformers = (0, import_core.createPaginator)(B2biClient, List
2520
2599
  MappingType,
2521
2600
  TemplateDetails,
2522
2601
  TransformerJobStatus,
2602
+ X12FunctionalAcknowledgment,
2603
+ X12TechnicalAcknowledgment,
2604
+ X12GS05TimeFormat,
2605
+ LineTerminator,
2606
+ WrapFormat,
2523
2607
  OutboundEdiOptions,
2524
2608
  Logging,
2525
2609
  ConversionSourceFormat,
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./B2biClient";
2
2
  export * from "./B2bi";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
+ export * from "./waiters";
5
6
  export * from "./models";
6
7
  export { B2biServiceException } from "./models/B2biServiceException";
@@ -12,6 +12,10 @@ export class AccessDeniedException extends __BaseException {
12
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
13
  }
14
14
  }
15
+ export const X12SplitBy = {
16
+ NONE: "NONE",
17
+ TRANSACTION: "TRANSACTION",
18
+ };
15
19
  export class ConflictException extends __BaseException {
16
20
  name = "ConflictException";
17
21
  $fault = "client";
@@ -492,6 +496,30 @@ export const TransformerJobStatus = {
492
496
  RUNNING: "running",
493
497
  SUCCEEDED: "succeeded",
494
498
  };
499
+ export const X12FunctionalAcknowledgment = {
500
+ DO_NOT_GENERATE: "DO_NOT_GENERATE",
501
+ GENERATE_ALL_SEGMENTS: "GENERATE_ALL_SEGMENTS",
502
+ GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP: "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP",
503
+ };
504
+ export const X12TechnicalAcknowledgment = {
505
+ DO_NOT_GENERATE: "DO_NOT_GENERATE",
506
+ GENERATE_ALL_SEGMENTS: "GENERATE_ALL_SEGMENTS",
507
+ };
508
+ export const X12GS05TimeFormat = {
509
+ HHMM: "HHMM",
510
+ HHMMSS: "HHMMSS",
511
+ HHMMSSDD: "HHMMSSDD",
512
+ };
513
+ export const LineTerminator = {
514
+ CR: "CR",
515
+ CRLF: "CRLF",
516
+ LF: "LF",
517
+ };
518
+ export const WrapFormat = {
519
+ LINE_LENGTH: "LINE_LENGTH",
520
+ ONE_LINE: "ONE_LINE",
521
+ SEGMENT: "SEGMENT",
522
+ };
495
523
  export var OutboundEdiOptions;
496
524
  (function (OutboundEdiOptions) {
497
525
  OutboundEdiOptions.visit = (value, visitor) => {
@@ -0,0 +1 @@
1
+ export * from "./waitForTransformerJobSucceeded";
@@ -0,0 +1,40 @@
1
+ import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
2
+ import { GetTransformerJobCommand } from "../commands/GetTransformerJobCommand";
3
+ const checkState = async (client, input) => {
4
+ let reason;
5
+ try {
6
+ const result = await client.send(new GetTransformerJobCommand(input));
7
+ reason = result;
8
+ try {
9
+ const returnComparator = () => {
10
+ return result.status;
11
+ };
12
+ if (returnComparator() === "succeeded") {
13
+ return { state: WaiterState.SUCCESS, reason };
14
+ }
15
+ }
16
+ catch (e) { }
17
+ try {
18
+ const returnComparator = () => {
19
+ return result.status;
20
+ };
21
+ if (returnComparator() === "failed") {
22
+ return { state: WaiterState.FAILURE, reason };
23
+ }
24
+ }
25
+ catch (e) { }
26
+ }
27
+ catch (exception) {
28
+ reason = exception;
29
+ }
30
+ return { state: WaiterState.RETRY, reason };
31
+ };
32
+ export const waitForTransformerJobSucceeded = async (params, input) => {
33
+ const serviceDefaults = { minDelay: 10, maxDelay: 120 };
34
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
35
+ };
36
+ export const waitUntilTransformerJobSucceeded = async (params, input) => {
37
+ const serviceDefaults = { minDelay: 10, maxDelay: 120 };
38
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
39
+ return checkExceptions(result);
40
+ };
@@ -217,17 +217,7 @@ export interface B2bi {
217
217
  updateTransformer(args: UpdateTransformerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTransformerCommandOutput) => void): void;
218
218
  }
219
219
  /**
220
- * <p>This is the <i>Amazon Web Services B2B Data Interchange API Reference</i>. It provides descriptions, API request parameters, and the XML response for each of the B2BI API actions.</p>
221
- * <p>B2BI enables automated exchange of EDI (electronic data interchange) based business-critical transactions at cloud
222
- * scale, with elasticity and pay-as-you-go pricing. Businesses use EDI documents to exchange
223
- * transactional data with trading partners, such as suppliers and end customers, using
224
- * standardized formats such as X12.</p>
225
- * <note>
226
- * <p>Rather than actually running a command, you can use the
227
- * <code>--generate-cli-skeleton</code> parameter with any API call to generate and display
228
- * a parameter template. You can then use the generated template to customize and use as input
229
- * on a later command. For details, see <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-skeleton.html#cli-usage-skeleton-generate">Generate and use a parameter skeleton file</a>.</p>
230
- * </note>
220
+ * <p>This is the <i>Amazon Web Services B2B Data Interchange API Reference</i>. It provides descriptions, API request parameters, and the XML response for each of the B2BI API actions.</p> <p>B2BI enables automated exchange of EDI (electronic data interchange) based business-critical transactions at cloud scale, with elasticity and pay-as-you-go pricing. Businesses use EDI documents to exchange transactional data with trading partners, such as suppliers and end customers, using standardized formats such as X12.</p> <note> <p>Rather than actually running a command, you can use the <code>--generate-cli-skeleton</code> parameter with any API call to generate and display a parameter template. You can then use the generated template to customize and use as input on a later command. For details, see <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-skeleton.html#cli-usage-skeleton-generate">Generate and use a parameter skeleton file</a>.</p> </note>
231
221
  * @public
232
222
  */
233
223
  export declare class B2bi extends B2biClient implements B2bi {
@@ -199,17 +199,7 @@ export type B2biClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpH
199
199
  export interface B2biClientResolvedConfig extends B2biClientResolvedConfigType {
200
200
  }
201
201
  /**
202
- * <p>This is the <i>Amazon Web Services B2B Data Interchange API Reference</i>. It provides descriptions, API request parameters, and the XML response for each of the B2BI API actions.</p>
203
- * <p>B2BI enables automated exchange of EDI (electronic data interchange) based business-critical transactions at cloud
204
- * scale, with elasticity and pay-as-you-go pricing. Businesses use EDI documents to exchange
205
- * transactional data with trading partners, such as suppliers and end customers, using
206
- * standardized formats such as X12.</p>
207
- * <note>
208
- * <p>Rather than actually running a command, you can use the
209
- * <code>--generate-cli-skeleton</code> parameter with any API call to generate and display
210
- * a parameter template. You can then use the generated template to customize and use as input
211
- * on a later command. For details, see <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-skeleton.html#cli-usage-skeleton-generate">Generate and use a parameter skeleton file</a>.</p>
212
- * </note>
202
+ * <p>This is the <i>Amazon Web Services B2B Data Interchange API Reference</i>. It provides descriptions, API request parameters, and the XML response for each of the B2BI API actions.</p> <p>B2BI enables automated exchange of EDI (electronic data interchange) based business-critical transactions at cloud scale, with elasticity and pay-as-you-go pricing. Businesses use EDI documents to exchange transactional data with trading partners, such as suppliers and end customers, using standardized formats such as X12.</p> <note> <p>Rather than actually running a command, you can use the <code>--generate-cli-skeleton</code> parameter with any API call to generate and display a parameter template. You can then use the generated template to customize and use as input on a later command. For details, see <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-skeleton.html#cli-usage-skeleton-generate">Generate and use a parameter skeleton file</a>.</p> </note>
213
203
  * @public
214
204
  */
215
205
  export declare class B2biClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, B2biClientResolvedConfig> {
@@ -27,8 +27,7 @@ declare const CreatePartnershipCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates a partnership between a customer and a trading partner, based on the supplied parameters. A partnership represents the connection between you and your trading partner. It ties
31
- * together a profile and one or more trading capabilities.</p>
30
+ * <p>Creates a partnership between a customer and a trading partner, based on the supplied parameters. A partnership represents the connection between you and your trading partner. It ties together a profile and one or more trading capabilities.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -67,6 +66,25 @@ declare const CreatePartnershipCommand_base: {
67
66
  * segmentTerminator: "STRING_VALUE",
68
67
  * },
69
68
  * validateEdi: true || false,
69
+ * controlNumbers: { // X12ControlNumbers
70
+ * startingInterchangeControlNumber: Number("int"),
71
+ * startingFunctionalGroupControlNumber: Number("int"),
72
+ * startingTransactionSetControlNumber: Number("int"),
73
+ * },
74
+ * gs05TimeFormat: "HHMM" || "HHMMSS" || "HHMMSSDD",
75
+ * },
76
+ * wrapOptions: { // WrapOptions
77
+ * wrapBy: "SEGMENT" || "ONE_LINE" || "LINE_LENGTH", // required
78
+ * lineTerminator: "CRLF" || "LF" || "CR",
79
+ * lineLength: Number("int"),
80
+ * },
81
+ * },
82
+ * },
83
+ * inboundEdi: { // InboundEdiOptions
84
+ * x12: { // X12InboundEdiOptions
85
+ * acknowledgmentOptions: { // X12AcknowledgmentOptions
86
+ * functionalAcknowledgment: "DO_NOT_GENERATE" || "GENERATE_ALL_SEGMENTS" || "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP", // required
87
+ * technicalAcknowledgment: "DO_NOT_GENERATE" || "GENERATE_ALL_SEGMENTS", // required
70
88
  * },
71
89
  * },
72
90
  * },
@@ -115,6 +133,25 @@ declare const CreatePartnershipCommand_base: {
115
133
  * // segmentTerminator: "STRING_VALUE",
116
134
  * // },
117
135
  * // validateEdi: true || false,
136
+ * // controlNumbers: { // X12ControlNumbers
137
+ * // startingInterchangeControlNumber: Number("int"),
138
+ * // startingFunctionalGroupControlNumber: Number("int"),
139
+ * // startingTransactionSetControlNumber: Number("int"),
140
+ * // },
141
+ * // gs05TimeFormat: "HHMM" || "HHMMSS" || "HHMMSSDD",
142
+ * // },
143
+ * // wrapOptions: { // WrapOptions
144
+ * // wrapBy: "SEGMENT" || "ONE_LINE" || "LINE_LENGTH", // required
145
+ * // lineTerminator: "CRLF" || "LF" || "CR",
146
+ * // lineLength: Number("int"),
147
+ * // },
148
+ * // },
149
+ * // },
150
+ * // inboundEdi: { // InboundEdiOptions
151
+ * // x12: { // X12InboundEdiOptions
152
+ * // acknowledgmentOptions: { // X12AcknowledgmentOptions
153
+ * // functionalAcknowledgment: "DO_NOT_GENERATE" || "GENERATE_ALL_SEGMENTS" || "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP", // required
154
+ * // technicalAcknowledgment: "DO_NOT_GENERATE" || "GENERATE_ALL_SEGMENTS", // required
118
155
  * // },
119
156
  * // },
120
157
  * // },
@@ -27,8 +27,7 @@ declare const CreateProfileCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates a customer profile. You can have up to five customer profiles, each representing a distinct private network. A profile is the mechanism used to create the concept of
31
- * a private network.</p>
30
+ * <p>Creates a customer profile. You can have up to five customer profiles, each representing a distinct private network. A profile is the mechanism used to create the concept of a private network.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -27,13 +27,7 @@ declare const CreateStarterMappingTemplateCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Amazon Web Services B2B Data Interchange uses a mapping template in JSONata or XSLT format to transform a customer input file into a JSON or XML file that can be converted to EDI.</p>
31
- * <p>If you provide a sample EDI file with the same structure as the EDI files that you wish to generate, then the service can generate a mapping template.
32
- * The starter template contains placeholder values which you can replace with JSONata or XSLT expressions to take data from your input file and insert it
33
- * into the JSON or XML file that is used to generate the EDI.</p>
34
- * <p>If you do not provide a sample EDI file, then the service can generate a mapping template based on the EDI settings in the <code>templateDetails</code> parameter.
35
- * </p>
36
- * <p> Currently, we only support generating a template that can generate the input to produce an Outbound X12 EDI file.</p>
30
+ * <p>Amazon Web Services B2B Data Interchange uses a mapping template in JSONata or XSLT format to transform a customer input file into a JSON or XML file that can be converted to EDI.</p> <p>If you provide a sample EDI file with the same structure as the EDI files that you wish to generate, then the service can generate a mapping template. The starter template contains placeholder values which you can replace with JSONata or XSLT expressions to take data from your input file and insert it into the JSON or XML file that is used to generate the EDI.</p> <p>If you do not provide a sample EDI file, then the service can generate a mapping template based on the EDI settings in the <code>templateDetails</code> parameter. </p> <p> Currently, we only support generating a template that can generate the input to produce an Outbound X12 EDI file.</p>
37
31
  * @example
38
32
  * Use a bare-bones client and the command you need to make an API call.
39
33
  * ```javascript
@@ -27,39 +27,7 @@ declare const CreateTransformerCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates a transformer. Amazon Web Services B2B Data Interchange currently supports two scenarios:</p>
31
- * <ul>
32
- * <li>
33
- * <p>
34
- * <i>Inbound EDI</i>: the Amazon Web Services customer receives an EDI file from their trading partner. Amazon Web Services B2B Data Interchange
35
- * converts this EDI file into a JSON or XML file with a service-defined structure. A mapping template provided by the customer,
36
- * in JSONata or XSLT format, is optionally applied to this file to produce a JSON or XML file with the structure the customer requires.</p>
37
- * </li>
38
- * <li>
39
- * <p>
40
- * <i>Outbound EDI</i>: the Amazon Web Services customer has a JSON or XML file containing data that they wish to use
41
- * in an EDI file. A mapping template, provided by the customer (in either JSONata or XSLT format) is applied to this file to generate
42
- * a JSON or XML file in the service-defined structure. This file is then converted to an EDI file.</p>
43
- * </li>
44
- * </ul>
45
- * <note>
46
- * <p>The following fields are provided for backwards compatibility only: <code>fileFormat</code>,
47
- * <code>mappingTemplate</code>, <code>ediType</code>, and <code>sampleDocument</code>.</p>
48
- * <ul>
49
- * <li>
50
- * <p>Use the <code>mapping</code> data type in place of <code>mappingTemplate</code> and <code>fileFormat</code>
51
- * </p>
52
- * </li>
53
- * <li>
54
- * <p>Use the <code>sampleDocuments</code> data type in place of <code>sampleDocument</code>
55
- * </p>
56
- * </li>
57
- * <li>
58
- * <p>Use either the <code>inputConversion</code> or <code>outputConversion</code> in place of <code>ediType</code>
59
- * </p>
60
- * </li>
61
- * </ul>
62
- * </note>
30
+ * <p>Creates a transformer. Amazon Web Services B2B Data Interchange currently supports two scenarios:</p> <ul> <li> <p> <i>Inbound EDI</i>: the Amazon Web Services customer receives an EDI file from their trading partner. Amazon Web Services B2B Data Interchange converts this EDI file into a JSON or XML file with a service-defined structure. A mapping template provided by the customer, in JSONata or XSLT format, is optionally applied to this file to produce a JSON or XML file with the structure the customer requires.</p> </li> <li> <p> <i>Outbound EDI</i>: the Amazon Web Services customer has a JSON or XML file containing data that they wish to use in an EDI file. A mapping template, provided by the customer (in either JSONata or XSLT format) is applied to this file to generate a JSON or XML file in the service-defined structure. This file is then converted to an EDI file.</p> </li> </ul> <note> <p>The following fields are provided for backwards compatibility only: <code>fileFormat</code>, <code>mappingTemplate</code>, <code>ediType</code>, and <code>sampleDocument</code>.</p> <ul> <li> <p>Use the <code>mapping</code> data type in place of <code>mappingTemplate</code> and <code>fileFormat</code> </p> </li> <li> <p>Use the <code>sampleDocuments</code> data type in place of <code>sampleDocument</code> </p> </li> <li> <p>Use either the <code>inputConversion</code> or <code>outputConversion</code> in place of <code>ediType</code> </p> </li> </ul> </note>
63
31
  * @example
64
32
  * Use a bare-bones client and the command you need to make an API call.
65
33
  * ```javascript
@@ -92,6 +60,13 @@ declare const CreateTransformerCommand_base: {
92
60
  * version: "VERSION_4010" || "VERSION_4030" || "VERSION_4050" || "VERSION_4060" || "VERSION_5010" || "VERSION_5010_HIPAA",
93
61
  * },
94
62
  * },
63
+ * advancedOptions: { // AdvancedOptions
64
+ * x12: { // X12AdvancedOptions
65
+ * splitOptions: { // X12SplitOptions
66
+ * splitBy: "NONE" || "TRANSACTION", // required
67
+ * },
68
+ * },
69
+ * },
95
70
  * },
96
71
  * mapping: { // Mapping
97
72
  * templateLanguage: "XSLT" || "JSONATA", // required
@@ -141,6 +116,13 @@ declare const CreateTransformerCommand_base: {
141
116
  * // version: "VERSION_4010" || "VERSION_4030" || "VERSION_4050" || "VERSION_4060" || "VERSION_5010" || "VERSION_5010_HIPAA",
142
117
  * // },
143
118
  * // },
119
+ * // advancedOptions: { // AdvancedOptions
120
+ * // x12: { // X12AdvancedOptions
121
+ * // splitOptions: { // X12SplitOptions
122
+ * // splitBy: "NONE" || "TRANSACTION", // required
123
+ * // },
124
+ * // },
125
+ * // },
144
126
  * // },
145
127
  * // mapping: { // Mapping
146
128
  * // templateLanguage: "XSLT" || "JSONATA", // required
@@ -27,8 +27,7 @@ declare const DeletePartnershipCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deletes the specified partnership. A partnership represents the connection between you and your trading partner. It ties
31
- * together a profile and one or more trading capabilities.</p>
30
+ * <p>Deletes the specified partnership. A partnership represents the connection between you and your trading partner. It ties together a profile and one or more trading capabilities.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -27,8 +27,7 @@ declare const DeleteProfileCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deletes the specified profile. A profile is the mechanism used to create the concept of
31
- * a private network.</p>
30
+ * <p>Deletes the specified profile. A profile is the mechanism used to create the concept of a private network.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -27,8 +27,7 @@ declare const DeleteTransformerCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deletes the specified transformer. A transformer can take an EDI file as input and transform it into a JSON-or XML-formatted document. Alternatively,
31
- * a transformer can take a JSON-or XML-formatted document as input and transform it into an EDI file.</p>
30
+ * <p>Deletes the specified transformer. 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>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -27,11 +27,7 @@ declare const GenerateMappingCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Takes sample input and output documents and uses Amazon Bedrock to generate a mapping automatically. Depending on the accuracy and other factors, you can then edit the mapping for your needs.</p>
31
- * <note>
32
- * <p>Before you can use the AI-assisted feature for Amazon Web Services B2B Data Interchange you must enable models in Amazon Bedrock. For details, see <a href="https://docs.aws.amazon.com/b2bi/latest/userguide/ai-assisted-mapping.html#ai-assist-prereq">AI-assisted template mapping prerequisites</a> in
33
- * the <i>Amazon Web Services B2B Data Interchange User guide</i>.</p>
34
- * </note>
30
+ * <p>Takes sample input and output documents and uses Amazon Bedrock to generate a mapping automatically. Depending on the accuracy and other factors, you can then edit the mapping for your needs.</p> <note> <p>Before you can use the AI-assisted feature for Amazon Web Services B2B Data Interchange you must enable models in Amazon Bedrock. For details, see <a href="https://docs.aws.amazon.com/b2bi/latest/userguide/ai-assisted-mapping.html#ai-assist-prereq">AI-assisted template mapping prerequisites</a> in the <i>Amazon Web Services B2B Data Interchange User guide</i>.</p> </note> <p>To generate a mapping, perform the following steps:</p> <ol> <li> <p>Start with an X12 EDI document to use as the input.</p> </li> <li> <p>Call <code>TestMapping</code> using your EDI document.</p> </li> <li> <p>Use the output from the <code>TestMapping</code> operation as either input or output for your GenerateMapping call, along with your sample file.</p> </li> </ol>
35
31
  * @example
36
32
  * Use a bare-bones client and the command you need to make an API call.
37
33
  * ```javascript
@@ -27,8 +27,7 @@ declare const GetPartnershipCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves the details for a partnership, based on the partner and profile IDs specified. A partnership represents the connection between you and your trading partner. It ties
31
- * together a profile and one or more trading capabilities.</p>
30
+ * <p>Retrieves the details for a partnership, based on the partner and profile IDs specified. A partnership represents the connection between you and your trading partner. It ties together a profile and one or more trading capabilities.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -74,6 +73,25 @@ declare const GetPartnershipCommand_base: {
74
73
  * // segmentTerminator: "STRING_VALUE",
75
74
  * // },
76
75
  * // validateEdi: true || false,
76
+ * // controlNumbers: { // X12ControlNumbers
77
+ * // startingInterchangeControlNumber: Number("int"),
78
+ * // startingFunctionalGroupControlNumber: Number("int"),
79
+ * // startingTransactionSetControlNumber: Number("int"),
80
+ * // },
81
+ * // gs05TimeFormat: "HHMM" || "HHMMSS" || "HHMMSSDD",
82
+ * // },
83
+ * // wrapOptions: { // WrapOptions
84
+ * // wrapBy: "SEGMENT" || "ONE_LINE" || "LINE_LENGTH", // required
85
+ * // lineTerminator: "CRLF" || "LF" || "CR",
86
+ * // lineLength: Number("int"),
87
+ * // },
88
+ * // },
89
+ * // },
90
+ * // inboundEdi: { // InboundEdiOptions
91
+ * // x12: { // X12InboundEdiOptions
92
+ * // acknowledgmentOptions: { // X12AcknowledgmentOptions
93
+ * // functionalAcknowledgment: "DO_NOT_GENERATE" || "GENERATE_ALL_SEGMENTS" || "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP", // required
94
+ * // technicalAcknowledgment: "DO_NOT_GENERATE" || "GENERATE_ALL_SEGMENTS", // required
77
95
  * // },
78
96
  * // },
79
97
  * // },
@@ -27,8 +27,7 @@ declare const GetProfileCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves the details for the profile specified by the profile ID. A profile is the mechanism used to create the concept of
31
- * a private network.</p>
30
+ * <p>Retrieves the details for the profile specified by the profile ID. A profile is the mechanism used to create the concept of a private network.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -27,8 +27,7 @@ declare const GetTransformerCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves the details for the transformer specified by the transformer ID. A transformer can take an EDI file as input and transform it into a JSON-or XML-formatted document. Alternatively,
31
- * a transformer can take a JSON-or XML-formatted document as input and transform it into an EDI file.</p>
30
+ * <p>Retrieves the details for the transformer specified by the transformer ID. 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>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -64,6 +63,13 @@ declare const GetTransformerCommand_base: {
64
63
  * // version: "VERSION_4010" || "VERSION_4030" || "VERSION_4050" || "VERSION_4060" || "VERSION_5010" || "VERSION_5010_HIPAA",
65
64
  * // },
66
65
  * // },
66
+ * // advancedOptions: { // AdvancedOptions
67
+ * // x12: { // X12AdvancedOptions
68
+ * // splitOptions: { // X12SplitOptions
69
+ * // splitBy: "NONE" || "TRANSACTION", // required
70
+ * // },
71
+ * // },
72
+ * // },
67
73
  * // },
68
74
  * // mapping: { // Mapping
69
75
  * // templateLanguage: "XSLT" || "JSONATA", // required
@@ -27,7 +27,7 @@ declare const GetTransformerJobCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns the details of the transformer run, based on the Transformer job ID.</p>
30
+ * <p>Returns the details of the transformer run, based on the Transformer job ID.</p> <note> <p>If 30 days have elapsed since your transformer job was started, the system deletes it. So, if you run <code>GetTransformerJob</code> and supply a <code>transformerId</code> and <code>transformerJobId</code> for a job that was started more than 30 days previously, you receive a 404 response.</p> </note>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,8 +27,7 @@ declare const ListPartnershipsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists the partnerships associated with your Amazon Web Services account for your current or specified region. A partnership represents the connection between you and your trading partner. It ties
31
- * together a profile and one or more trading capabilities.</p>
30
+ * <p>Lists the partnerships associated with your Amazon Web Services account for your current or specified region. A partnership represents the connection between you and your trading partner. It ties together a profile and one or more trading capabilities.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -75,6 +74,25 @@ declare const ListPartnershipsCommand_base: {
75
74
  * // segmentTerminator: "STRING_VALUE",
76
75
  * // },
77
76
  * // validateEdi: true || false,
77
+ * // controlNumbers: { // X12ControlNumbers
78
+ * // startingInterchangeControlNumber: Number("int"),
79
+ * // startingFunctionalGroupControlNumber: Number("int"),
80
+ * // startingTransactionSetControlNumber: Number("int"),
81
+ * // },
82
+ * // gs05TimeFormat: "HHMM" || "HHMMSS" || "HHMMSSDD",
83
+ * // },
84
+ * // wrapOptions: { // WrapOptions
85
+ * // wrapBy: "SEGMENT" || "ONE_LINE" || "LINE_LENGTH", // required
86
+ * // lineTerminator: "CRLF" || "LF" || "CR",
87
+ * // lineLength: Number("int"),
88
+ * // },
89
+ * // },
90
+ * // },
91
+ * // inboundEdi: { // InboundEdiOptions
92
+ * // x12: { // X12InboundEdiOptions
93
+ * // acknowledgmentOptions: { // X12AcknowledgmentOptions
94
+ * // functionalAcknowledgment: "DO_NOT_GENERATE" || "GENERATE_ALL_SEGMENTS" || "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP", // required
95
+ * // technicalAcknowledgment: "DO_NOT_GENERATE" || "GENERATE_ALL_SEGMENTS", // required
78
96
  * // },
79
97
  * // },
80
98
  * // },