Interface B2BiClient
- All Superinterfaces:
- AutoCloseable,- AwsClient,- SdkAutoCloseable,- SdkClient
builder() method.
 This is the Amazon Web Services B2B Data Interchange API Reference. It provides descriptions, API request parameters, and the XML response for each of the B2BI API actions.
B2BI enables automated exchange of EDI (electronic data interchange) based business-critical transactions at cloud scale, with elasticity and pay-as-you-go pricing. Businesses use EDI documents to exchange transactional data with trading partners, such as suppliers and end customers, using standardized formats such as X12.
 Rather than actually running a command, you can use the --generate-cli-skeleton parameter with any API
 call to generate and display a parameter template. You can then use the generated template to customize and use as
 input on a later command. For details, see Generate
 and use a parameter skeleton file.
 
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String
- 
Method SummaryModifier and TypeMethodDescriptionstatic B2BiClientBuilderbuilder()Create a builder that can be used to configure and create aB2BiClient.static B2BiClientcreate()Create aB2BiClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateCapabilityResponsecreateCapability(Consumer<CreateCapabilityRequest.Builder> createCapabilityRequest) Instantiates a capability based on the specified parameters.default CreateCapabilityResponsecreateCapability(CreateCapabilityRequest createCapabilityRequest) Instantiates a capability based on the specified parameters.default CreatePartnershipResponsecreatePartnership(Consumer<CreatePartnershipRequest.Builder> createPartnershipRequest) Creates a partnership between a customer and a trading partner, based on the supplied parameters.default CreatePartnershipResponsecreatePartnership(CreatePartnershipRequest createPartnershipRequest) Creates a partnership between a customer and a trading partner, based on the supplied parameters.default CreateProfileResponsecreateProfile(Consumer<CreateProfileRequest.Builder> createProfileRequest) Creates a customer profile.default CreateProfileResponsecreateProfile(CreateProfileRequest createProfileRequest) Creates a customer profile.createStarterMappingTemplate(Consumer<CreateStarterMappingTemplateRequest.Builder> createStarterMappingTemplateRequest) 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.createStarterMappingTemplate(CreateStarterMappingTemplateRequest createStarterMappingTemplateRequest) 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.default CreateTransformerResponsecreateTransformer(Consumer<CreateTransformerRequest.Builder> createTransformerRequest) Creates a transformer.default CreateTransformerResponsecreateTransformer(CreateTransformerRequest createTransformerRequest) Creates a transformer.default DeleteCapabilityResponsedeleteCapability(Consumer<DeleteCapabilityRequest.Builder> deleteCapabilityRequest) Deletes the specified capability.default DeleteCapabilityResponsedeleteCapability(DeleteCapabilityRequest deleteCapabilityRequest) Deletes the specified capability.default DeletePartnershipResponsedeletePartnership(Consumer<DeletePartnershipRequest.Builder> deletePartnershipRequest) Deletes the specified partnership.default DeletePartnershipResponsedeletePartnership(DeletePartnershipRequest deletePartnershipRequest) Deletes the specified partnership.default DeleteProfileResponsedeleteProfile(Consumer<DeleteProfileRequest.Builder> deleteProfileRequest) Deletes the specified profile.default DeleteProfileResponsedeleteProfile(DeleteProfileRequest deleteProfileRequest) Deletes the specified profile.default DeleteTransformerResponsedeleteTransformer(Consumer<DeleteTransformerRequest.Builder> deleteTransformerRequest) Deletes the specified transformer.default DeleteTransformerResponsedeleteTransformer(DeleteTransformerRequest deleteTransformerRequest) Deletes the specified transformer.default GenerateMappingResponsegenerateMapping(Consumer<GenerateMappingRequest.Builder> generateMappingRequest) Takes sample input and output documents and uses Amazon Bedrock to generate a mapping automatically.default GenerateMappingResponsegenerateMapping(GenerateMappingRequest generateMappingRequest) Takes sample input and output documents and uses Amazon Bedrock to generate a mapping automatically.default GetCapabilityResponsegetCapability(Consumer<GetCapabilityRequest.Builder> getCapabilityRequest) Retrieves the details for the specified capability.default GetCapabilityResponsegetCapability(GetCapabilityRequest getCapabilityRequest) Retrieves the details for the specified capability.default GetPartnershipResponsegetPartnership(Consumer<GetPartnershipRequest.Builder> getPartnershipRequest) Retrieves the details for a partnership, based on the partner and profile IDs specified.default GetPartnershipResponsegetPartnership(GetPartnershipRequest getPartnershipRequest) Retrieves the details for a partnership, based on the partner and profile IDs specified.default GetProfileResponsegetProfile(Consumer<GetProfileRequest.Builder> getProfileRequest) Retrieves the details for the profile specified by the profile ID.default GetProfileResponsegetProfile(GetProfileRequest getProfileRequest) Retrieves the details for the profile specified by the profile ID.default GetTransformerResponsegetTransformer(Consumer<GetTransformerRequest.Builder> getTransformerRequest) Retrieves the details for the transformer specified by the transformer ID.default GetTransformerResponsegetTransformer(GetTransformerRequest getTransformerRequest) Retrieves the details for the transformer specified by the transformer ID.default GetTransformerJobResponsegetTransformerJob(Consumer<GetTransformerJobRequest.Builder> getTransformerJobRequest) Returns the details of the transformer run, based on the Transformer job ID.default GetTransformerJobResponsegetTransformerJob(GetTransformerJobRequest getTransformerJobRequest) Returns the details of the transformer run, based on the Transformer job ID.default ListCapabilitiesResponselistCapabilities(Consumer<ListCapabilitiesRequest.Builder> listCapabilitiesRequest) Lists the capabilities associated with your Amazon Web Services account for your current or specified region.default ListCapabilitiesResponselistCapabilities(ListCapabilitiesRequest listCapabilitiesRequest) Lists the capabilities associated with your Amazon Web Services account for your current or specified region.default ListCapabilitiesIterablelistCapabilitiesPaginator(Consumer<ListCapabilitiesRequest.Builder> listCapabilitiesRequest) This is a variant oflistCapabilities(software.amazon.awssdk.services.b2bi.model.ListCapabilitiesRequest)operation.default ListCapabilitiesIterablelistCapabilitiesPaginator(ListCapabilitiesRequest listCapabilitiesRequest) This is a variant oflistCapabilities(software.amazon.awssdk.services.b2bi.model.ListCapabilitiesRequest)operation.default ListPartnershipsResponselistPartnerships(Consumer<ListPartnershipsRequest.Builder> listPartnershipsRequest) Lists the partnerships associated with your Amazon Web Services account for your current or specified region.default ListPartnershipsResponselistPartnerships(ListPartnershipsRequest listPartnershipsRequest) Lists the partnerships associated with your Amazon Web Services account for your current or specified region.default ListPartnershipsIterablelistPartnershipsPaginator(Consumer<ListPartnershipsRequest.Builder> listPartnershipsRequest) This is a variant oflistPartnerships(software.amazon.awssdk.services.b2bi.model.ListPartnershipsRequest)operation.default ListPartnershipsIterablelistPartnershipsPaginator(ListPartnershipsRequest listPartnershipsRequest) This is a variant oflistPartnerships(software.amazon.awssdk.services.b2bi.model.ListPartnershipsRequest)operation.default ListProfilesResponselistProfiles(Consumer<ListProfilesRequest.Builder> listProfilesRequest) Lists the profiles associated with your Amazon Web Services account for your current or specified region.default ListProfilesResponselistProfiles(ListProfilesRequest listProfilesRequest) Lists the profiles associated with your Amazon Web Services account for your current or specified region.default ListProfilesIterablelistProfilesPaginator(Consumer<ListProfilesRequest.Builder> listProfilesRequest) This is a variant oflistProfiles(software.amazon.awssdk.services.b2bi.model.ListProfilesRequest)operation.default ListProfilesIterablelistProfilesPaginator(ListProfilesRequest listProfilesRequest) This is a variant oflistProfiles(software.amazon.awssdk.services.b2bi.model.ListProfilesRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify.default ListTransformersResponselistTransformers(Consumer<ListTransformersRequest.Builder> listTransformersRequest) Lists the available transformers.default ListTransformersResponselistTransformers(ListTransformersRequest listTransformersRequest) Lists the available transformers.default ListTransformersIterablelistTransformersPaginator(Consumer<ListTransformersRequest.Builder> listTransformersRequest) This is a variant oflistTransformers(software.amazon.awssdk.services.b2bi.model.ListTransformersRequest)operation.default ListTransformersIterablelistTransformersPaginator(ListTransformersRequest listTransformersRequest) This is a variant oflistTransformers(software.amazon.awssdk.services.b2bi.model.ListTransformersRequest)operation.default B2BiServiceClientConfigurationThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault StartTransformerJobResponsestartTransformerJob(Consumer<StartTransformerJobRequest.Builder> startTransformerJobRequest) 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.default StartTransformerJobResponsestartTransformerJob(StartTransformerJobRequest startTransformerJobRequest) 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.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN).default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN).default TestConversionResponsetestConversion(Consumer<TestConversionRequest.Builder> testConversionRequest) This operation mimics the latter half of a typical Outbound EDI request.default TestConversionResponsetestConversion(TestConversionRequest testConversionRequest) This operation mimics the latter half of a typical Outbound EDI request.default TestMappingResponsetestMapping(Consumer<TestMappingRequest.Builder> testMappingRequest) Maps the input file according to the provided template file.default TestMappingResponsetestMapping(TestMappingRequest testMappingRequest) Maps the input file according to the provided template file.default TestParsingResponsetestParsing(Consumer<TestParsingRequest.Builder> testParsingRequest) Parses the input EDI (electronic data interchange) file.default TestParsingResponsetestParsing(TestParsingRequest testParsingRequest) Parses the input EDI (electronic data interchange) file.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Detaches a key-value pair from the specified resource, as identified by its Amazon Resource Name (ARN).default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Detaches a key-value pair from the specified resource, as identified by its Amazon Resource Name (ARN).default UpdateCapabilityResponseupdateCapability(Consumer<UpdateCapabilityRequest.Builder> updateCapabilityRequest) Updates some of the parameters for a capability, based on the specified parameters.default UpdateCapabilityResponseupdateCapability(UpdateCapabilityRequest updateCapabilityRequest) Updates some of the parameters for a capability, based on the specified parameters.default UpdatePartnershipResponseupdatePartnership(Consumer<UpdatePartnershipRequest.Builder> updatePartnershipRequest) Updates some of the parameters for a partnership between a customer and trading partner.default UpdatePartnershipResponseupdatePartnership(UpdatePartnershipRequest updatePartnershipRequest) Updates some of the parameters for a partnership between a customer and trading partner.default UpdateProfileResponseupdateProfile(Consumer<UpdateProfileRequest.Builder> updateProfileRequest) Updates the specified parameters for a profile.default UpdateProfileResponseupdateProfile(UpdateProfileRequest updateProfileRequest) Updates the specified parameters for a profile.default UpdateTransformerResponseupdateTransformer(Consumer<UpdateTransformerRequest.Builder> updateTransformerRequest) Updates the specified parameters for a transformer.default UpdateTransformerResponseupdateTransformer(UpdateTransformerRequest updateTransformerRequest) Updates the specified parameters for a transformer.default B2BiWaiterwaiter()Create an instance ofB2BiWaiterusing this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseablecloseMethods inherited from interface software.amazon.awssdk.core.SdkClientserviceName
- 
Field Details- 
SERVICE_NAME- See Also:
 
