aws-sdk-b2bi 1.70.0

AWS SDK for AWS B2B Data Interchange
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`TestConversion`](crate::operation::test_conversion::builders::TestConversionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`source(ConversionSource)`](crate::operation::test_conversion::builders::TestConversionFluentBuilder::source) / [`set_source(Option<ConversionSource>)`](crate::operation::test_conversion::builders::TestConversionFluentBuilder::set_source):<br>required: **true**<br><p>Specify the source file for an outbound EDI request.</p><br>
    ///   - [`target(ConversionTarget)`](crate::operation::test_conversion::builders::TestConversionFluentBuilder::target) / [`set_target(Option<ConversionTarget>)`](crate::operation::test_conversion::builders::TestConversionFluentBuilder::set_target):<br>required: **true**<br><p>Specify the format (X12 is the only currently supported format), and other details for the conversion target.</p><br>
    /// - On success, responds with [`TestConversionOutput`](crate::operation::test_conversion::TestConversionOutput) with field(s):
    ///   - [`converted_file_content(String)`](crate::operation::test_conversion::TestConversionOutput::converted_file_content): <p>Returns the converted file content.</p>
    ///   - [`validation_messages(Option<Vec::<String>>)`](crate::operation::test_conversion::TestConversionOutput::validation_messages): <p>Returns an array of strings, each containing a message that Amazon Web Services B2B Data Interchange generates during the conversion.</p>
    /// - On failure, responds with [`SdkError<TestConversionError>`](crate::operation::test_conversion::TestConversionError)
    pub fn test_conversion(&self) -> crate::operation::test_conversion::builders::TestConversionFluentBuilder {
        crate::operation::test_conversion::builders::TestConversionFluentBuilder::new(self.handle.clone())
    }
}