123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714 |
- {
- "version": "1.0",
- "examples": {
- "CreateCapability": [
- {
- "input": {
- "name": "b2biexample",
- "type": "edi",
- "clientToken": "foo",
- "configuration": {
- "edi": {
- "type": {
- "x12Details": {
- "version": "VERSION_4010",
- "transactionSet": "X12_110"
- }
- },
- "inputLocation": {
- "key": "input/",
- "bucketName": "test-bucket"
- },
- "outputLocation": {
- "key": "output/",
- "bucketName": "test-bucket"
- },
- "transformerId": "tr-9a893cf536df4658b"
- }
- },
- "instructionsDocuments": [
- {
- "key": "instructiondoc.txt",
- "bucketName": "test-bucket"
- }
- ],
- "tags": [
- {
- "Key": "capabilityKey1",
- "Value": "capabilityValue1"
- }
- ]
- },
- "output": {
- "name": "b2biexample",
- "type": "edi",
- "capabilityArn": "arn:aws:b2bi:us-west-2:123456789012:capability/ca-963a8121e4fc4e348",
- "capabilityId": "ca-963a8121e4fc4e348",
- "configuration": {
- "edi": {
- "type": {
- "x12Details": {
- "version": "VERSION_4010",
- "transactionSet": "X12_110"
- }
- },
- "inputLocation": {
- "key": "input/",
- "bucketName": "test-bucket"
- },
- "outputLocation": {
- "key": "output/",
- "bucketName": "test-bucket"
- },
- "transformerId": "tr-9a893cf536df4658b"
- }
- },
- "createdAt": "2023-11-01T21:51:05.504Z",
- "instructionsDocuments": [
- {
- "key": "instructiondoc.txt",
- "bucketName": "test-bucket"
- }
- ]
- },
- "id": "example-1",
- "title": "Sample CreateCapability call"
- }
- ],
- "CreatePartnership": [
- {
- "input": {
- "name": "b2bipartner",
- "capabilities": [
- "ca-963a8121e4fc4e348"
- ],
- "clientToken": "foo",
- "email": "john@example.com",
- "phone": "5555555555",
- "profileId": "p-60fbc37c87f04fce9",
- "tags": [
- {
- "Key": "sampleKey1",
- "Value": "sampleValue1"
- }
- ]
- },
- "output": {
- "name": "b2bipartner",
- "capabilities": [
- "ca-963a8121e4fc4e348"
- ],
- "createdAt": "2023-11-01T21:51:05.504Z",
- "email": "john@example.com",
- "partnershipArn": "arn:aws:b2bi:us-west-2:123456789012:partnership/ps-60fbc37c87f04fce9",
- "partnershipId": "ps-219fa02f5b4242af8",
- "phone": "5555555555",
- "profileId": "p-60fbc37c87f04fce9",
- "tradingPartnerId": "tp-2a17ca447f6f4a8a8"
- },
- "id": "example-1",
- "title": "Sample CreatePartnership call"
- }
- ],
- "CreateProfile": [
- {
- "input": {
- "name": "Shipping Profile",
- "businessName": "John's Shipping",
- "clientToken": "foo",
- "email": "john@example.com",
- "logging": "ENABLED",
- "phone": "5555555555",
- "tags": [
- {
- "Key": "sampleKey",
- "Value": "sampleValue"
- }
- ]
- },
- "output": {
- "name": "Shipping Profile",
- "businessName": "John's Trucking",
- "createdAt": "2023-11-01T21:51:05.504Z",
- "email": "john@example.com",
- "logGroupName": "b2bi/p-60fbc37c87f04fce9-Logs",
- "logging": "ENABLED",
- "phone": "5555555555",
- "profileArn": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
- "profileId": "p-60fbc37c87f04fce9"
- },
- "id": "example-1",
- "title": "Sample CreateProfile call"
- }
- ],
- "CreateTransformer": [
- {
- "input": {
- "name": "transformJSON",
- "clientToken": "foo",
- "ediType": {
- "x12Details": {
- "version": "VERSION_4010",
- "transactionSet": "X12_110"
- }
- },
- "fileFormat": "JSON",
- "mappingTemplate": "{}",
- "sampleDocument": "s3://test-bucket/sampleDoc.txt",
- "tags": [
- {
- "Key": "sampleKey",
- "Value": "sampleValue"
- }
- ]
- },
- "output": {
- "name": "transformJSON",
- "createdAt": "2023-11-01T21:51:05.504Z",
- "ediType": {
- "x12Details": {
- "version": "VERSION_4010",
- "transactionSet": "X12_110"
- }
- },
- "fileFormat": "JSON",
- "mappingTemplate": "$",
- "sampleDocument": "s3://test-bucket/sampleDoc.txt",
- "status": "inactive",
- "transformerArn": "arn:aws:b2bi:us-west-2:123456789012:transformer/tr-974c129999f84d8c9",
- "transformerId": "tr-974c129999f84d8c9"
- },
- "id": "example-1",
- "title": "Sample CreateTransformer call"
- }
- ],
- "DeleteCapability": [
- {
- "input": {
- "capabilityId": "ca-963a8121e4fc4e348"
- },
- "id": "example-1",
- "title": "Sample DeleteCapabilty call"
- }
- ],
- "DeletePartnership": [
- {
- "input": {
- "partnershipId": "ps-219fa02f5b4242af8"
- },
- "id": "example-1",
- "title": "Sample DeletePartnership call"
- }
- ],
- "DeleteProfile": [
- {
- "input": {
- "profileId": "p-60fbc37c87f04fce9"
- },
- "id": "example-1",
- "title": "Sample DeleteProfile call"
- }
- ],
- "DeleteTransformer": [
- {
- "input": {
- "transformerId": "tr-974c129999f84d8c9"
- },
- "id": "example-1",
- "title": "Sample DeleteTransformer call"
- }
- ],
- "GetCapability": [
- {
- "input": {
- "capabilityId": "ca-963a8121e4fc4e348"
- },
- "output": {
- "name": "b2biexample",
- "type": "edi",
- "capabilityArn": "arn:aws:b2bi:us-west-2:123456789012:capability/ca-963a8121e4fc4e348",
- "capabilityId": "ca-963a8121e4fc4e348",
- "configuration": {
- "edi": {
- "type": {
- "x12Details": {
- "version": "VERSION_4010",
- "transactionSet": "X12_110"
- }
- },
- "inputLocation": {
- "key": "input/",
- "bucketName": "test-bucket"
- },
- "outputLocation": {
- "key": "output/",
- "bucketName": "test-bucket"
- },
- "transformerId": "tr-9a893cf536df4658b"
- }
- },
- "createdAt": "2023-11-01T21:51:05.504Z",
- "instructionsDocuments": [
- {
- "key": "instructiondoc.txt",
- "bucketName": "test-bucket"
- }
- ],
- "modifiedAt": "2023-11-02T21:51:05.504Z"
- },
- "id": "example-1",
- "title": "Sample GetCapabilty call"
- }
- ],
- "GetPartnership": [
- {
- "input": {
- "partnershipId": "ps-219fa02f5b4242af8"
- },
- "output": {
- "name": "b2bipartner",
- "capabilities": [
- "ca-963a8121e4fc4e348"
- ],
- "createdAt": "2023-11-01T21:51:05.504Z",
- "email": "john@example.com",
- "modifiedAt": "2023-11-01T21:51:05.504Z",
- "partnershipArn": "arn:aws:b2bi:us-west-2:123456789012:partnership/ps-219fa02f5b4242af8",
- "partnershipId": "ps-219fa02f5b4242af8",
- "phone": "5555555555",
- "profileId": "p-60fbc37c87f04fce9",
- "tradingPartnerId": "tp-2a17ca447f6f4a8a8"
- },
- "id": "example-1",
- "title": "Sample GetPartnership call"
- }
- ],
- "GetProfile": [
- {
- "input": {
- "profileId": "p-60fbc37c87f04fce9"
- },
- "output": {
- "name": "Shipping Profile",
- "businessName": "John's Trucking",
- "createdAt": "2023-11-01T21:51:05.504Z",
- "email": "john@example.com",
- "logGroupName": "b2bi/p-60fbc37c87f04fce9-Logs",
- "logging": "ENABLED",
- "phone": "5555555555",
- "profileArn": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
- "profileId": "p-60fbc37c87f04fce9"
- },
- "id": "example-1",
- "title": "Sample GetProfile call"
- }
- ],
- "GetTransformer": [
- {
- "input": {
- "transformerId": "tr-974c129999f84d8c9"
- },
- "output": {
- "name": "transformJSON",
- "createdAt": "2023-11-01T21:51:05.504Z",
- "ediType": {
- "x12Details": {
- "version": "VERSION_4010",
- "transactionSet": "X12_110"
- }
- },
- "fileFormat": "JSON",
- "mappingTemplate": "$",
- "modifiedAt": "2023-11-01T21:51:05.504Z",
- "sampleDocument": "s3://test-bucket/sampleDoc.txt",
- "status": "inactive",
- "transformerArn": "arn:aws:b2bi:us-west-2:123456789012:transformer/tr-974c129999f84d8c9",
- "transformerId": "tr-974c129999f84d8c9"
- },
- "id": "example-1",
- "title": "Sample GetTransformer call"
- }
- ],
- "GetTransformerJob": [
- {
- "input": {
- "transformerId": "tr-974c129999f84d8c9",
- "transformerJobId": "tj-vpYxfV7yQOqjMSYllEslLw"
- },
- "output": {
- "message": "Transformed, writing output",
- "outputFiles": [
- {
- "key": "output/sample-214.edi.2023-11-01T10:44:03.353Z.json",
- "bucketName": "gt-edi-test"
- }
- ],
- "status": "succeeded"
- },
- "id": "example-1",
- "title": "Sample GetTransformerJob call"
- }
- ],
- "ListCapabilities": [
- {
- "input": {
- "maxResults": 50,
- "nextToken": "foo"
- },
- "output": {
- "capabilities": [
- {
- "name": "b2biexample",
- "type": "edi",
- "capabilityId": "ca-963a8121e4fc4e348",
- "createdAt": "2023-11-01T21:51:05.504Z",
- "modifiedAt": "2023-11-01T21:51:05.504Z"
- }
- ],
- "nextToken": "foo"
- },
- "id": "example-1",
- "title": "Sample ListCapabilities call"
- }
- ],
- "ListPartnerships": [
- {
- "input": {
- "maxResults": 50,
- "nextToken": "foo",
- "profileId": "p-60fbc37c87f04fce9"
- },
- "output": {
- "nextToken": "string",
- "partnerships": [
- {
- "name": "b2bipartner",
- "capabilities": [
- "ca-963a8121e4fc4e348"
- ],
- "createdAt": "2023-11-01T21:51:05.504Z",
- "modifiedAt": "2023-11-01T21:51:05.504Z",
- "partnershipId": "ps-219fa02f5b4242af8",
- "profileId": "p-60fbc37c87f04fce9",
- "tradingPartnerId": "tp-2a17ca447f6f4a8a8"
- }
- ]
- },
- "id": "example-1",
- "title": "Sample ListPartnerships call"
- }
- ],
- "ListProfiles": [
- {
- "input": {
- "maxResults": 50,
- "nextToken": "foo"
- },
- "output": {
- "nextToken": "foo",
- "profiles": [
- {
- "name": "Shipping Profile",
- "businessName": "John's Trucking",
- "createdAt": "2023-11-01T21:51:05.504Z",
- "logGroupName": "b2bi/p-60fbc37c87f04fce9-Logs",
- "logging": "ENABLED",
- "profileId": "p-60fbc37c87f04fce9"
- }
- ]
- },
- "id": "example-1",
- "title": "Sample ListProfiles call"
- }
- ],
- "ListTagsForResource": [
- {
- "input": {
- "ResourceARN": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9"
- },
- "output": {
- "Tags": [
- {
- "Key": "sampleKey",
- "Value": "SampleValue"
- }
- ]
- },
- "id": "example-1",
- "title": "Sample ListTagsForResources call"
- }
- ],
- "ListTransformers": [
- {
- "input": {
- "maxResults": 50,
- "nextToken": "foo"
- },
- "output": {
- "nextToken": "foo",
- "transformers": [
- {
- "name": "transformJSON",
- "createdAt": "2023-11-01T21:51:05.504Z",
- "ediType": {
- "x12Details": {
- "version": "VERSION_4010",
- "transactionSet": "X12_110"
- }
- },
- "fileFormat": "JSON",
- "mappingTemplate": "$",
- "modifiedAt": "2023-11-01T21:51:05.504Z",
- "sampleDocument": "s3://test-bucket/sampleDoc.txt",
- "status": "inactive",
- "transformerId": "tr-974c129999f84d8c9"
- }
- ]
- },
- "id": "example-1",
- "title": "Sample ListTransformers call"
- }
- ],
- "StartTransformerJob": [
- {
- "input": {
- "clientToken": "foo",
- "inputFile": {
- "key": "input/inputFile.txt",
- "bucketName": "test-bucket"
- },
- "outputLocation": {
- "key": "output/",
- "bucketName": "test-bucket"
- },
- "transformerId": "tr-974c129999f84d8c9"
- },
- "output": {
- "transformerJobId": "tj-vpYxfV7yQOqjMSYllEslLw"
- },
- "id": "example-1",
- "title": "Sample StartTransformerJob call"
- }
- ],
- "TagResource": [
- {
- "input": {
- "ResourceARN": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
- "Tags": [
- {
- "Key": "sampleKey",
- "Value": "SampleValue"
- }
- ]
- },
- "id": "example-1",
- "title": "Sample TagResource call"
- }
- ],
- "TestMapping": [
- {
- "input": {
- "fileFormat": "JSON",
- "inputFileContent": "Sample file content",
- "mappingTemplate": "$"
- },
- "output": {
- "mappedFileContent": "Sample file content"
- },
- "id": "example-1",
- "title": "Sample TestMapping call"
- }
- ],
- "TestParsing": [
- {
- "input": {
- "ediType": {
- "x12Details": {
- "version": "VERSION_4010",
- "transactionSet": "X12_110"
- }
- },
- "fileFormat": "JSON",
- "inputFile": {
- "key": "sampleFile.txt",
- "bucketName": "test-bucket"
- }
- },
- "output": {
- "parsedFileContent": "Sample parsed file content"
- },
- "id": "example-1",
- "title": "Sample TestParsing call"
- }
- ],
- "UntagResource": [
- {
- "input": {
- "ResourceARN": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
- "TagKeys": [
- "sampleKey"
- ]
- },
- "id": "example-1",
- "title": "Sample UntagResource call"
- }
- ],
- "UpdateCapability": [
- {
- "input": {
- "name": "b2biexample",
- "capabilityId": "ca-963a8121e4fc4e348",
- "configuration": {
- "edi": {
- "type": {
- "x12Details": {
- "version": "VERSION_4010",
- "transactionSet": "X12_110"
- }
- },
- "inputLocation": {
- "key": "input/",
- "bucketName": "test-bucket"
- },
- "outputLocation": {
- "key": "output/",
- "bucketName": "test-bucket"
- },
- "transformerId": "tr-9a893cf536df4658b"
- }
- },
- "instructionsDocuments": [
- {
- "key": "instructiondoc.txt",
- "bucketName": "test-bucket"
- }
- ]
- },
- "output": {
- "name": "b2biexample",
- "type": "edi",
- "capabilityArn": "arn:aws:b2bi:us-west-2:123456789012:capability/ca-963a8121e4fc4e348",
- "capabilityId": "ca-963a8121e4fc4e348",
- "configuration": {
- "edi": {
- "type": {
- "x12Details": {
- "version": "VERSION_4010",
- "transactionSet": "X12_110"
- }
- },
- "inputLocation": {
- "key": "input/",
- "bucketName": "test-bucket"
- },
- "outputLocation": {
- "key": "output/",
- "bucketName": "test-bucket"
- },
- "transformerId": "tr-9a893cf536df4658b"
- }
- },
- "createdAt": "2023-11-01T21:51:05.504Z",
- "instructionsDocuments": [
- {
- "key": "instructiondoc.txt",
- "bucketName": "test-bucket"
- }
- ],
- "modifiedAt": "2023-11-01T21:51:05.504Z"
- },
- "id": "example-1",
- "title": "Sample UpdateCapability call"
- }
- ],
- "UpdatePartnership": [
- {
- "input": {
- "name": "b2bipartner",
- "capabilities": [
- "ca-963a8121e4fc4e348"
- ],
- "partnershipId": "ps-219fa02f5b4242af8"
- },
- "output": {
- "name": "b2bipartner",
- "capabilities": [
- "ca-963a8121e4fc4e348"
- ],
- "createdAt": "2023-11-01T21:51:05.504Z",
- "email": "john@example.com",
- "modifiedAt": "2023-11-01T21:51:05.504Z",
- "partnershipArn": "arn:aws:b2bi:us-west-2:123456789012:partnership/ps-60fbc37c87f04fce9",
- "partnershipId": "ps-219fa02f5b4242af8",
- "phone": "5555555555",
- "profileId": "p-60fbc37c87f04fce9",
- "tradingPartnerId": "tp-2a17ca447f6f4a8a8"
- },
- "id": "example-1",
- "title": "Sample UpdatePartnership call"
- }
- ],
- "UpdateProfile": [
- {
- "input": {
- "name": "Shipping Profile",
- "businessName": "John's Shipping",
- "email": "john@example.com",
- "phone": "5555555555",
- "profileId": "p-60fbc37c87f04fce9"
- },
- "output": {
- "name": "Shipping Profile",
- "businessName": "John's Trucking",
- "createdAt": "2023-11-01T21:51:05.504Z",
- "email": "john@example.com",
- "logGroupName": "b2bi/p-60fbc37c87f04fce9-Logs",
- "logging": "ENABLED",
- "modifiedAt": "2023-11-02T21:51:05.504Z",
- "phone": "5555555555",
- "profileArn": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
- "profileId": "p-60fbc37c87f04fce9"
- },
- "id": "example-1",
- "title": "Sample UpdateProfile call"
- }
- ],
- "UpdateTransformer": [
- {
- "input": {
- "name": "transformJSON",
- "ediType": {
- "x12Details": {
- "version": "VERSION_4010",
- "transactionSet": "X12_110"
- }
- },
- "fileFormat": "JSON",
- "mappingTemplate": "{}",
- "sampleDocument": "s3://test-bucket/sampleDoc.txt",
- "status": "inactive",
- "transformerId": "tr-974c129999f84d8c9"
- },
- "output": {
- "name": "transformJSON",
- "createdAt": "2023-11-01T21:51:05.504Z",
- "ediType": {
- "x12Details": {
- "version": "VERSION_4010",
- "transactionSet": "X12_110"
- }
- },
- "fileFormat": "JSON",
- "mappingTemplate": "$",
- "modifiedAt": "2023-11-01T21:51:05.504Z",
- "sampleDocument": "s3://test-bucket/sampleDoc.txt",
- "status": "inactive",
- "transformerArn": "arn:aws:b2bi:us-west-2:607686414464:transformer/tr-974c129999f84d8c9",
- "transformerId": "tr-974c129999f84d8c9"
- },
- "id": "example-1",
- "title": "Sample UpdateTransformer call"
- }
- ]
- }
- }
|