Debian Codegraph @

models/apis/b2bi/2022-06-23/examples-1.json

raw
1 {
2 "version": "1.0",
3 "examples": {
4 "CreateCapability": [
5 {
6 "input": {
7 "name": "b2biexample",
8 "type": "edi",
9 "clientToken": "foo",
10 "configuration": {
11 "edi": {
12 "type": {
13 "x12Details": {
14 "version": "VERSION_4010",
15 "transactionSet": "X12_110"
16 }
17 },
18 "inputLocation": {
19 "key": "input/",
20 "bucketName": "test-bucket"
21 },
22 "outputLocation": {
23 "key": "output/",
24 "bucketName": "test-bucket"
25 },
26 "transformerId": "tr-9a893cf536df4658b"
27 }
28 },
29 "instructionsDocuments": [
30 {
31 "key": "instructiondoc.txt",
32 "bucketName": "test-bucket"
33 }
34 ],
35 "tags": [
36 {
37 "Key": "capabilityKey1",
38 "Value": "capabilityValue1"
39 }
40 ]
41 },
42 "output": {
43 "name": "b2biexample",
44 "type": "edi",
45 "capabilityArn": "arn:aws:b2bi:us-west-2:123456789012:capability/ca-963a8121e4fc4e348",
46 "capabilityId": "ca-963a8121e4fc4e348",
47 "configuration": {
48 "edi": {
49 "type": {
50 "x12Details": {
51 "version": "VERSION_4010",
52 "transactionSet": "X12_110"
53 }
54 },
55 "inputLocation": {
56 "key": "input/",
57 "bucketName": "test-bucket"
58 },
59 "outputLocation": {
60 "key": "output/",
61 "bucketName": "test-bucket"
62 },
63 "transformerId": "tr-9a893cf536df4658b"
64 }
65 },
66 "createdAt": "2023-11-01T21:51:05.504Z",
67 "instructionsDocuments": [
68 {
69 "key": "instructiondoc.txt",
70 "bucketName": "test-bucket"
71 }
72 ]
73 },
74 "id": "example-1",
75 "title": "Sample CreateCapability call"
76 }
77 ],
78 "CreatePartnership": [
79 {
80 "input": {
81 "name": "b2bipartner",
82 "capabilities": [
83 "ca-963a8121e4fc4e348"
84 ],
85 "clientToken": "foo",
86 "email": "[email protected]",
87 "phone": "5555555555",
88 "profileId": "p-60fbc37c87f04fce9",
89 "tags": [
90 {
91 "Key": "sampleKey1",
92 "Value": "sampleValue1"
93 }
94 ]
95 },
96 "output": {
97 "name": "b2bipartner",
98 "capabilities": [
99 "ca-963a8121e4fc4e348"
100 ],
101 "createdAt": "2023-11-01T21:51:05.504Z",
102 "email": "[email protected]",
103 "partnershipArn": "arn:aws:b2bi:us-west-2:123456789012:partnership/ps-60fbc37c87f04fce9",
104 "partnershipId": "ps-219fa02f5b4242af8",
105 "phone": "5555555555",
106 "profileId": "p-60fbc37c87f04fce9",
107 "tradingPartnerId": "tp-2a17ca447f6f4a8a8"
108 },
109 "id": "example-1",
110 "title": "Sample CreatePartnership call"
111 }
112 ],
113 "CreateProfile": [
114 {
115 "input": {
116 "name": "Shipping Profile",
117 "businessName": "John's Shipping",
118 "clientToken": "foo",
119 "email": "[email protected]",
120 "logging": "ENABLED",
121 "phone": "5555555555",
122 "tags": [
123 {
124 "Key": "sampleKey",
125 "Value": "sampleValue"
126 }
127 ]
128 },
129 "output": {
130 "name": "Shipping Profile",
131 "businessName": "John's Trucking",
132 "createdAt": "2023-11-01T21:51:05.504Z",
133 "email": "[email protected]",
134 "logGroupName": "b2bi/p-60fbc37c87f04fce9-Logs",
135 "logging": "ENABLED",
136 "phone": "5555555555",
137 "profileArn": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
138 "profileId": "p-60fbc37c87f04fce9"
139 },
140 "id": "example-1",
141 "title": "Sample CreateProfile call"
142 }
143 ],
144 "CreateTransformer": [
145 {
146 "input": {
147 "name": "transformJSON",
148 "clientToken": "foo",
149 "ediType": {
150 "x12Details": {
151 "version": "VERSION_4010",
152 "transactionSet": "X12_110"
153 }
154 },
155 "fileFormat": "JSON",
156 "mappingTemplate": "{}",
157 "sampleDocument": "s3://test-bucket/sampleDoc.txt",
158 "tags": [
159 {
160 "Key": "sampleKey",
161 "Value": "sampleValue"
162 }
163 ]
164 },
165 "output": {
166 "name": "transformJSON",
167 "createdAt": "2023-11-01T21:51:05.504Z",
168 "ediType": {
169 "x12Details": {
170 "version": "VERSION_4010",
171 "transactionSet": "X12_110"
172 }
173 },
174 "fileFormat": "JSON",
175 "mappingTemplate": "$",
176 "sampleDocument": "s3://test-bucket/sampleDoc.txt",
177 "status": "inactive",
178 "transformerArn": "arn:aws:b2bi:us-west-2:123456789012:transformer/tr-974c129999f84d8c9",
179 "transformerId": "tr-974c129999f84d8c9"
180 },
181 "id": "example-1",
182 "title": "Sample CreateTransformer call"
183 }
184 ],
185 "DeleteCapability": [
186 {
187 "input": {
188 "capabilityId": "ca-963a8121e4fc4e348"
189 },
190 "id": "example-1",
191 "title": "Sample DeleteCapabilty call"
192 }
193 ],
194 "DeletePartnership": [
195 {
196 "input": {
197 "partnershipId": "ps-219fa02f5b4242af8"
198 },
199 "id": "example-1",
200 "title": "Sample DeletePartnership call"
201 }
202 ],
203 "DeleteProfile": [
204 {
205 "input": {
206 "profileId": "p-60fbc37c87f04fce9"
207 },
208 "id": "example-1",
209 "title": "Sample DeleteProfile call"
210 }
211 ],
212 "DeleteTransformer": [
213 {
214 "input": {
215 "transformerId": "tr-974c129999f84d8c9"
216 },
217 "id": "example-1",
218 "title": "Sample DeleteTransformer call"
219 }
220 ],
221 "GetCapability": [
222 {
223 "input": {
224 "capabilityId": "ca-963a8121e4fc4e348"
225 },
226 "output": {
227 "name": "b2biexample",
228 "type": "edi",
229 "capabilityArn": "arn:aws:b2bi:us-west-2:123456789012:capability/ca-963a8121e4fc4e348",
230 "capabilityId": "ca-963a8121e4fc4e348",
231 "configuration": {
232 "edi": {
233 "type": {
234 "x12Details": {
235 "version": "VERSION_4010",
236 "transactionSet": "X12_110"
237 }
238 },
239 "inputLocation": {
240 "key": "input/",
241 "bucketName": "test-bucket"
242 },
243 "outputLocation": {
244 "key": "output/",
245 "bucketName": "test-bucket"
246 },
247 "transformerId": "tr-9a893cf536df4658b"
248 }
249 },
250 "createdAt": "2023-11-01T21:51:05.504Z",
251 "instructionsDocuments": [
252 {
253 "key": "instructiondoc.txt",
254 "bucketName": "test-bucket"
255 }
256 ],
257 "modifiedAt": "2023-11-02T21:51:05.504Z"
258 },
259 "id": "example-1",
260 "title": "Sample GetCapabilty call"
261 }
262 ],
263 "GetPartnership": [
264 {
265 "input": {
266 "partnershipId": "ps-219fa02f5b4242af8"
267 },
268 "output": {
269 "name": "b2bipartner",
270 "capabilities": [
271 "ca-963a8121e4fc4e348"
272 ],
273 "createdAt": "2023-11-01T21:51:05.504Z",
274 "email": "[email protected]",
275 "modifiedAt": "2023-11-01T21:51:05.504Z",
276 "partnershipArn": "arn:aws:b2bi:us-west-2:123456789012:partnership/ps-219fa02f5b4242af8",
277 "partnershipId": "ps-219fa02f5b4242af8",
278 "phone": "5555555555",
279 "profileId": "p-60fbc37c87f04fce9",
280 "tradingPartnerId": "tp-2a17ca447f6f4a8a8"
281 },
282 "id": "example-1",
283 "title": "Sample GetPartnership call"
284 }
285 ],
286 "GetProfile": [
287 {
288 "input": {
289 "profileId": "p-60fbc37c87f04fce9"
290 },
291 "output": {
292 "name": "Shipping Profile",
293 "businessName": "John's Trucking",
294 "createdAt": "2023-11-01T21:51:05.504Z",
295 "email": "[email protected]",
296 "logGroupName": "b2bi/p-60fbc37c87f04fce9-Logs",
297 "logging": "ENABLED",
298 "phone": "5555555555",
299 "profileArn": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
300 "profileId": "p-60fbc37c87f04fce9"
301 },
302 "id": "example-1",
303 "title": "Sample GetProfile call"
304 }
305 ],
306 "GetTransformer": [
307 {
308 "input": {
309 "transformerId": "tr-974c129999f84d8c9"
310 },
311 "output": {
312 "name": "transformJSON",
313 "createdAt": "2023-11-01T21:51:05.504Z",
314 "ediType": {
315 "x12Details": {
316 "version": "VERSION_4010",
317 "transactionSet": "X12_110"
318 }
319 },
320 "fileFormat": "JSON",
321 "mappingTemplate": "$",
322 "modifiedAt": "2023-11-01T21:51:05.504Z",
323 "sampleDocument": "s3://test-bucket/sampleDoc.txt",
324 "status": "inactive",
325 "transformerArn": "arn:aws:b2bi:us-west-2:123456789012:transformer/tr-974c129999f84d8c9",
326 "transformerId": "tr-974c129999f84d8c9"
327 },
328 "id": "example-1",
329 "title": "Sample GetTransformer call"
330 }
331 ],
332 "GetTransformerJob": [
333 {
334 "input": {
335 "transformerId": "tr-974c129999f84d8c9",
336 "transformerJobId": "tj-vpYxfV7yQOqjMSYllEslLw"
337 },
338 "output": {
339 "message": "Transformed, writing output",
340 "outputFiles": [
341 {
342 "key": "output/sample-214.edi.2023-11-01T10:44:03.353Z.json",
343 "bucketName": "gt-edi-test"
344 }
345 ],
346 "status": "succeeded"
347 },
348 "id": "example-1",
349 "title": "Sample GetTransformerJob call"
350 }
351 ],
352 "ListCapabilities": [
353 {
354 "input": {
355 "maxResults": 50,
356 "nextToken": "foo"
357 },
358 "output": {
359 "capabilities": [
360 {
361 "name": "b2biexample",
362 "type": "edi",
363 "capabilityId": "ca-963a8121e4fc4e348",
364 "createdAt": "2023-11-01T21:51:05.504Z",
365 "modifiedAt": "2023-11-01T21:51:05.504Z"
366 }
367 ],
368 "nextToken": "foo"
369 },
370 "id": "example-1",
371 "title": "Sample ListCapabilities call"
372 }
373 ],
374 "ListPartnerships": [
375 {
376 "input": {
377 "maxResults": 50,
378 "nextToken": "foo",
379 "profileId": "p-60fbc37c87f04fce9"
380 },
381 "output": {
382 "nextToken": "string",
383 "partnerships": [
384 {
385 "name": "b2bipartner",
386 "capabilities": [
387 "ca-963a8121e4fc4e348"
388 ],
389 "createdAt": "2023-11-01T21:51:05.504Z",
390 "modifiedAt": "2023-11-01T21:51:05.504Z",
391 "partnershipId": "ps-219fa02f5b4242af8",
392 "profileId": "p-60fbc37c87f04fce9",
393 "tradingPartnerId": "tp-2a17ca447f6f4a8a8"
394 }
395 ]
396 },
397 "id": "example-1",
398 "title": "Sample ListPartnerships call"
399 }
400 ],
401 "ListProfiles": [
402 {
403 "input": {
404 "maxResults": 50,
405 "nextToken": "foo"
406 },
407 "output": {
408 "nextToken": "foo",
409 "profiles": [
410 {
411 "name": "Shipping Profile",
412 "businessName": "John's Trucking",
413 "createdAt": "2023-11-01T21:51:05.504Z",
414 "logGroupName": "b2bi/p-60fbc37c87f04fce9-Logs",
415 "logging": "ENABLED",
416 "profileId": "p-60fbc37c87f04fce9"
417 }
418 ]
419 },
420 "id": "example-1",
421 "title": "Sample ListProfiles call"
422 }
423 ],
424 "ListTagsForResource": [
425 {
426 "input": {
427 "ResourceARN": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9"
428 },
429 "output": {
430 "Tags": [
431 {
432 "Key": "sampleKey",
433 "Value": "SampleValue"
434 }
435 ]
436 },
437 "id": "example-1",
438 "title": "Sample ListTagsForResources call"
439 }
440 ],
441 "ListTransformers": [
442 {
443 "input": {
444 "maxResults": 50,
445 "nextToken": "foo"
446 },
447 "output": {
448 "nextToken": "foo",
449 "transformers": [
450 {
451 "name": "transformJSON",
452 "createdAt": "2023-11-01T21:51:05.504Z",
453 "ediType": {
454 "x12Details": {
455 "version": "VERSION_4010",
456 "transactionSet": "X12_110"
457 }
458 },
459 "fileFormat": "JSON",
460 "mappingTemplate": "$",
461 "modifiedAt": "2023-11-01T21:51:05.504Z",
462 "sampleDocument": "s3://test-bucket/sampleDoc.txt",
463 "status": "inactive",
464 "transformerId": "tr-974c129999f84d8c9"
465 }
466 ]
467 },
468 "id": "example-1",
469 "title": "Sample ListTransformers call"
470 }
471 ],
472 "StartTransformerJob": [
473 {
474 "input": {
475 "clientToken": "foo",
476 "inputFile": {
477 "key": "input/inputFile.txt",
478 "bucketName": "test-bucket"
479 },
480 "outputLocation": {
481 "key": "output/",
482 "bucketName": "test-bucket"
483 },
484 "transformerId": "tr-974c129999f84d8c9"
485 },
486 "output": {
487 "transformerJobId": "tj-vpYxfV7yQOqjMSYllEslLw"
488 },
489 "id": "example-1",
490 "title": "Sample StartTransformerJob call"
491 }
492 ],
493 "TagResource": [
494 {
495 "input": {
496 "ResourceARN": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
497 "Tags": [
498 {
499 "Key": "sampleKey",
500 "Value": "SampleValue"
501 }
502 ]
503 },
504 "id": "example-1",
505 "title": "Sample TagResource call"
506 }
507 ],
508 "TestMapping": [
509 {
510 "input": {
511 "fileFormat": "JSON",
512 "inputFileContent": "Sample file content",
513 "mappingTemplate": "$"
514 },
515 "output": {
516 "mappedFileContent": "Sample file content"
517 },
518 "id": "example-1",
519 "title": "Sample TestMapping call"
520 }
521 ],
522 "TestParsing": [
523 {
524 "input": {
525 "ediType": {
526 "x12Details": {
527 "version": "VERSION_4010",
528 "transactionSet": "X12_110"
529 }
530 },
531 "fileFormat": "JSON",
532 "inputFile": {
533 "key": "sampleFile.txt",
534 "bucketName": "test-bucket"
535 }
536 },
537 "output": {
538 "parsedFileContent": "Sample parsed file content"
539 },
540 "id": "example-1",
541 "title": "Sample TestParsing call"
542 }
543 ],
544 "UntagResource": [
545 {
546 "input": {
547 "ResourceARN": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
548 "TagKeys": [
549 "sampleKey"
550 ]
551 },
552 "id": "example-1",
553 "title": "Sample UntagResource call"
554 }
555 ],
556 "UpdateCapability": [
557 {
558 "input": {
559 "name": "b2biexample",
560 "capabilityId": "ca-963a8121e4fc4e348",
561 "configuration": {
562 "edi": {
563 "type": {
564 "x12Details": {
565 "version": "VERSION_4010",
566 "transactionSet": "X12_110"
567 }
568 },
569 "inputLocation": {
570 "key": "input/",
571 "bucketName": "test-bucket"
572 },
573 "outputLocation": {
574 "key": "output/",
575 "bucketName": "test-bucket"
576 },
577 "transformerId": "tr-9a893cf536df4658b"
578 }
579 },
580 "instructionsDocuments": [
581 {
582 "key": "instructiondoc.txt",
583 "bucketName": "test-bucket"
584 }
585 ]
586 },
587 "output": {
588 "name": "b2biexample",
589 "type": "edi",
590 "capabilityArn": "arn:aws:b2bi:us-west-2:123456789012:capability/ca-963a8121e4fc4e348",
591 "capabilityId": "ca-963a8121e4fc4e348",
592 "configuration": {
593 "edi": {
594 "type": {
595 "x12Details": {
596 "version": "VERSION_4010",
597 "transactionSet": "X12_110"
598 }
599 },
600 "inputLocation": {
601 "key": "input/",
602 "bucketName": "test-bucket"
603 },
604 "outputLocation": {
605 "key": "output/",
606 "bucketName": "test-bucket"
607 },
608 "transformerId": "tr-9a893cf536df4658b"
609 }
610 },
611 "createdAt": "2023-11-01T21:51:05.504Z",
612 "instructionsDocuments": [
613 {
614 "key": "instructiondoc.txt",
615 "bucketName": "test-bucket"
616 }
617 ],
618 "modifiedAt": "2023-11-01T21:51:05.504Z"
619 },
620 "id": "example-1",
621 "title": "Sample UpdateCapability call"
622 }
623 ],
624 "UpdatePartnership": [
625 {
626 "input": {
627 "name": "b2bipartner",
628 "capabilities": [
629 "ca-963a8121e4fc4e348"
630 ],
631 "partnershipId": "ps-219fa02f5b4242af8"
632 },
633 "output": {
634 "name": "b2bipartner",
635 "capabilities": [
636 "ca-963a8121e4fc4e348"
637 ],
638 "createdAt": "2023-11-01T21:51:05.504Z",
639 "email": "[email protected]",
640 "modifiedAt": "2023-11-01T21:51:05.504Z",
641 "partnershipArn": "arn:aws:b2bi:us-west-2:123456789012:partnership/ps-60fbc37c87f04fce9",
642 "partnershipId": "ps-219fa02f5b4242af8",
643 "phone": "5555555555",
644 "profileId": "p-60fbc37c87f04fce9",
645 "tradingPartnerId": "tp-2a17ca447f6f4a8a8"
646 },
647 "id": "example-1",
648 "title": "Sample UpdatePartnership call"
649 }
650 ],
651 "UpdateProfile": [
652 {
653 "input": {
654 "name": "Shipping Profile",
655 "businessName": "John's Shipping",
656 "email": "[email protected]",
657 "phone": "5555555555",
658 "profileId": "p-60fbc37c87f04fce9"
659 },
660 "output": {
661 "name": "Shipping Profile",
662 "businessName": "John's Trucking",
663 "createdAt": "2023-11-01T21:51:05.504Z",
664 "email": "[email protected]",
665 "logGroupName": "b2bi/p-60fbc37c87f04fce9-Logs",
666 "logging": "ENABLED",
667 "modifiedAt": "2023-11-02T21:51:05.504Z",
668 "phone": "5555555555",
669 "profileArn": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
670 "profileId": "p-60fbc37c87f04fce9"
671 },
672 "id": "example-1",
673 "title": "Sample UpdateProfile call"
674 }
675 ],
676 "UpdateTransformer": [
677 {
678 "input": {
679 "name": "transformJSON",
680 "ediType": {
681 "x12Details": {
682 "version": "VERSION_4010",
683 "transactionSet": "X12_110"
684 }
685 },
686 "fileFormat": "JSON",
687 "mappingTemplate": "{}",
688 "sampleDocument": "s3://test-bucket/sampleDoc.txt",
689 "status": "inactive",
690 "transformerId": "tr-974c129999f84d8c9"
691 },
692 "output": {
693 "name": "transformJSON",
694 "createdAt": "2023-11-01T21:51:05.504Z",
695 "ediType": {
696 "x12Details": {
697 "version": "VERSION_4010",
698 "transactionSet": "X12_110"
699 }
700 },
701 "fileFormat": "JSON",
702 "mappingTemplate": "$",
703 "modifiedAt": "2023-11-01T21:51:05.504Z",
704 "sampleDocument": "s3://test-bucket/sampleDoc.txt",
705 "status": "inactive",
706 "transformerArn": "arn:aws:b2bi:us-west-2:607686414464:transformer/tr-974c129999f84d8c9",
707 "transformerId": "tr-974c129999f84d8c9"
708 },
709 "id": "example-1",
710 "title": "Sample UpdateTransformer call"
711 }
712 ]
713 }
714 }