pub struct TestMappingFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to TestMapping.
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.
Implementations§
source§impl TestMappingFluentBuilder
impl TestMappingFluentBuilder
sourcepub fn as_input(&self) -> &TestMappingInputBuilder
pub fn as_input(&self) -> &TestMappingInputBuilder
Access the TestMapping as a reference.
sourcepub async fn send(
self
) -> Result<TestMappingOutput, SdkError<TestMappingError, HttpResponse>>
pub async fn send( self ) -> Result<TestMappingOutput, SdkError<TestMappingError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<TestMappingOutput, TestMappingError, Self>
pub fn customize( self ) -> CustomizableOperation<TestMappingOutput, TestMappingError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn input_file_content(self, input: impl Into<String>) -> Self
pub fn input_file_content(self, input: impl Into<String>) -> Self
Specify the contents of the EDI (electronic data interchange) XML or JSON file that is used as input for the transform.
sourcepub fn set_input_file_content(self, input: Option<String>) -> Self
pub fn set_input_file_content(self, input: Option<String>) -> Self
Specify the contents of the EDI (electronic data interchange) XML or JSON file that is used as input for the transform.
sourcepub fn get_input_file_content(&self) -> &Option<String>
pub fn get_input_file_content(&self) -> &Option<String>
Specify the contents of the EDI (electronic data interchange) XML or JSON file that is used as input for the transform.
sourcepub fn mapping_template(self, input: impl Into<String>) -> Self
pub fn mapping_template(self, input: impl Into<String>) -> Self
Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
sourcepub fn set_mapping_template(self, input: Option<String>) -> Self
pub fn set_mapping_template(self, input: Option<String>) -> Self
Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
sourcepub fn get_mapping_template(&self) -> &Option<String>
pub fn get_mapping_template(&self) -> &Option<String>
Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
sourcepub fn file_format(self, input: FileFormat) -> Self
pub fn file_format(self, input: FileFormat) -> Self
Specifies that the currently supported file formats for EDI transformations are JSON and XML.
sourcepub fn set_file_format(self, input: Option<FileFormat>) -> Self
pub fn set_file_format(self, input: Option<FileFormat>) -> Self
Specifies that the currently supported file formats for EDI transformations are JSON and XML.
sourcepub fn get_file_format(&self) -> &Option<FileFormat>
pub fn get_file_format(&self) -> &Option<FileFormat>
Specifies that the currently supported file formats for EDI transformations are JSON and XML.
Trait Implementations§
source§impl Clone for TestMappingFluentBuilder
impl Clone for TestMappingFluentBuilder
source§fn clone(&self) -> TestMappingFluentBuilder
fn clone(&self) -> TestMappingFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for TestMappingFluentBuilder
impl !RefUnwindSafe for TestMappingFluentBuilder
impl Send for TestMappingFluentBuilder
impl Sync for TestMappingFluentBuilder
impl Unpin for TestMappingFluentBuilder
impl !UnwindSafe for TestMappingFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more