@aws-sdk/client-b2bi 3.658.1 → 3.663.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/dist-cjs/index.js +205 -4
- package/dist-es/B2bi.js +4 -0
- package/dist-es/commands/CreateStarterMappingTemplateCommand.js +22 -0
- package/dist-es/commands/TestConversionCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +78 -0
- package/dist-es/protocols/Aws_json1_0.js +63 -0
- package/dist-types/B2bi.d.ts +14 -0
- package/dist-types/B2biClient.d.ts +4 -2
- package/dist-types/commands/CreateCapabilityCommand.d.ts +2 -0
- package/dist-types/commands/CreatePartnershipCommand.d.ts +56 -0
- package/dist-types/commands/CreateStarterMappingTemplateCommand.d.ts +99 -0
- package/dist-types/commands/CreateTransformerCommand.d.ts +106 -14
- package/dist-types/commands/DeleteTransformerCommand.d.ts +2 -3
- package/dist-types/commands/GetCapabilityCommand.d.ts +1 -0
- package/dist-types/commands/GetPartnershipCommand.d.ts +28 -0
- package/dist-types/commands/GetTransformerCommand.d.ts +37 -7
- package/dist-types/commands/ListPartnershipsCommand.d.ts +28 -0
- package/dist-types/commands/ListTransformersCommand.d.ts +37 -7
- package/dist-types/commands/StartTransformerJobCommand.d.ts +1 -1
- package/dist-types/commands/TestConversionCommand.d.ts +109 -0
- package/dist-types/commands/TestMappingCommand.d.ts +1 -1
- package/dist-types/commands/TestParsingCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCapabilityCommand.d.ts +2 -0
- package/dist-types/commands/UpdatePartnershipCommand.d.ts +56 -0
- package/dist-types/commands/UpdateTransformerCommand.d.ts +70 -9
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +934 -105
- package/dist-types/protocols/Aws_json1_0.d.ts +18 -0
- package/dist-types/ts3.4/B2bi.d.ts +34 -0
- package/dist-types/ts3.4/B2biClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateStarterMappingTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TestConversionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +276 -21
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +24 -0
- package/package.json +35 -35
|
@@ -27,9 +27,39 @@ declare const CreateTransformerCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a transformer.
|
|
31
|
-
*
|
|
32
|
-
*
|
|
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>
|
|
33
63
|
* @example
|
|
34
64
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
65
|
* ```javascript
|
|
@@ -38,8 +68,15 @@ declare const CreateTransformerCommand_base: {
|
|
|
38
68
|
* const client = new B2biClient(config);
|
|
39
69
|
* const input = { // CreateTransformerRequest
|
|
40
70
|
* name: "STRING_VALUE", // required
|
|
41
|
-
*
|
|
42
|
-
*
|
|
71
|
+
* clientToken: "STRING_VALUE",
|
|
72
|
+
* tags: [ // TagList
|
|
73
|
+
* { // Tag
|
|
74
|
+
* Key: "STRING_VALUE", // required
|
|
75
|
+
* Value: "STRING_VALUE", // required
|
|
76
|
+
* },
|
|
77
|
+
* ],
|
|
78
|
+
* fileFormat: "XML" || "JSON" || "NOT_USED",
|
|
79
|
+
* mappingTemplate: "STRING_VALUE",
|
|
43
80
|
* ediType: { // EdiType Union: only one key present
|
|
44
81
|
* x12Details: { // X12Details
|
|
45
82
|
* transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
|
|
@@ -47,13 +84,37 @@ declare const CreateTransformerCommand_base: {
|
|
|
47
84
|
* },
|
|
48
85
|
* },
|
|
49
86
|
* sampleDocument: "STRING_VALUE",
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* { //
|
|
53
|
-
*
|
|
54
|
-
*
|
|
87
|
+
* inputConversion: { // InputConversion
|
|
88
|
+
* fromFormat: "X12", // required
|
|
89
|
+
* formatOptions: { // FormatOptions Union: only one key present
|
|
90
|
+
* x12: {
|
|
91
|
+
* transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
|
|
92
|
+
* version: "VERSION_4010" || "VERSION_4030" || "VERSION_5010" || "VERSION_5010_HIPAA",
|
|
93
|
+
* },
|
|
55
94
|
* },
|
|
56
|
-
*
|
|
95
|
+
* },
|
|
96
|
+
* mapping: { // Mapping
|
|
97
|
+
* templateLanguage: "XSLT" || "JSONATA", // required
|
|
98
|
+
* template: "STRING_VALUE",
|
|
99
|
+
* },
|
|
100
|
+
* outputConversion: { // OutputConversion
|
|
101
|
+
* toFormat: "X12", // required
|
|
102
|
+
* formatOptions: {// Union: only one key present
|
|
103
|
+
* x12: {
|
|
104
|
+
* transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
|
|
105
|
+
* version: "VERSION_4010" || "VERSION_4030" || "VERSION_5010" || "VERSION_5010_HIPAA",
|
|
106
|
+
* },
|
|
107
|
+
* },
|
|
108
|
+
* },
|
|
109
|
+
* sampleDocuments: { // SampleDocuments
|
|
110
|
+
* bucketName: "STRING_VALUE", // required
|
|
111
|
+
* keys: [ // KeyList // required
|
|
112
|
+
* { // SampleDocumentKeys
|
|
113
|
+
* input: "STRING_VALUE",
|
|
114
|
+
* output: "STRING_VALUE",
|
|
115
|
+
* },
|
|
116
|
+
* ],
|
|
117
|
+
* },
|
|
57
118
|
* };
|
|
58
119
|
* const command = new CreateTransformerCommand(input);
|
|
59
120
|
* const response = await client.send(command);
|
|
@@ -61,9 +122,10 @@ declare const CreateTransformerCommand_base: {
|
|
|
61
122
|
* // transformerId: "STRING_VALUE", // required
|
|
62
123
|
* // transformerArn: "STRING_VALUE", // required
|
|
63
124
|
* // name: "STRING_VALUE", // required
|
|
64
|
-
* // fileFormat: "XML" || "JSON", // required
|
|
65
|
-
* // mappingTemplate: "STRING_VALUE", // required
|
|
66
125
|
* // status: "active" || "inactive", // required
|
|
126
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
127
|
+
* // fileFormat: "XML" || "JSON" || "NOT_USED",
|
|
128
|
+
* // mappingTemplate: "STRING_VALUE",
|
|
67
129
|
* // ediType: { // EdiType Union: only one key present
|
|
68
130
|
* // x12Details: { // X12Details
|
|
69
131
|
* // transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
|
|
@@ -71,7 +133,37 @@ declare const CreateTransformerCommand_base: {
|
|
|
71
133
|
* // },
|
|
72
134
|
* // },
|
|
73
135
|
* // sampleDocument: "STRING_VALUE",
|
|
74
|
-
* //
|
|
136
|
+
* // inputConversion: { // InputConversion
|
|
137
|
+
* // fromFormat: "X12", // required
|
|
138
|
+
* // formatOptions: { // FormatOptions Union: only one key present
|
|
139
|
+
* // x12: {
|
|
140
|
+
* // transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
|
|
141
|
+
* // version: "VERSION_4010" || "VERSION_4030" || "VERSION_5010" || "VERSION_5010_HIPAA",
|
|
142
|
+
* // },
|
|
143
|
+
* // },
|
|
144
|
+
* // },
|
|
145
|
+
* // mapping: { // Mapping
|
|
146
|
+
* // templateLanguage: "XSLT" || "JSONATA", // required
|
|
147
|
+
* // template: "STRING_VALUE",
|
|
148
|
+
* // },
|
|
149
|
+
* // outputConversion: { // OutputConversion
|
|
150
|
+
* // toFormat: "X12", // required
|
|
151
|
+
* // formatOptions: {// Union: only one key present
|
|
152
|
+
* // x12: {
|
|
153
|
+
* // transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
|
|
154
|
+
* // version: "VERSION_4010" || "VERSION_4030" || "VERSION_5010" || "VERSION_5010_HIPAA",
|
|
155
|
+
* // },
|
|
156
|
+
* // },
|
|
157
|
+
* // },
|
|
158
|
+
* // sampleDocuments: { // SampleDocuments
|
|
159
|
+
* // bucketName: "STRING_VALUE", // required
|
|
160
|
+
* // keys: [ // KeyList // required
|
|
161
|
+
* // { // SampleDocumentKeys
|
|
162
|
+
* // input: "STRING_VALUE",
|
|
163
|
+
* // output: "STRING_VALUE",
|
|
164
|
+
* // },
|
|
165
|
+
* // ],
|
|
166
|
+
* // },
|
|
75
167
|
* // };
|
|
76
168
|
*
|
|
77
169
|
* ```
|
|
@@ -27,9 +27,8 @@ declare const DeleteTransformerCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes the specified transformer. A transformer
|
|
31
|
-
*
|
|
32
|
-
* information to the output 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,
|
|
31
|
+
* a transformer can take a JSON-or XML-formatted document as input and transform it into an EDI file.</p>
|
|
33
32
|
* @example
|
|
34
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
34
|
* ```javascript
|
|
@@ -46,6 +46,7 @@ declare const GetCapabilityCommand_base: {
|
|
|
46
46
|
* // type: "edi", // required
|
|
47
47
|
* // configuration: { // CapabilityConfiguration Union: only one key present
|
|
48
48
|
* // edi: { // EdiConfiguration
|
|
49
|
+
* // capabilityDirection: "INBOUND" || "OUTBOUND",
|
|
49
50
|
* // type: { // EdiType Union: only one key present
|
|
50
51
|
* // x12Details: { // X12Details
|
|
51
52
|
* // transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
|
|
@@ -50,6 +50,34 @@ declare const GetPartnershipCommand_base: {
|
|
|
50
50
|
* // capabilities: [ // PartnershipCapabilities
|
|
51
51
|
* // "STRING_VALUE",
|
|
52
52
|
* // ],
|
|
53
|
+
* // capabilityOptions: { // CapabilityOptions
|
|
54
|
+
* // outboundEdi: { // OutboundEdiOptions Union: only one key present
|
|
55
|
+
* // x12: { // X12Envelope
|
|
56
|
+
* // common: { // X12OutboundEdiHeaders
|
|
57
|
+
* // interchangeControlHeaders: { // X12InterchangeControlHeaders
|
|
58
|
+
* // senderIdQualifier: "STRING_VALUE",
|
|
59
|
+
* // senderId: "STRING_VALUE",
|
|
60
|
+
* // receiverIdQualifier: "STRING_VALUE",
|
|
61
|
+
* // receiverId: "STRING_VALUE",
|
|
62
|
+
* // repetitionSeparator: "STRING_VALUE",
|
|
63
|
+
* // acknowledgmentRequestedCode: "STRING_VALUE",
|
|
64
|
+
* // usageIndicatorCode: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // functionalGroupHeaders: { // X12FunctionalGroupHeaders
|
|
67
|
+
* // applicationSenderCode: "STRING_VALUE",
|
|
68
|
+
* // applicationReceiverCode: "STRING_VALUE",
|
|
69
|
+
* // responsibleAgencyCode: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // delimiters: { // X12Delimiters
|
|
72
|
+
* // componentSeparator: "STRING_VALUE",
|
|
73
|
+
* // dataElementSeparator: "STRING_VALUE",
|
|
74
|
+
* // segmentTerminator: "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // validateEdi: true || false,
|
|
77
|
+
* // },
|
|
78
|
+
* // },
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
53
81
|
* // tradingPartnerId: "STRING_VALUE",
|
|
54
82
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
55
83
|
* // modifiedAt: new Date("TIMESTAMP"),
|
|
@@ -27,9 +27,8 @@ 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
|
|
31
|
-
*
|
|
32
|
-
* information to the output 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,
|
|
31
|
+
* a transformer can take a JSON-or XML-formatted document as input and transform it into an EDI file.</p>
|
|
33
32
|
* @example
|
|
34
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
34
|
* ```javascript
|
|
@@ -45,9 +44,11 @@ declare const GetTransformerCommand_base: {
|
|
|
45
44
|
* // transformerId: "STRING_VALUE", // required
|
|
46
45
|
* // transformerArn: "STRING_VALUE", // required
|
|
47
46
|
* // name: "STRING_VALUE", // required
|
|
48
|
-
* // fileFormat: "XML" || "JSON", // required
|
|
49
|
-
* // mappingTemplate: "STRING_VALUE", // required
|
|
50
47
|
* // status: "active" || "inactive", // required
|
|
48
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
49
|
+
* // modifiedAt: new Date("TIMESTAMP"),
|
|
50
|
+
* // fileFormat: "XML" || "JSON" || "NOT_USED",
|
|
51
|
+
* // mappingTemplate: "STRING_VALUE",
|
|
51
52
|
* // ediType: { // EdiType Union: only one key present
|
|
52
53
|
* // x12Details: { // X12Details
|
|
53
54
|
* // transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
|
|
@@ -55,8 +56,37 @@ declare const GetTransformerCommand_base: {
|
|
|
55
56
|
* // },
|
|
56
57
|
* // },
|
|
57
58
|
* // sampleDocument: "STRING_VALUE",
|
|
58
|
-
* //
|
|
59
|
-
* //
|
|
59
|
+
* // inputConversion: { // InputConversion
|
|
60
|
+
* // fromFormat: "X12", // required
|
|
61
|
+
* // formatOptions: { // FormatOptions Union: only one key present
|
|
62
|
+
* // x12: {
|
|
63
|
+
* // transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
|
|
64
|
+
* // version: "VERSION_4010" || "VERSION_4030" || "VERSION_5010" || "VERSION_5010_HIPAA",
|
|
65
|
+
* // },
|
|
66
|
+
* // },
|
|
67
|
+
* // },
|
|
68
|
+
* // mapping: { // Mapping
|
|
69
|
+
* // templateLanguage: "XSLT" || "JSONATA", // required
|
|
70
|
+
* // template: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // outputConversion: { // OutputConversion
|
|
73
|
+
* // toFormat: "X12", // required
|
|
74
|
+
* // formatOptions: {// Union: only one key present
|
|
75
|
+
* // x12: {
|
|
76
|
+
* // transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
|
|
77
|
+
* // version: "VERSION_4010" || "VERSION_4030" || "VERSION_5010" || "VERSION_5010_HIPAA",
|
|
78
|
+
* // },
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
81
|
+
* // sampleDocuments: { // SampleDocuments
|
|
82
|
+
* // bucketName: "STRING_VALUE", // required
|
|
83
|
+
* // keys: [ // KeyList // required
|
|
84
|
+
* // { // SampleDocumentKeys
|
|
85
|
+
* // input: "STRING_VALUE",
|
|
86
|
+
* // output: "STRING_VALUE",
|
|
87
|
+
* // },
|
|
88
|
+
* // ],
|
|
89
|
+
* // },
|
|
60
90
|
* // };
|
|
61
91
|
*
|
|
62
92
|
* ```
|
|
@@ -51,6 +51,34 @@ declare const ListPartnershipsCommand_base: {
|
|
|
51
51
|
* // capabilities: [ // PartnershipCapabilities
|
|
52
52
|
* // "STRING_VALUE",
|
|
53
53
|
* // ],
|
|
54
|
+
* // capabilityOptions: { // CapabilityOptions
|
|
55
|
+
* // outboundEdi: { // OutboundEdiOptions Union: only one key present
|
|
56
|
+
* // x12: { // X12Envelope
|
|
57
|
+
* // common: { // X12OutboundEdiHeaders
|
|
58
|
+
* // interchangeControlHeaders: { // X12InterchangeControlHeaders
|
|
59
|
+
* // senderIdQualifier: "STRING_VALUE",
|
|
60
|
+
* // senderId: "STRING_VALUE",
|
|
61
|
+
* // receiverIdQualifier: "STRING_VALUE",
|
|
62
|
+
* // receiverId: "STRING_VALUE",
|
|
63
|
+
* // repetitionSeparator: "STRING_VALUE",
|
|
64
|
+
* // acknowledgmentRequestedCode: "STRING_VALUE",
|
|
65
|
+
* // usageIndicatorCode: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // functionalGroupHeaders: { // X12FunctionalGroupHeaders
|
|
68
|
+
* // applicationSenderCode: "STRING_VALUE",
|
|
69
|
+
* // applicationReceiverCode: "STRING_VALUE",
|
|
70
|
+
* // responsibleAgencyCode: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // delimiters: { // X12Delimiters
|
|
73
|
+
* // componentSeparator: "STRING_VALUE",
|
|
74
|
+
* // dataElementSeparator: "STRING_VALUE",
|
|
75
|
+
* // segmentTerminator: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // validateEdi: true || false,
|
|
78
|
+
* // },
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
81
|
+
* // },
|
|
54
82
|
* // tradingPartnerId: "STRING_VALUE",
|
|
55
83
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
56
84
|
* // modifiedAt: new Date("TIMESTAMP"),
|
|
@@ -27,9 +27,8 @@ declare const ListTransformersCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists the available transformers. A transformer
|
|
31
|
-
*
|
|
32
|
-
* information to the output file.</p>
|
|
30
|
+
* <p>Lists the available transformers. 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>
|
|
33
32
|
* @example
|
|
34
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
34
|
* ```javascript
|
|
@@ -47,9 +46,11 @@ declare const ListTransformersCommand_base: {
|
|
|
47
46
|
* // { // TransformerSummary
|
|
48
47
|
* // transformerId: "STRING_VALUE", // required
|
|
49
48
|
* // name: "STRING_VALUE", // required
|
|
50
|
-
* // fileFormat: "XML" || "JSON", // required
|
|
51
|
-
* // mappingTemplate: "STRING_VALUE", // required
|
|
52
49
|
* // status: "active" || "inactive", // required
|
|
50
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // modifiedAt: new Date("TIMESTAMP"),
|
|
52
|
+
* // fileFormat: "XML" || "JSON" || "NOT_USED",
|
|
53
|
+
* // mappingTemplate: "STRING_VALUE",
|
|
53
54
|
* // ediType: { // EdiType Union: only one key present
|
|
54
55
|
* // x12Details: { // X12Details
|
|
55
56
|
* // transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
|
|
@@ -57,8 +58,37 @@ declare const ListTransformersCommand_base: {
|
|
|
57
58
|
* // },
|
|
58
59
|
* // },
|
|
59
60
|
* // sampleDocument: "STRING_VALUE",
|
|
60
|
-
* //
|
|
61
|
-
* //
|
|
61
|
+
* // inputConversion: { // InputConversion
|
|
62
|
+
* // fromFormat: "X12", // required
|
|
63
|
+
* // formatOptions: { // FormatOptions Union: only one key present
|
|
64
|
+
* // x12: {
|
|
65
|
+
* // transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
|
|
66
|
+
* // version: "VERSION_4010" || "VERSION_4030" || "VERSION_5010" || "VERSION_5010_HIPAA",
|
|
67
|
+
* // },
|
|
68
|
+
* // },
|
|
69
|
+
* // },
|
|
70
|
+
* // mapping: { // Mapping
|
|
71
|
+
* // templateLanguage: "XSLT" || "JSONATA", // required
|
|
72
|
+
* // template: "STRING_VALUE",
|
|
73
|
+
* // },
|
|
74
|
+
* // outputConversion: { // OutputConversion
|
|
75
|
+
* // toFormat: "X12", // required
|
|
76
|
+
* // formatOptions: {// Union: only one key present
|
|
77
|
+
* // x12: {
|
|
78
|
+
* // transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
|
|
79
|
+
* // version: "VERSION_4010" || "VERSION_4030" || "VERSION_5010" || "VERSION_5010_HIPAA",
|
|
80
|
+
* // },
|
|
81
|
+
* // },
|
|
82
|
+
* // },
|
|
83
|
+
* // sampleDocuments: { // SampleDocuments
|
|
84
|
+
* // bucketName: "STRING_VALUE", // required
|
|
85
|
+
* // keys: [ // KeyList // required
|
|
86
|
+
* // { // SampleDocumentKeys
|
|
87
|
+
* // input: "STRING_VALUE",
|
|
88
|
+
* // output: "STRING_VALUE",
|
|
89
|
+
* // },
|
|
90
|
+
* // ],
|
|
91
|
+
* // },
|
|
62
92
|
* // },
|
|
63
93
|
* // ],
|
|
64
94
|
* // nextToken: "STRING_VALUE",
|
|
@@ -27,7 +27,7 @@ declare const StartTransformerJobCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Runs a job, using a transformer, to parse input EDI (electronic data interchange) file into the output structures used by Amazon Web Services
|
|
30
|
+
* <p>Runs a job, using a transformer, to parse input EDI (electronic data interchange) file into the output structures used by Amazon Web Services B2B Data Interchange.</p>
|
|
31
31
|
* <p>If you only want to transform EDI (electronic data interchange) documents, you don't need to create profiles, partnerships or capabilities. Just
|
|
32
32
|
* create and configure a transformer, and then run the <code>StartTransformerJob</code> API to process your files.</p>
|
|
33
33
|
* @example
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { B2biClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../B2biClient";
|
|
4
|
+
import { TestConversionRequest, TestConversionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link TestConversionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TestConversionCommandInput extends TestConversionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TestConversionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TestConversionCommandOutput extends TestConversionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const TestConversionCommand_base: {
|
|
25
|
+
new (input: TestConversionCommandInput): import("@smithy/smithy-client").CommandImpl<TestConversionCommandInput, TestConversionCommandOutput, B2biClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: TestConversionCommandInput): import("@smithy/smithy-client").CommandImpl<TestConversionCommandInput, TestConversionCommandOutput, B2biClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>This operation mimics the latter half of a typical Outbound EDI request. It takes an input JSON/XML in the B2Bi shape as input, converts it to an X12 EDI string, and return that string.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { B2biClient, TestConversionCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
|
|
35
|
+
* // const { B2biClient, TestConversionCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
|
|
36
|
+
* const client = new B2biClient(config);
|
|
37
|
+
* const input = { // TestConversionRequest
|
|
38
|
+
* source: { // ConversionSource
|
|
39
|
+
* fileFormat: "JSON" || "XML", // required
|
|
40
|
+
* inputFile: { // InputFileSource Union: only one key present
|
|
41
|
+
* fileContent: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* target: { // ConversionTarget
|
|
45
|
+
* fileFormat: "X12", // required
|
|
46
|
+
* formatDetails: { // ConversionTargetFormatDetails Union: only one key present
|
|
47
|
+
* x12: { // X12Details
|
|
48
|
+
* transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
|
|
49
|
+
* version: "VERSION_4010" || "VERSION_4030" || "VERSION_5010" || "VERSION_5010_HIPAA",
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* outputSampleFile: { // OutputSampleFileSource Union: only one key present
|
|
53
|
+
* fileLocation: { // S3Location
|
|
54
|
+
* bucketName: "STRING_VALUE",
|
|
55
|
+
* key: "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* },
|
|
59
|
+
* };
|
|
60
|
+
* const command = new TestConversionCommand(input);
|
|
61
|
+
* const response = await client.send(command);
|
|
62
|
+
* // { // TestConversionResponse
|
|
63
|
+
* // convertedFileContent: "STRING_VALUE", // required
|
|
64
|
+
* // validationMessages: [ // ValidationMessages
|
|
65
|
+
* // "STRING_VALUE",
|
|
66
|
+
* // ],
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param TestConversionCommandInput - {@link TestConversionCommandInput}
|
|
72
|
+
* @returns {@link TestConversionCommandOutput}
|
|
73
|
+
* @see {@link TestConversionCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link TestConversionCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
78
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InternalServerException} (server fault)
|
|
81
|
+
* <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* <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>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
87
|
+
* <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ValidationException} (client fault)
|
|
90
|
+
* <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link B2biServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
94
|
+
*
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class TestConversionCommand extends TestConversionCommand_base {
|
|
98
|
+
/** @internal type navigation helper, not in runtime. */
|
|
99
|
+
protected static __types: {
|
|
100
|
+
api: {
|
|
101
|
+
input: TestConversionRequest;
|
|
102
|
+
output: TestConversionResponse;
|
|
103
|
+
};
|
|
104
|
+
sdk: {
|
|
105
|
+
input: TestConversionCommandInput;
|
|
106
|
+
output: TestConversionCommandOutput;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}
|
|
@@ -37,7 +37,7 @@ declare const TestMappingCommand_base: {
|
|
|
37
37
|
* const input = { // TestMappingRequest
|
|
38
38
|
* inputFileContent: "STRING_VALUE", // required
|
|
39
39
|
* mappingTemplate: "STRING_VALUE", // required
|
|
40
|
-
* fileFormat: "XML" || "JSON", // required
|
|
40
|
+
* fileFormat: "XML" || "JSON" || "NOT_USED", // required
|
|
41
41
|
* };
|
|
42
42
|
* const command = new TestMappingCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
@@ -39,7 +39,7 @@ declare const TestParsingCommand_base: {
|
|
|
39
39
|
* bucketName: "STRING_VALUE",
|
|
40
40
|
* key: "STRING_VALUE",
|
|
41
41
|
* },
|
|
42
|
-
* fileFormat: "XML" || "JSON", // required
|
|
42
|
+
* fileFormat: "XML" || "JSON" || "NOT_USED", // required
|
|
43
43
|
* ediType: { // EdiType Union: only one key present
|
|
44
44
|
* x12Details: { // X12Details
|
|
45
45
|
* transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
|
|
@@ -40,6 +40,7 @@ declare const UpdateCapabilityCommand_base: {
|
|
|
40
40
|
* name: "STRING_VALUE",
|
|
41
41
|
* configuration: { // CapabilityConfiguration Union: only one key present
|
|
42
42
|
* edi: { // EdiConfiguration
|
|
43
|
+
* capabilityDirection: "INBOUND" || "OUTBOUND",
|
|
43
44
|
* type: { // EdiType Union: only one key present
|
|
44
45
|
* x12Details: { // X12Details
|
|
45
46
|
* transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
|
|
@@ -73,6 +74,7 @@ declare const UpdateCapabilityCommand_base: {
|
|
|
73
74
|
* // type: "edi", // required
|
|
74
75
|
* // configuration: { // CapabilityConfiguration Union: only one key present
|
|
75
76
|
* // edi: { // EdiConfiguration
|
|
77
|
+
* // capabilityDirection: "INBOUND" || "OUTBOUND",
|
|
76
78
|
* // type: { // EdiType Union: only one key present
|
|
77
79
|
* // x12Details: { // X12Details
|
|
78
80
|
* // transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
|