#[non_exhaustive]pub struct GetTransformerOutput {
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,
pub modified_at: Option<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.
modified_at: Option<DateTime>Returns a timestamp for last time the transformer was modified.
Implementations§
source§impl GetTransformerOutput
impl GetTransformerOutput
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.
sourcepub fn modified_at(&self) -> Option<&DateTime>
pub fn modified_at(&self) -> Option<&DateTime>
Returns a timestamp for last time the transformer was modified.
source§impl GetTransformerOutput
impl GetTransformerOutput
sourcepub fn builder() -> GetTransformerOutputBuilder
pub fn builder() -> GetTransformerOutputBuilder
Creates a new builder-style object to manufacture GetTransformerOutput.
Trait Implementations§
source§impl Clone for GetTransformerOutput
impl Clone for GetTransformerOutput
source§fn clone(&self) -> GetTransformerOutput
fn clone(&self) -> GetTransformerOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetTransformerOutput
impl Debug for GetTransformerOutput
source§impl PartialEq for GetTransformerOutput
impl PartialEq for GetTransformerOutput
source§fn eq(&self, other: &GetTransformerOutput) -> bool
fn eq(&self, other: &GetTransformerOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetTransformerOutput
impl RequestId for GetTransformerOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for GetTransformerOutput
Auto Trait Implementations§
impl Freeze for GetTransformerOutput
impl RefUnwindSafe for GetTransformerOutput
impl Send for GetTransformerOutput
impl Sync for GetTransformerOutput
impl Unpin for GetTransformerOutput
impl UnwindSafe for GetTransformerOutput
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