- 
SERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.- See Also:
 
 
- 
- 
Method Details- 
createCapabilitydefault CreateCapabilityResponse createCapability(CreateCapabilityRequest createCapabilityRequest) throws AccessDeniedException, ConflictException, ValidationException, ThrottlingException, ResourceNotFoundException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. - Parameters:
- createCapabilityRequest-
- Returns:
- Result of the CreateCapability operation returned by the service.
- See Also:
 
- 
createCapabilitydefault CreateCapabilityResponse createCapability(Consumer<CreateCapabilityRequest.Builder> createCapabilityRequest) throws AccessDeniedException, ConflictException, ValidationException, ThrottlingException, ResourceNotFoundException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. 
 This is a convenience which creates an instance of the CreateCapabilityRequest.Builderavoiding the need to create one manually viaCreateCapabilityRequest.builder()- Parameters:
- createCapabilityRequest- A- Consumerthat will call methods on- CreateCapabilityRequest.Builderto create a request.
- Returns:
- Result of the CreateCapability operation returned by the service.
- See Also:
 
- 
createPartnershipdefault CreatePartnershipResponse createPartnership(CreatePartnershipRequest createPartnershipRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. - Parameters:
- createPartnershipRequest-
- Returns:
- Result of the CreatePartnership operation returned by the service.
- See Also:
 
- 
createPartnershipdefault CreatePartnershipResponse createPartnership(Consumer<CreatePartnershipRequest.Builder> createPartnershipRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. 
 This is a convenience which creates an instance of the CreatePartnershipRequest.Builderavoiding the need to create one manually viaCreatePartnershipRequest.builder()- Parameters:
- createPartnershipRequest- A- Consumerthat will call methods on- CreatePartnershipRequest.Builderto create a request.
- Returns:
- Result of the CreatePartnership operation returned by the service.
- See Also:
 
- 
createProfiledefault CreateProfileResponse createProfile(CreateProfileRequest createProfileRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. - Parameters:
- createProfileRequest-
- Returns:
- Result of the CreateProfile operation returned by the service.
- See Also:
 
- 
createProfiledefault CreateProfileResponse createProfile(Consumer<CreateProfileRequest.Builder> createProfileRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. 
 This is a convenience which creates an instance of the CreateProfileRequest.Builderavoiding the need to create one manually viaCreateProfileRequest.builder()- Parameters:
- createProfileRequest- A- Consumerthat will call methods on- CreateProfileRequest.Builderto create a request.
- Returns:
- Result of the CreateProfile operation returned by the service.
- See Also:
 
- 
createStarterMappingTemplatedefault CreateStarterMappingTemplateResponse createStarterMappingTemplate(CreateStarterMappingTemplateRequest createStarterMappingTemplateRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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 templateDetailsparameter.Currently, we only support generating a template that can generate the input to produce an Outbound X12 EDI file. - Parameters:
- createStarterMappingTemplateRequest-
- Returns:
- Result of the CreateStarterMappingTemplate operation returned by the service.
- See Also:
 
- 
createStarterMappingTemplatedefault CreateStarterMappingTemplateResponse createStarterMappingTemplate(Consumer<CreateStarterMappingTemplateRequest.Builder> createStarterMappingTemplateRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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 templateDetailsparameter.Currently, we only support generating a template that can generate the input to produce an Outbound X12 EDI file. 
 This is a convenience which creates an instance of the CreateStarterMappingTemplateRequest.Builderavoiding the need to create one manually viaCreateStarterMappingTemplateRequest.builder()- Parameters:
- createStarterMappingTemplateRequest- A- Consumerthat will call methods on- CreateStarterMappingTemplateRequest.Builderto create a request.
- Returns:
- Result of the CreateStarterMappingTemplate operation returned by the service.
- See Also:
 
- 
createTransformerdefault CreateTransformerResponse createTransformer(CreateTransformerRequest createTransformerRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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, andsampleDocument.- 
 Use the mappingdata type in place ofmappingTemplateandfileFormat
- 
 Use the sampleDocumentsdata type in place ofsampleDocument
- 
 Use either the inputConversionoroutputConversionin place ofediType
 - Parameters:
- createTransformerRequest-
- Returns:
- Result of the CreateTransformer operation returned by the service.
- See Also:
 
- 
 
- 
createTransformerdefault CreateTransformerResponse createTransformer(Consumer<CreateTransformerRequest.Builder> createTransformerRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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, andsampleDocument.- 
 Use the mappingdata type in place ofmappingTemplateandfileFormat
- 
 Use the sampleDocumentsdata type in place ofsampleDocument
- 
 Use either the inputConversionoroutputConversionin place ofediType
 
 This is a convenience which creates an instance of the CreateTransformerRequest.Builderavoiding the need to create one manually viaCreateTransformerRequest.builder()- Parameters:
- createTransformerRequest- A- Consumerthat will call methods on- CreateTransformerRequest.Builderto create a request.
- Returns:
- Result of the CreateTransformer operation returned by the service.
- See Also:
 
- 
 
- 
deleteCapabilitydefault DeleteCapabilityResponse deleteCapability(DeleteCapabilityRequest deleteCapabilityRequest) throws AccessDeniedException, ConflictException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException Deletes the specified capability. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs. - Parameters:
- deleteCapabilityRequest-
- Returns:
- Result of the DeleteCapability operation returned by the service.
- See Also:
 
- 
deleteCapabilitydefault DeleteCapabilityResponse deleteCapability(Consumer<DeleteCapabilityRequest.Builder> deleteCapabilityRequest) throws AccessDeniedException, ConflictException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException Deletes the specified capability. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs. 
 This is a convenience which creates an instance of the DeleteCapabilityRequest.Builderavoiding the need to create one manually viaDeleteCapabilityRequest.builder()- Parameters:
- deleteCapabilityRequest- A- Consumerthat will call methods on- DeleteCapabilityRequest.Builderto create a request.
- Returns:
- Result of the DeleteCapability operation returned by the service.
- See Also:
 
- 
deletePartnershipdefault DeletePartnershipResponse deletePartnership(DeletePartnershipRequest deletePartnershipRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. - Parameters:
- deletePartnershipRequest-
- Returns:
- Result of the DeletePartnership operation returned by the service.
- See Also:
 
- 
deletePartnershipdefault DeletePartnershipResponse deletePartnership(Consumer<DeletePartnershipRequest.Builder> deletePartnershipRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. 
 This is a convenience which creates an instance of the DeletePartnershipRequest.Builderavoiding the need to create one manually viaDeletePartnershipRequest.builder()- Parameters:
- deletePartnershipRequest- A- Consumerthat will call methods on- DeletePartnershipRequest.Builderto create a request.
- Returns:
- Result of the DeletePartnership operation returned by the service.
- See Also:
 
- 
deleteProfiledefault DeleteProfileResponse deleteProfile(DeleteProfileRequest deleteProfileRequest) throws ConflictException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException Deletes the specified profile. A profile is the mechanism used to create the concept of a private network. - Parameters:
- deleteProfileRequest-
- Returns:
- Result of the DeleteProfile operation returned by the service.
- See Also:
 
- 
deleteProfiledefault DeleteProfileResponse deleteProfile(Consumer<DeleteProfileRequest.Builder> deleteProfileRequest) throws ConflictException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException Deletes the specified profile. A profile is the mechanism used to create the concept of a private network. 
 This is a convenience which creates an instance of the DeleteProfileRequest.Builderavoiding the need to create one manually viaDeleteProfileRequest.builder()- Parameters:
- deleteProfileRequest- A- Consumerthat will call methods on- DeleteProfileRequest.Builderto create a request.
- Returns:
- Result of the DeleteProfile operation returned by the service.
- See Also:
 
- 
deleteTransformerdefault DeleteTransformerResponse deleteTransformer(DeleteTransformerRequest deleteTransformerRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. - Parameters:
- deleteTransformerRequest-
- Returns:
- Result of the DeleteTransformer operation returned by the service.
- See Also:
 
- 
deleteTransformerdefault DeleteTransformerResponse deleteTransformer(Consumer<DeleteTransformerRequest.Builder> deleteTransformerRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. 
 This is a convenience which creates an instance of the DeleteTransformerRequest.Builderavoiding the need to create one manually viaDeleteTransformerRequest.builder()- Parameters:
- deleteTransformerRequest- A- Consumerthat will call methods on- DeleteTransformerRequest.Builderto create a request.
- Returns:
- Result of the DeleteTransformer operation returned by the service.
- See Also:
 
- 
generateMappingdefault GenerateMappingResponse generateMapping(GenerateMappingRequest generateMappingRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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 TestMappingusing your EDI document.
- 
 Use the output from the TestMappingoperation as either input or output for your GenerateMapping call, along with your sample file.
 - Parameters:
- generateMappingRequest-
- Returns:
- Result of the GenerateMapping operation returned by the service.
- See Also:
 
- 
 
- 
generateMappingdefault GenerateMappingResponse generateMapping(Consumer<GenerateMappingRequest.Builder> generateMappingRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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 TestMappingusing your EDI document.
- 
 Use the output from the TestMappingoperation as either input or output for your GenerateMapping call, along with your sample file.
 
 This is a convenience which creates an instance of the GenerateMappingRequest.Builderavoiding the need to create one manually viaGenerateMappingRequest.builder()- Parameters:
- generateMappingRequest- A- Consumerthat will call methods on- GenerateMappingRequest.Builderto create a request.
- Returns:
- Result of the GenerateMapping operation returned by the service.
- See Also:
 
- 
 
- 
getCapabilitydefault GetCapabilityResponse getCapability(GetCapabilityRequest getCapabilityRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException Retrieves the details for the specified capability. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs. - Parameters:
- getCapabilityRequest-
- Returns:
- Result of the GetCapability operation returned by the service.
- See Also:
 
- 
getCapabilitydefault GetCapabilityResponse getCapability(Consumer<GetCapabilityRequest.Builder> getCapabilityRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException Retrieves the details for the specified capability. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs. 
 This is a convenience which creates an instance of the GetCapabilityRequest.Builderavoiding the need to create one manually viaGetCapabilityRequest.builder()- Parameters:
- getCapabilityRequest- A- Consumerthat will call methods on- GetCapabilityRequest.Builderto create a request.
- Returns:
- Result of the GetCapability operation returned by the service.
- See Also:
 
- 
getPartnershipdefault GetPartnershipResponse getPartnership(GetPartnershipRequest getPartnershipRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. - Parameters:
- getPartnershipRequest-
- Returns:
- Result of the GetPartnership operation returned by the service.
- See Also:
 
- 
getPartnershipdefault GetPartnershipResponse getPartnership(Consumer<GetPartnershipRequest.Builder> getPartnershipRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. 
 This is a convenience which creates an instance of the GetPartnershipRequest.Builderavoiding the need to create one manually viaGetPartnershipRequest.builder()- Parameters:
- getPartnershipRequest- A- Consumerthat will call methods on- GetPartnershipRequest.Builderto create a request.
- Returns:
- Result of the GetPartnership operation returned by the service.
- See Also:
 
- 
getProfiledefault GetProfileResponse getProfile(GetProfileRequest getProfileRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. - Parameters:
- getProfileRequest-
- Returns:
- Result of the GetProfile operation returned by the service.
- See Also:
 
- 
getProfiledefault GetProfileResponse getProfile(Consumer<GetProfileRequest.Builder> getProfileRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. 
 This is a convenience which creates an instance of the GetProfileRequest.Builderavoiding the need to create one manually viaGetProfileRequest.builder()- Parameters:
- getProfileRequest- A- Consumerthat will call methods on- GetProfileRequest.Builderto create a request.
- Returns:
- Result of the GetProfile operation returned by the service.
- See Also:
 
- 
getTransformerdefault GetTransformerResponse getTransformer(GetTransformerRequest getTransformerRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. - Parameters:
- getTransformerRequest-
- Returns:
- Result of the GetTransformer operation returned by the service.
- See Also:
 
- 
getTransformerdefault GetTransformerResponse getTransformer(Consumer<GetTransformerRequest.Builder> getTransformerRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. 
 This is a convenience which creates an instance of the GetTransformerRequest.Builderavoiding the need to create one manually viaGetTransformerRequest.builder()- Parameters:
- getTransformerRequest- A- Consumerthat will call methods on- GetTransformerRequest.Builderto create a request.
- Returns:
- Result of the GetTransformer operation returned by the service.
- See Also:
 
- 
getTransformerJobdefault GetTransformerJobResponse getTransformerJob(GetTransformerJobRequest getTransformerJobRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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 GetTransformerJoband supply atransformerIdandtransformerJobIdfor a job that was started more than 30 days previously, you receive a 404 response.- Parameters:
- getTransformerJobRequest-
- Returns:
- Result of the GetTransformerJob operation returned by the service.
- See Also:
 
- 
getTransformerJobdefault GetTransformerJobResponse getTransformerJob(Consumer<GetTransformerJobRequest.Builder> getTransformerJobRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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 GetTransformerJoband supply atransformerIdandtransformerJobIdfor a job that was started more than 30 days previously, you receive a 404 response.
 This is a convenience which creates an instance of the GetTransformerJobRequest.Builderavoiding the need to create one manually viaGetTransformerJobRequest.builder()- Parameters:
- getTransformerJobRequest- A- Consumerthat will call methods on- GetTransformerJobRequest.Builderto create a request.
- Returns:
- Result of the GetTransformerJob operation returned by the service.
- See Also:
 
- 
listCapabilitiesdefault ListCapabilitiesResponse listCapabilities(ListCapabilitiesRequest listCapabilitiesRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. - Parameters:
- listCapabilitiesRequest-
- Returns:
- Result of the ListCapabilities operation returned by the service.
- See Also:
 
- 
listCapabilitiesdefault ListCapabilitiesResponse listCapabilities(Consumer<ListCapabilitiesRequest.Builder> listCapabilitiesRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. 
 This is a convenience which creates an instance of the ListCapabilitiesRequest.Builderavoiding the need to create one manually viaListCapabilitiesRequest.builder()- Parameters:
- listCapabilitiesRequest- A- Consumerthat will call methods on- ListCapabilitiesRequest.Builderto create a request.
- Returns:
- Result of the ListCapabilities operation returned by the service.
- See Also:
 
- 
listCapabilitiesPaginatordefault ListCapabilitiesIterable listCapabilitiesPaginator(ListCapabilitiesRequest listCapabilitiesRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException This is a variant of listCapabilities(software.amazon.awssdk.services.b2bi.model.ListCapabilitiesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.b2bi.paginators.ListCapabilitiesIterable responses = client.listCapabilitiesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.b2bi.paginators.ListCapabilitiesIterable responses = client .listCapabilitiesPaginator(request); for (software.amazon.awssdk.services.b2bi.model.ListCapabilitiesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.b2bi.paginators.ListCapabilitiesIterable responses = client.listCapabilitiesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listCapabilities(software.amazon.awssdk.services.b2bi.model.ListCapabilitiesRequest)operation.- Parameters:
- listCapabilitiesRequest-
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listCapabilitiesPaginatordefault ListCapabilitiesIterable listCapabilitiesPaginator(Consumer<ListCapabilitiesRequest.Builder> listCapabilitiesRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException This is a variant of listCapabilities(software.amazon.awssdk.services.b2bi.model.ListCapabilitiesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.b2bi.paginators.ListCapabilitiesIterable responses = client.listCapabilitiesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.b2bi.paginators.ListCapabilitiesIterable responses = client .listCapabilitiesPaginator(request); for (software.amazon.awssdk.services.b2bi.model.ListCapabilitiesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.b2bi.paginators.ListCapabilitiesIterable responses = client.listCapabilitiesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listCapabilities(software.amazon.awssdk.services.b2bi.model.ListCapabilitiesRequest)operation.
 This is a convenience which creates an instance of the ListCapabilitiesRequest.Builderavoiding the need to create one manually viaListCapabilitiesRequest.builder()- Parameters:
- listCapabilitiesRequest- A- Consumerthat will call methods on- ListCapabilitiesRequest.Builderto create a request.
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listPartnershipsdefault ListPartnershipsResponse listPartnerships(ListPartnershipsRequest listPartnershipsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. - Parameters:
- listPartnershipsRequest-
- Returns:
- Result of the ListPartnerships operation returned by the service.
- See Also:
 
- 
listPartnershipsdefault ListPartnershipsResponse listPartnerships(Consumer<ListPartnershipsRequest.Builder> listPartnershipsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. 
 This is a convenience which creates an instance of the ListPartnershipsRequest.Builderavoiding the need to create one manually viaListPartnershipsRequest.builder()- Parameters:
- listPartnershipsRequest- A- Consumerthat will call methods on- ListPartnershipsRequest.Builderto create a request.
- Returns:
- Result of the ListPartnerships operation returned by the service.
- See Also:
 
- 
listPartnershipsPaginatordefault ListPartnershipsIterable listPartnershipsPaginator(ListPartnershipsRequest listPartnershipsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException This is a variant of listPartnerships(software.amazon.awssdk.services.b2bi.model.ListPartnershipsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.b2bi.paginators.ListPartnershipsIterable responses = client.listPartnershipsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.b2bi.paginators.ListPartnershipsIterable responses = client .listPartnershipsPaginator(request); for (software.amazon.awssdk.services.b2bi.model.ListPartnershipsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.b2bi.paginators.ListPartnershipsIterable responses = client.listPartnershipsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listPartnerships(software.amazon.awssdk.services.b2bi.model.ListPartnershipsRequest)operation.- Parameters:
- listPartnershipsRequest-
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listPartnershipsPaginatordefault ListPartnershipsIterable listPartnershipsPaginator(Consumer<ListPartnershipsRequest.Builder> listPartnershipsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException This is a variant of listPartnerships(software.amazon.awssdk.services.b2bi.model.ListPartnershipsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.b2bi.paginators.ListPartnershipsIterable responses = client.listPartnershipsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.b2bi.paginators.ListPartnershipsIterable responses = client .listPartnershipsPaginator(request); for (software.amazon.awssdk.services.b2bi.model.ListPartnershipsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.b2bi.paginators.ListPartnershipsIterable responses = client.listPartnershipsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listPartnerships(software.amazon.awssdk.services.b2bi.model.ListPartnershipsRequest)operation.
 This is a convenience which creates an instance of the ListPartnershipsRequest.Builderavoiding the need to create one manually viaListPartnershipsRequest.builder()- Parameters:
- listPartnershipsRequest- A- Consumerthat will call methods on- ListPartnershipsRequest.Builderto create a request.
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listProfilesdefault ListProfilesResponse listProfiles(ListProfilesRequest listProfilesRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. - Parameters:
- listProfilesRequest-
- Returns:
- Result of the ListProfiles operation returned by the service.
- See Also:
 
- 
listProfilesdefault ListProfilesResponse listProfiles(Consumer<ListProfilesRequest.Builder> listProfilesRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. 
 This is a convenience which creates an instance of the ListProfilesRequest.Builderavoiding the need to create one manually viaListProfilesRequest.builder()- Parameters:
- listProfilesRequest- A- Consumerthat will call methods on- ListProfilesRequest.Builderto create a request.
- Returns:
- Result of the ListProfiles operation returned by the service.
- See Also:
 
- 
listProfilesPaginatordefault ListProfilesIterable listProfilesPaginator(ListProfilesRequest listProfilesRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException This is a variant of listProfiles(software.amazon.awssdk.services.b2bi.model.ListProfilesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.b2bi.paginators.ListProfilesIterable responses = client.listProfilesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.b2bi.paginators.ListProfilesIterable responses = client.listProfilesPaginator(request); for (software.amazon.awssdk.services.b2bi.model.ListProfilesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.b2bi.paginators.ListProfilesIterable responses = client.listProfilesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listProfiles(software.amazon.awssdk.services.b2bi.model.ListProfilesRequest)operation.- Parameters:
- listProfilesRequest-
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listProfilesPaginatordefault ListProfilesIterable listProfilesPaginator(Consumer<ListProfilesRequest.Builder> listProfilesRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException This is a variant of listProfiles(software.amazon.awssdk.services.b2bi.model.ListProfilesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.b2bi.paginators.ListProfilesIterable responses = client.listProfilesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.b2bi.paginators.ListProfilesIterable responses = client.listProfilesPaginator(request); for (software.amazon.awssdk.services.b2bi.model.ListProfilesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.b2bi.paginators.ListProfilesIterable responses = client.listProfilesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listProfiles(software.amazon.awssdk.services.b2bi.model.ListProfilesRequest)operation.
 This is a convenience which creates an instance of the ListProfilesRequest.Builderavoiding the need to create one manually viaListProfilesRequest.builder()- Parameters:
- listProfilesRequest- A- Consumerthat will call methods on- ListProfilesRequest.Builderto create a request.
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listTagsForResourcedefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. - Parameters:
- listTagsForResourceRequest-
- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
 
- 
listTagsForResourcedefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. 
 This is a convenience which creates an instance of the ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
- listTagsForResourceRequest- A- Consumerthat will call methods on- ListTagsForResourceRequest.Builderto create a request.
- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
 
- 
listTransformersdefault ListTransformersResponse listTransformers(ListTransformersRequest listTransformersRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. - Parameters:
- listTransformersRequest-
- Returns:
- Result of the ListTransformers operation returned by the service.
- See Also:
 
- 
listTransformersdefault ListTransformersResponse listTransformers(Consumer<ListTransformersRequest.Builder> listTransformersRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. 
 This is a convenience which creates an instance of the ListTransformersRequest.Builderavoiding the need to create one manually viaListTransformersRequest.builder()- Parameters:
- listTransformersRequest- A- Consumerthat will call methods on- ListTransformersRequest.Builderto create a request.
- Returns:
- Result of the ListTransformers operation returned by the service.
- See Also:
 
- 
listTransformersPaginatordefault ListTransformersIterable listTransformersPaginator(ListTransformersRequest listTransformersRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException This is a variant of listTransformers(software.amazon.awssdk.services.b2bi.model.ListTransformersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.b2bi.paginators.ListTransformersIterable responses = client.listTransformersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.b2bi.paginators.ListTransformersIterable responses = client .listTransformersPaginator(request); for (software.amazon.awssdk.services.b2bi.model.ListTransformersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.b2bi.paginators.ListTransformersIterable responses = client.listTransformersPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listTransformers(software.amazon.awssdk.services.b2bi.model.ListTransformersRequest)operation.- Parameters:
- listTransformersRequest-
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listTransformersPaginatordefault ListTransformersIterable listTransformersPaginator(Consumer<ListTransformersRequest.Builder> listTransformersRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException This is a variant of listTransformers(software.amazon.awssdk.services.b2bi.model.ListTransformersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.b2bi.paginators.ListTransformersIterable responses = client.listTransformersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.b2bi.paginators.ListTransformersIterable responses = client .listTransformersPaginator(request); for (software.amazon.awssdk.services.b2bi.model.ListTransformersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.b2bi.paginators.ListTransformersIterable responses = client.listTransformersPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listTransformers(software.amazon.awssdk.services.b2bi.model.ListTransformersRequest)operation.
 This is a convenience which creates an instance of the ListTransformersRequest.Builderavoiding the need to create one manually viaListTransformersRequest.builder()- Parameters:
- listTransformersRequest- A- Consumerthat will call methods on- ListTransformersRequest.Builderto create a request.
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
startTransformerJobdefault StartTransformerJobResponse startTransformerJob(StartTransformerJobRequest startTransformerJobRequest) throws AccessDeniedException, ConflictException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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 StartTransformerJobAPI to process your files.The system stores transformer jobs for 30 days. During that period, you can run GetTransformerJob and supply its transformerIdandtransformerJobIdto return details of the job.- Parameters:
- startTransformerJobRequest-
- Returns:
- Result of the StartTransformerJob operation returned by the service.
- See Also:
 
- 
startTransformerJobdefault StartTransformerJobResponse startTransformerJob(Consumer<StartTransformerJobRequest.Builder> startTransformerJobRequest) throws AccessDeniedException, ConflictException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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 StartTransformerJobAPI to process your files.The system stores transformer jobs for 30 days. During that period, you can run GetTransformerJob and supply its transformerIdandtransformerJobIdto return details of the job.
 This is a convenience which creates an instance of the StartTransformerJobRequest.Builderavoiding the need to create one manually viaStartTransformerJobRequest.builder()- Parameters:
- startTransformerJobRequest- A- Consumerthat will call methods on- StartTransformerJobRequest.Builderto create a request.
- Returns:
- Result of the StartTransformerJob operation returned by the service.
- See Also:
 
- 
tagResourcedefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. - Parameters:
- tagResourceRequest-
- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
 
- 
tagResourcedefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. 
 This is a convenience which creates an instance of the TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
- tagResourceRequest- A- Consumerthat will call methods on- TagResourceRequest.Builderto create a request.
- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
 
- 
testConversiondefault TestConversionResponse testConversion(TestConversionRequest testConversionRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. - Parameters:
- testConversionRequest-
- Returns:
- Result of the TestConversion operation returned by the service.
- See Also:
 
- 
testConversiondefault TestConversionResponse testConversion(Consumer<TestConversionRequest.Builder> testConversionRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. 
 This is a convenience which creates an instance of the TestConversionRequest.Builderavoiding the need to create one manually viaTestConversionRequest.builder()- Parameters:
- testConversionRequest- A- Consumerthat will call methods on- TestConversionRequest.Builderto create a request.
- Returns:
- Result of the TestConversion operation returned by the service.
- See Also:
 
- 
testMappingdefault TestMappingResponse testMapping(TestMappingRequest testMappingRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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 inputFileContentparameter.- Parameters:
- testMappingRequest-
- Returns:
- Result of the TestMapping operation returned by the service.
- See Also:
 
- 
testMappingdefault TestMappingResponse testMapping(Consumer<TestMappingRequest.Builder> testMappingRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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 inputFileContentparameter.
 This is a convenience which creates an instance of the TestMappingRequest.Builderavoiding the need to create one manually viaTestMappingRequest.builder()- Parameters:
- testMappingRequest- A- Consumerthat will call methods on- TestMappingRequest.Builderto create a request.
- Returns:
- Result of the TestMapping operation returned by the service.
- See Also:
 
- 
testParsingdefault TestParsingResponse testParsing(TestParsingRequest testParsingRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException Parses the input EDI (electronic data interchange) file. The input file has a file size limit of 250 KB. - Parameters:
- testParsingRequest-
- Returns:
- Result of the TestParsing operation returned by the service.
- See Also:
 
- 
testParsingdefault TestParsingResponse testParsing(Consumer<TestParsingRequest.Builder> testParsingRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException Parses the input EDI (electronic data interchange) file. The input file has a file size limit of 250 KB. 
 This is a convenience which creates an instance of the TestParsingRequest.Builderavoiding the need to create one manually viaTestParsingRequest.builder()- Parameters:
- testParsingRequest- A- Consumerthat will call methods on- TestParsingRequest.Builderto create a request.
- Returns:
- Result of the TestParsing operation returned by the service.
- See Also:
 
- 
untagResourcedefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. - Parameters:
- untagResourceRequest-
- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
 
- 
untagResourcedefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. 
 This is a convenience which creates an instance of the UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
- untagResourceRequest- A- Consumerthat will call methods on- UntagResourceRequest.Builderto create a request.
- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
 
- 
updateCapabilitydefault UpdateCapabilityResponse updateCapability(UpdateCapabilityRequest updateCapabilityRequest) throws AccessDeniedException, ConflictException, ValidationException, ThrottlingException, ResourceNotFoundException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. - Parameters:
- updateCapabilityRequest-
- Returns:
- Result of the UpdateCapability operation returned by the service.
- See Also:
 
- 
updateCapabilitydefault UpdateCapabilityResponse updateCapability(Consumer<UpdateCapabilityRequest.Builder> updateCapabilityRequest) throws AccessDeniedException, ConflictException, ValidationException, ThrottlingException, ResourceNotFoundException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. 
 This is a convenience which creates an instance of the UpdateCapabilityRequest.Builderavoiding the need to create one manually viaUpdateCapabilityRequest.builder()- Parameters:
- updateCapabilityRequest- A- Consumerthat will call methods on- UpdateCapabilityRequest.Builderto create a request.
- Returns:
- Result of the UpdateCapability operation returned by the service.
- See Also:
 
- 
updatePartnershipdefault UpdatePartnershipResponse updatePartnership(UpdatePartnershipRequest updatePartnershipRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. - Parameters:
- updatePartnershipRequest-
- Returns:
- Result of the UpdatePartnership operation returned by the service.
- See Also:
 
- 
updatePartnershipdefault UpdatePartnershipResponse updatePartnership(Consumer<UpdatePartnershipRequest.Builder> updatePartnershipRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. 
 This is a convenience which creates an instance of the UpdatePartnershipRequest.Builderavoiding the need to create one manually viaUpdatePartnershipRequest.builder()- Parameters:
- updatePartnershipRequest- A- Consumerthat will call methods on- UpdatePartnershipRequest.Builderto create a request.
- Returns:
- Result of the UpdatePartnership operation returned by the service.
- See Also:
 
- 
updateProfiledefault UpdateProfileResponse updateProfile(UpdateProfileRequest updateProfileRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, B2BiException Updates the specified parameters for a profile. A profile is the mechanism used to create the concept of a private network. - Parameters:
- updateProfileRequest-
- Returns:
- Result of the UpdateProfile operation returned by the service.
- See Also:
 
- 
updateProfiledefault UpdateProfileResponse updateProfile(Consumer<UpdateProfileRequest.Builder> updateProfileRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, B2BiException Updates the specified parameters for a profile. A profile is the mechanism used to create the concept of a private network. 
 This is a convenience which creates an instance of the UpdateProfileRequest.Builderavoiding the need to create one manually viaUpdateProfileRequest.builder()- Parameters:
- updateProfileRequest- A- Consumerthat will call methods on- UpdateProfileRequest.Builderto create a request.
- Returns:
- Result of the UpdateProfile operation returned by the service.
- See Also:
 
- 
updateTransformerdefault UpdateTransformerResponse updateTransformer(UpdateTransformerRequest updateTransformerRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. - Parameters:
- updateTransformerRequest-
- Returns:
- Result of the UpdateTransformer operation returned by the service.
- See Also:
 
- 
updateTransformerdefault UpdateTransformerResponse updateTransformer(Consumer<UpdateTransformerRequest.Builder> updateTransformerRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, B2BiException 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. 
 This is a convenience which creates an instance of the UpdateTransformerRequest.Builderavoiding the need to create one manually viaUpdateTransformerRequest.builder()- Parameters:
- updateTransformerRequest- A- Consumerthat will call methods on- UpdateTransformerRequest.Builderto create a request.
- Returns:
- Result of the UpdateTransformer operation returned by the service.
- See Also:
 
- 
waiterCreate an instance ofB2BiWaiterusing this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed. - Returns:
- an instance of B2BiWaiter
 
- 
createCreate aB2BiClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
- 
builderCreate a builder that can be used to configure and create aB2BiClient.
- 
serviceMetadata
- 
serviceClientConfigurationDescription copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
- serviceClientConfigurationin interface- AwsClient
- Specified by:
- serviceClientConfigurationin interface- SdkClient
- Returns:
- SdkServiceClientConfiguration
 
 
-