#[non_exhaustive]pub struct UpdateTransformerOutput {
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: 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: String
Returns the system-assigned unique identifier for the transformer.
transformer_arn: String
Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
name: String
Returns the name of the transformer.
file_format: FileFormat
Returns that the currently supported file formats for EDI transformations are JSON
and XML
.
mapping_template: String
Returns the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.
status: 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
.
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: DateTime
Returns a timestamp for creation date and time of the transformer.
modified_at: DateTime
Returns a timestamp for last time the transformer was modified.
Implementations§
source§impl UpdateTransformerOutput
impl UpdateTransformerOutput
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 name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.
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) -> &DateTime
pub fn modified_at(&self) -> &DateTime
Returns a timestamp for last time the transformer was modified.
source§impl UpdateTransformerOutput
impl UpdateTransformerOutput
sourcepub fn builder() -> UpdateTransformerOutputBuilder
pub fn builder() -> UpdateTransformerOutputBuilder
Creates a new builder-style object to manufacture UpdateTransformerOutput
.
Trait Implementations§
source§impl Clone for UpdateTransformerOutput
impl Clone for UpdateTransformerOutput
source§fn clone(&self) -> UpdateTransformerOutput
fn clone(&self) -> UpdateTransformerOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateTransformerOutput
impl Debug for UpdateTransformerOutput
source§impl PartialEq for UpdateTransformerOutput
impl PartialEq for UpdateTransformerOutput
source§fn eq(&self, other: &UpdateTransformerOutput) -> bool
fn eq(&self, other: &UpdateTransformerOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for UpdateTransformerOutput
impl RequestId for UpdateTransformerOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.