Module Awso_b2bi.ValuesSource

Sourceval service : Awso.Service.t
Sourceval apiVersion : string
Sourceval endpointPrefix : string
Sourceval serviceFullName : string
Sourceval signatureVersion : string
Sourceval protocol : string
Sourceval globalEndpoint : string
Sourceval serviceAbbreviation : string
Sourceval targetPrefix : string
Sourceval simple_to_json : ('a -> Awso__Botodata.value) -> 'a -> Yojson.Safe.t
Sourceval composed_to_json : ('a -> Awso__Botodata.value) -> 'a -> Yojson.Safe.t
Sourceval to_query : ('a -> Awso.Client.Query.value) -> 'a -> Awso.Client.Query.t
Sourceval structure_to_value_aux : ('a * 'b option) list -> f:(('a * 'b) list -> 'c) -> [> `Structure of 'c ]
Sourceval structure_to_value : ('a * 'b option) list -> [> `Structure of ('a * 'b) list ]
Sourceval structure_to_wrapped_value : wrapper:'a -> response:'a -> ('b * 'c option) list -> [> `Structure of ('a * [> `Structure of ('b * 'c) list ]) list ]
Sourcemodule String_ : sig ... end
Sourcemodule CodeList : sig ... end
Sourcemodule ElementId : sig ... end

A string type representing an X12 element ID. Element IDs are four-digit numeric identifiers that uniquely identify elements within the X12 standard. This type enforces a pattern of exactly four digits to ensure valid element IDs are used in validation rules.

Sourcemodule ElementPosition : sig ... end

A string type representing the position of an element within an X12 segment. The format follows the pattern of segment identifier followed by element position (e.g., "ST-01" for the first element of the ST segment) and optionally a component position (e.g., "ST-01-02" for the second component of the first element). This type is used in validation rules to precisely identify which element in which position is being validated.

Sourcemodule ElementRequirement : sig ... end
Sourcemodule X12CodeListValidationRule : sig ... end

Defines a validation rule that modifies the allowed code values for a specific X12 element. This rule allows you to add or remove valid codes from an element's standard code list, providing flexibility to accommodate trading partner-specific requirements or industry variations. You can specify codes to add to expand the allowed values beyond the X12 standard, or codes to remove to restrict the allowed values for stricter validation.

Defines a validation rule that specifies custom length constraints for a specific X12 element. This rule allows you to override the standard minimum and maximum length requirements for an element, enabling validation of trading partner-specific length requirements that may differ from the X12 specification. Both minimum and maximum length values must be specified and must be between 1 and 200 characters.

Defines a validation rule that modifies the requirement status of a specific X12 element within a segment. This rule allows you to make optional elements mandatory or mandatory elements optional, providing flexibility to accommodate different trading partner requirements and business rules. The rule targets a specific element position within a segment and sets its requirement status to either OPTIONAL or MANDATORY.

Sourcemodule X12ValidationRule : sig ... end

Represents a single validation rule that can be applied during X12 EDI processing. This is a union type that can contain one of several specific validation rule types: code list validation rules for modifying allowed element codes, element length validation rules for enforcing custom length constraints, or element requirement validation rules for changing mandatory/optional status. Each validation rule targets specific aspects of EDI document validation to ensure compliance with trading partner requirements and business rules.

Sourcemodule X12ComponentSeparator : sig ... end
Sourcemodule X12DataElementSeparator : sig ... end
Sourcemodule X12SegmentTerminator : sig ... end
Sourcemodule X12ApplicationSenderCode : sig ... end
Sourcemodule X12ResponsibleAgencyCode : sig ... end
Sourcemodule X12IdQualifier : sig ... end
Sourcemodule X12ReceiverId : sig ... end
Sourcemodule X12RepetitionSeparator : sig ... end
Sourcemodule X12SenderId : sig ... end
Sourcemodule X12UsageIndicatorCode : sig ... end
Sourcemodule X12SplitBy : sig ... end
Sourcemodule X12ValidationRules : sig ... end
Sourcemodule LineLength : sig ... end
Sourcemodule LineTerminator : sig ... end
Sourcemodule WrapFormat : sig ... end
Sourcemodule X12ControlNumbers : sig ... end

Contains configuration for X12 control numbers used in X12 EDI generation. Control numbers are used to uniquely identify interchanges, functional groups, and transaction sets.

Sourcemodule X12Delimiters : sig ... end

In X12 EDI messages, delimiters are used to mark the end of segments or elements, and are defined in the interchange control header. The delimiters are part of the message's syntax and divide up its different elements.

Sourcemodule X12FunctionalGroupHeaders : sig ... end

Part of the X12 message structure. These are the functional group headers for the X12 EDI object.

Sourcemodule X12GS05TimeFormat : sig ... end

In X12, the Interchange Control Header is the first segment of an EDI document and is part of the Interchange Envelope. It contains information about the sender and receiver, the date and time of transmission, and the X12 version being used. It also includes delivery information, such as the sender and receiver IDs.

Sourcemodule X12ValidateEdi : sig ... end
Sourcemodule X12SplitOptions : sig ... end

Contains options for splitting X12 EDI files into smaller units. This is useful for processing large EDI files more efficiently.

Sourcemodule X12ValidationOptions : sig ... end

Contains configuration options for X12 EDI validation. This structure allows you to specify custom validation rules that will be applied during EDI document processing, including element length constraints, code list modifications, and element requirement changes. These validation options provide flexibility to accommodate trading partner-specific requirements while maintaining EDI compliance. The validation rules are applied in addition to standard X12 validation to ensure documents meet both standard and custom requirements.

Sourcemodule X12TransactionSet : sig ... end
Sourcemodule X12Version : sig ... end
Sourcemodule S3Key : sig ... end
Sourcemodule X12AcknowledgmentOptions : sig ... end

Contains options for configuring X12 acknowledgments. These options control how functional and technical acknowledgments are handled.

Sourcemodule WrapOptions : sig ... end

Contains options for wrapping (line folding) in X12 EDI files. Wrapping controls how long lines are handled in the EDI output.

Sourcemodule X12OutboundEdiHeaders : sig ... end

A structure containing the details for an outbound EDI object.

Sourcemodule X12AdvancedOptions : sig ... end

Contains advanced options specific to X12 EDI processing, such as splitting large X12 files into smaller units.

Sourcemodule X12Details : sig ... end

A structure that contains the X12 transaction set and version. The X12 structure is used when the system transforms an EDI (electronic data interchange) file. If an EDI input file contains more than one transaction, each transaction must have the same transaction set and version, for example 214/4010. If not, the transformer cannot parse the file.

Sourcemodule SampleDocumentKeys : sig ... end

An array of the Amazon S3 keys used to identify the location for your sample documents.

Sourcemodule X12InboundEdiOptions : sig ... end

Contains options specific to processing inbound X12 EDI files.

Sourcemodule X12Envelope : sig ... end

A wrapper structure for an X12 definition object. the X12 envelope ensures the integrity of the data and the efficiency of the information exchange. The X12 message structure has hierarchical levels. From highest to the lowest, they are: Interchange Envelope Functional Group Transaction Set

Sourcemodule BucketName : sig ... end
Sourcemodule AdvancedOptions : sig ... end

A structure that contains advanced options for EDI processing. Currently, only X12 advanced options are supported.

Sourcemodule FormatOptions : sig ... end

A structure that contains the X12 transaction set and version.

Sourcemodule FromFormat : sig ... end
Sourcemodule MappingTemplate : sig ... end
Sourcemodule MappingTemplateLanguage : sig ... end
Sourcemodule ToFormat : sig ... end
Sourcemodule KeyList : sig ... end
Sourcemodule InboundEdiOptions : sig ... end

Contains options for processing inbound EDI files. These options allow for customizing how incoming EDI documents are processed.

Sourcemodule OutboundEdiOptions : sig ... end

A container for outbound EDI options.

Sourcemodule CapabilityId : sig ... end
Sourcemodule CapabilityDirection : sig ... end
Sourcemodule EdiType : sig ... end

Specifies the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.

Sourcemodule S3Location : sig ... end

Specifies the details for the Amazon S3 file location that is being used with Amazon Web Services B2B Data Interchange. File locations in Amazon S3 are identified using a combination of the bucket and key.

Sourcemodule TransformerId : sig ... end
Sourcemodule TagKey : sig ... end
Sourcemodule TagValue : sig ... end
Sourcemodule CreatedDate : sig ... end
Sourcemodule FileFormat : sig ... end
Sourcemodule FileLocation : sig ... end
Sourcemodule InputConversion : sig ... end

Contains the input formatting options for an inbound transformer (takes an X12-formatted EDI document as input and converts it to JSON or XML.

Sourcemodule Mapping : sig ... end

Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

Sourcemodule ModifiedDate : sig ... end
Sourcemodule OutputConversion : sig ... end

Contains the formatting options for an outbound transformer (takes JSON or XML as input and converts it to an EDI document (currently only X12 format is supported).

Sourcemodule SampleDocuments : sig ... end

Describes a structure that contains the Amazon S3 bucket and an array of the corresponding keys used to identify the location for your sample documents.

Sourcemodule TransformerName : sig ... end
Sourcemodule TransformerStatus : sig ... end
Sourcemodule BusinessName : sig ... end
Sourcemodule LogGroupName : sig ... end
Sourcemodule Logging : sig ... end
Sourcemodule ProfileId : sig ... end
Sourcemodule ProfileName : sig ... end
Sourcemodule CapabilityOptions : sig ... end

Contains the details for an Outbound EDI capability.

Sourcemodule PartnerName : sig ... end
Sourcemodule PartnershipCapabilities : sig ... end
Sourcemodule PartnershipId : sig ... end
Sourcemodule TradingPartnerId : sig ... end
Sourcemodule CapabilityName : sig ... end
Sourcemodule CapabilityType : sig ... end
Sourcemodule ErrorMessage : sig ... end
Sourcemodule Integer : sig ... end
Sourcemodule EdiConfiguration : sig ... end

Specifies the details for the EDI (electronic data interchange) transformation.

Sourcemodule ConversionSourceFormat : sig ... end
Sourcemodule InputFileSource : sig ... end

The input file to use for an outbound transformation.

Sourcemodule ConversionTargetFormat : sig ... end

Contains a structure describing the X12 details for the conversion target.

Sourcemodule OutputSampleFileSource : sig ... end

Container for the location of a sample file used for outbound transformations.

Sourcemodule Tag : sig ... end

Creates a key-value pair for a specific resource. Tags are metadata that you can use to search for and group a resource for various purposes. You can apply tags to capabilities, partnerships, profiles and transformers. A tag key can take more than one value. For example, to group capabilities for accounting purposes, you might create a tag called Group and assign the values Research and Accounting to that group.

Sourcemodule TransformerSummary : sig ... end

Contains the details for a transformer object. A transformer can take an EDI file as input and transform it into a JSON-or XML-formatted document. Alternatively, a transformer can take a JSON-or XML-formatted document as input and transform it into an EDI file.

Sourcemodule ProfileSummary : sig ... end

Contains the details for a profile. A profile is the mechanism used to create the concept of a private network.

Sourcemodule PartnershipSummary : sig ... end

A structure that contains the details for a partnership. A partnership represents the connection between you and your trading partner. It ties together a profile and one or more trading capabilities.

Sourcemodule CapabilitySummary : sig ... end

Returns the capability summary details. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.

Sourcemodule AccessDeniedException : sig ... end

You do not have sufficient access to perform this action.

Sourcemodule ConflictException : sig ... end

A conflict exception is thrown when you attempt to delete a resource (such as a profile or a capability) that is being used by other resources.

Sourcemodule InternalServerException : sig ... end

This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.

Sourcemodule ResourceArn : sig ... end
Sourcemodule ResourceNotFoundException : sig ... end

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.

Occurs when the calling command attempts to exceed one of the service quotas, for example trying to create a capability when you already have the maximum number of capabilities allowed.

Sourcemodule ThrottlingException : sig ... end

The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.

Sourcemodule ValidationException : sig ... end

Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.

Sourcemodule Email : sig ... end
Sourcemodule Phone : sig ... end
Sourcemodule CapabilityConfiguration : sig ... end

A capability object. Currently, only EDI (electronic data interchange) capabilities are supported. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.

Sourcemodule InstructionsDocuments : sig ... end
Sourcemodule AmazonResourceName : sig ... end
Sourcemodule TagKeyList : sig ... end
Sourcemodule ValidationMessages : sig ... end
Sourcemodule ConversionSource : sig ... end

Describes the input for an outbound transformation.

Sourcemodule ConversionTarget : sig ... end

Provide a sample of what the output of the transformation should look like.

Sourcemodule TagList : sig ... end
Sourcemodule TransformerJobId : sig ... end
Sourcemodule PageToken : sig ... end
Sourcemodule TransformerList : sig ... end
Sourcemodule MaxResults : sig ... end
Sourcemodule ProfileList : sig ... end
Sourcemodule PartnershipList : sig ... end
Sourcemodule CapabilityList : sig ... end
Sourcemodule S3LocationList : sig ... end
Sourcemodule TransformerJobStatus : sig ... end
Sourcemodule MappingType : sig ... end
Sourcemodule TemplateDetails : sig ... end

A data structure that contains the information to use when generating a mapping template.

Sourcemodule UpdateTransformerResponse : sig ... end

Updates the specified parameters for a 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.

Sourcemodule UpdateTransformerRequest : sig ... end

Updates the specified parameters for a 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.

Sourcemodule UpdateProfileResponse : sig ... end

Updates the specified parameters for a profile. A profile is the mechanism used to create the concept of a private network.

Sourcemodule UpdateProfileRequest : sig ... end

Updates the specified parameters for a profile. A profile is the mechanism used to create the concept of a private network.

Sourcemodule UpdatePartnershipResponse : sig ... end

Updates some of the parameters for a partnership between a customer and trading partner. A partnership represents the connection between you and your trading partner. It ties together a profile and one or more trading capabilities.

Sourcemodule UpdatePartnershipRequest : sig ... end

Updates some of the parameters for a partnership between a customer and trading partner. A partnership represents the connection between you and your trading partner. It ties together a profile and one or more trading capabilities.

Sourcemodule UpdateCapabilityResponse : sig ... end

Updates some of the parameters for a capability, based on the specified parameters. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.

Sourcemodule UpdateCapabilityRequest : sig ... end

Updates some of the parameters for a capability, based on the specified parameters. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.

Sourcemodule UntagResourceRequest : sig ... end

Detaches a key-value pair from the specified resource, as identified by its Amazon Resource Name (ARN). Resources are capability, partnership, profile, transformers and other entities.

Sourcemodule TestParsingResponse : sig ... end

Parses the input EDI (electronic data interchange) file. The input file has a file size limit of 250 KB.

Sourcemodule TestParsingRequest : sig ... end

Parses the input EDI (electronic data interchange) file. The input file has a file size limit of 250 KB.

Sourcemodule TestMappingResponse : sig ... end

Maps the input file according to the provided template file. The API call downloads the file contents from the Amazon S3 location, and passes the contents in as a string, to the inputFileContent parameter.

Sourcemodule TestMappingRequest : sig ... end

Maps the input file according to the provided template file. The API call downloads the file contents from the Amazon S3 location, and passes the contents in as a string, to the inputFileContent parameter.

Sourcemodule TestConversionResponse : sig ... end

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.

Sourcemodule TestConversionRequest : sig ... end

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.

Sourcemodule TagResourceRequest : sig ... end

Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN). Resources are capability, partnership, profile, transformers and other entities. There is no response returned from this call.

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. If you only want to transform EDI (electronic data interchange) documents, you don't need to create profiles, partnerships or capabilities. Just create and configure a transformer, and then run the StartTransformerJob API to process your files. The system stores transformer jobs for 30 days. During that period, you can run GetTransformerJob and supply its transformerId and transformerJobId to return details of the job.

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. If you only want to transform EDI (electronic data interchange) documents, you don't need to create profiles, partnerships or capabilities. Just create and configure a transformer, and then run the StartTransformerJob API to process your files. The system stores transformer jobs for 30 days. During that period, you can run GetTransformerJob and supply its transformerId and transformerJobId to return details of the job.

Sourcemodule ListTransformersResponse : sig ... end

Lists the available transformers. 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.

Sourcemodule ListTransformersRequest : sig ... end

Lists the available transformers. 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.

Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a capability, partnership, profile, or transformer.

Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a capability, partnership, profile, or transformer.

Sourcemodule ListProfilesResponse : sig ... end

Lists the profiles associated with your Amazon Web Services account for your current or specified region. A profile is the mechanism used to create the concept of a private network.

Sourcemodule ListProfilesRequest : sig ... end

Lists the profiles associated with your Amazon Web Services account for your current or specified region. A profile is the mechanism used to create the concept of a private network.

Sourcemodule ListPartnershipsResponse : sig ... end

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.

Sourcemodule ListPartnershipsRequest : sig ... end

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.

Sourcemodule ListCapabilitiesResponse : sig ... end

Lists the capabilities associated with your Amazon Web Services account for your current or specified region. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.

Sourcemodule ListCapabilitiesRequest : sig ... end

Lists the capabilities associated with your Amazon Web Services account for your current or specified region. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.

Sourcemodule GetTransformerResponse : sig ... end

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.

Sourcemodule GetTransformerRequest : sig ... end

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.

Sourcemodule GetTransformerJobResponse : sig ... end

Returns the details of the transformer run, based on the Transformer job ID. If 30 days have elapsed since your transformer job was started, the system deletes it. So, if you run GetTransformerJob and supply a transformerId and transformerJobId for a job that was started more than 30 days previously, you receive a 404 response.

Sourcemodule GetTransformerJobRequest : sig ... end

Returns the details of the transformer run, based on the Transformer job ID. If 30 days have elapsed since your transformer job was started, the system deletes it. So, if you run GetTransformerJob and supply a transformerId and transformerJobId for a job that was started more than 30 days previously, you receive a 404 response.

Sourcemodule GetProfileResponse : sig ... end

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.

Sourcemodule GetProfileRequest : sig ... end

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.

Sourcemodule GetPartnershipResponse : sig ... end

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.

Sourcemodule GetPartnershipRequest : sig ... end

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.

Sourcemodule GetCapabilityResponse : sig ... end

Retrieves the details for the specified capability. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.

Sourcemodule GetCapabilityRequest : sig ... end

Retrieves the details for the specified capability. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.

Sourcemodule GenerateMappingResponse : sig ... end

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. 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 AI-assisted template mapping prerequisites in the Amazon Web Services B2B Data Interchange User guide. To generate a mapping, perform the following steps: Start with an X12 EDI document to use as the input. Call TestMapping using your EDI document. Use the output from the TestMapping operation as either input or output for your GenerateMapping call, along with your sample file.

Sourcemodule GenerateMappingRequest : sig ... end

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. 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 AI-assisted template mapping prerequisites in the Amazon Web Services B2B Data Interchange User guide. To generate a mapping, perform the following steps: Start with an X12 EDI document to use as the input. Call TestMapping using your EDI document. Use the output from the TestMapping operation as either input or output for your GenerateMapping call, along with your sample file.

Sourcemodule DeleteTransformerRequest : sig ... end

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.

Sourcemodule DeleteProfileRequest : sig ... end

Deletes the specified profile. A profile is the mechanism used to create the concept of a private network.

Sourcemodule DeletePartnershipRequest : sig ... end

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.

Sourcemodule DeleteCapabilityRequest : sig ... end

Deletes the specified capability. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.

Sourcemodule CreateTransformerResponse : sig ... end

Creates a transformer. Amazon Web Services B2B Data Interchange currently supports two scenarios: Inbound EDI: 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. Outbound EDI: 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. The following fields are provided for backwards compatibility only: fileFormat, mappingTemplate, ediType, and sampleDocument. Use the mapping data type in place of mappingTemplate and fileFormat Use the sampleDocuments data type in place of sampleDocument Use either the inputConversion or outputConversion in place of ediType

Sourcemodule CreateTransformerRequest : sig ... end

Creates a transformer. Amazon Web Services B2B Data Interchange currently supports two scenarios: Inbound EDI: 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. Outbound EDI: 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. The following fields are provided for backwards compatibility only: fileFormat, mappingTemplate, ediType, and sampleDocument. Use the mapping data type in place of mappingTemplate and fileFormat Use the sampleDocuments data type in place of sampleDocument Use either the inputConversion or outputConversion in place of ediType

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. 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. If you do not provide a sample EDI file, then the service can generate a mapping template based on the EDI settings in the templateDetails parameter. Currently, we only support generating a template that can generate the input to produce an Outbound X12 EDI file.

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. 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. If you do not provide a sample EDI file, then the service can generate a mapping template based on the EDI settings in the templateDetails parameter. Currently, we only support generating a template that can generate the input to produce an Outbound X12 EDI file.

Sourcemodule CreateProfileResponse : sig ... end

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.

Sourcemodule CreateProfileRequest : sig ... end

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.

Sourcemodule CreatePartnershipResponse : sig ... end

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.

Sourcemodule CreatePartnershipRequest : sig ... end

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.

Sourcemodule CreateCapabilityResponse : sig ... end

Instantiates a capability based on the specified parameters. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.

Sourcemodule CreateCapabilityRequest : sig ... end

Instantiates a capability based on the specified parameters. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.