#[non_exhaustive]pub struct CreateTransformerInput {
pub name: Option<String>,
pub file_format: Option<FileFormat>,
pub mapping_template: Option<String>,
pub edi_type: Option<EdiType>,
pub sample_document: Option<String>,
pub client_token: Option<String>,
pub tags: Option<Vec<Tag>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>Specifies the name of the transformer, used to identify it.
file_format: Option<FileFormat>Specifies that the currently supported file formats for EDI transformations are JSON and XML.
mapping_template: Option<String>Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
edi_type: Option<EdiType>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.
sample_document: Option<String>Specifies a sample EDI document that is used by a transformer as a guide for processing the EDI data.
client_token: Option<String>Reserved for future use.
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
Implementations§
source§impl CreateTransformerInput
impl CreateTransformerInput
sourcepub fn file_format(&self) -> Option<&FileFormat>
pub fn file_format(&self) -> Option<&FileFormat>
Specifies that the currently supported file formats for EDI transformations are JSON and XML.
sourcepub fn mapping_template(&self) -> Option<&str>
pub fn mapping_template(&self) -> Option<&str>
Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
sourcepub fn edi_type(&self) -> Option<&EdiType>
pub fn edi_type(&self) -> Option<&EdiType>
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.
sourcepub fn sample_document(&self) -> Option<&str>
pub fn sample_document(&self) -> Option<&str>
Specifies a sample EDI document that is used by a transformer as a guide for processing the EDI data.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Reserved for future use.
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl CreateTransformerInput
impl CreateTransformerInput
sourcepub fn builder() -> CreateTransformerInputBuilder
pub fn builder() -> CreateTransformerInputBuilder
Creates a new builder-style object to manufacture CreateTransformerInput.
Trait Implementations§
source§impl Clone for CreateTransformerInput
impl Clone for CreateTransformerInput
source§fn clone(&self) -> CreateTransformerInput
fn clone(&self) -> CreateTransformerInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateTransformerInput
impl Debug for CreateTransformerInput
source§impl PartialEq for CreateTransformerInput
impl PartialEq for CreateTransformerInput
source§fn eq(&self, other: &CreateTransformerInput) -> bool
fn eq(&self, other: &CreateTransformerInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateTransformerInput
Auto Trait Implementations§
impl Freeze for CreateTransformerInput
impl RefUnwindSafe for CreateTransformerInput
impl Send for CreateTransformerInput
impl Sync for CreateTransformerInput
impl Unpin for CreateTransformerInput
impl UnwindSafe for CreateTransformerInput
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