#[non_exhaustive]pub struct CreateTransformerOutput {
pub transformer_id: String,
pub transformer_arn: String,
pub name: String,
pub file_format: FileFormat,
pub mapping_template: String,
pub status: TransformerStatus,
pub edi_type: Option<EdiType>,
pub sample_document: Option<String>,
pub created_at: DateTime,
/* private fields */
}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.transformer_id: StringReturns the system-assigned unique identifier for the transformer.
transformer_arn: StringReturns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
name: StringReturns the name of the transformer, used to identify it.
file_format: FileFormatReturns that the currently supported file formats for EDI transformations are JSON and XML.
mapping_template: StringReturns the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
status: TransformerStatusReturns the state of the newly created transformer. The transformer can be either active or inactive. For the transformer to be used in a capability, its status must active.
edi_type: Option<EdiType>Returns 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>Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
created_at: DateTimeReturns a timestamp for creation date and time of the transformer.
Implementations§
source§impl CreateTransformerOutput
impl CreateTransformerOutput
sourcepub fn transformer_id(&self) -> &str
pub fn transformer_id(&self) -> &str
Returns the system-assigned unique identifier for the transformer.
sourcepub fn transformer_arn(&self) -> &str
pub fn transformer_arn(&self) -> &str
Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
sourcepub fn file_format(&self) -> &FileFormat
pub fn file_format(&self) -> &FileFormat
Returns that the currently supported file formats for EDI transformations are JSON and XML.
sourcepub fn mapping_template(&self) -> &str
pub fn mapping_template(&self) -> &str
Returns the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
sourcepub fn status(&self) -> &TransformerStatus
pub fn status(&self) -> &TransformerStatus
Returns the state of the newly created transformer. The transformer can be either active or inactive. For the transformer to be used in a capability, its status must active.
sourcepub fn edi_type(&self) -> Option<&EdiType>
pub fn edi_type(&self) -> Option<&EdiType>
Returns 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>
Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
Returns a timestamp for creation date and time of the transformer.
source§impl CreateTransformerOutput
impl CreateTransformerOutput
sourcepub fn builder() -> CreateTransformerOutputBuilder
pub fn builder() -> CreateTransformerOutputBuilder
Creates a new builder-style object to manufacture CreateTransformerOutput.
Trait Implementations§
source§impl Clone for CreateTransformerOutput
impl Clone for CreateTransformerOutput
source§fn clone(&self) -> CreateTransformerOutput
fn clone(&self) -> CreateTransformerOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateTransformerOutput
impl Debug for CreateTransformerOutput
source§impl PartialEq for CreateTransformerOutput
impl PartialEq for CreateTransformerOutput
source§fn eq(&self, other: &CreateTransformerOutput) -> bool
fn eq(&self, other: &CreateTransformerOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for CreateTransformerOutput
impl RequestId for CreateTransformerOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for CreateTransformerOutput
Auto Trait Implementations§
impl Freeze for CreateTransformerOutput
impl RefUnwindSafe for CreateTransformerOutput
impl Send for CreateTransformerOutput
impl Sync for CreateTransformerOutput
impl Unpin for CreateTransformerOutput
impl UnwindSafe for CreateTransformerOutput
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