Struct aws_sdk_glue::types::CustomCode
source · #[non_exhaustive]pub struct CustomCode {
pub name: String,
pub inputs: Vec<String>,
pub code: String,
pub class_name: String,
pub output_schemas: Option<Vec<GlueSchema>>,
}
Expand description
Specifies a transform that uses custom code you provide to perform the data transformation. The output is a collection of DynamicFrames.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: String
The name of the transform node.
inputs: Vec<String>
The data inputs identified by their node names.
code: String
The custom code that is used to perform the data transformation.
class_name: String
The name defined for the custom code node class.
output_schemas: Option<Vec<GlueSchema>>
Specifies the data schema for the custom code transform.
Implementations§
source§impl CustomCode
impl CustomCode
sourcepub fn class_name(&self) -> &str
pub fn class_name(&self) -> &str
The name defined for the custom code node class.
sourcepub fn output_schemas(&self) -> &[GlueSchema]
pub fn output_schemas(&self) -> &[GlueSchema]
Specifies the data schema for the custom code transform.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .output_schemas.is_none()
.
source§impl CustomCode
impl CustomCode
sourcepub fn builder() -> CustomCodeBuilder
pub fn builder() -> CustomCodeBuilder
Creates a new builder-style object to manufacture CustomCode
.
Trait Implementations§
source§impl Clone for CustomCode
impl Clone for CustomCode
source§fn clone(&self) -> CustomCode
fn clone(&self) -> CustomCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CustomCode
impl Debug for CustomCode
source§impl PartialEq for CustomCode
impl PartialEq for CustomCode
source§fn eq(&self, other: &CustomCode) -> bool
fn eq(&self, other: &CustomCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomCode
Auto Trait Implementations§
impl RefUnwindSafe for CustomCode
impl Send for CustomCode
impl Sync for CustomCode
impl Unpin for CustomCode
impl UnwindSafe for CustomCode
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.