Struct aws_sdk_glue::types::CustomCode
source · #[non_exhaustive]pub struct CustomCode {
pub name: Option<String>,
pub inputs: Option<Vec<String>>,
pub code: Option<String>,
pub class_name: Option<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: Option<String>The name of the transform node.
inputs: Option<Vec<String>>The data inputs identified by their node names.
code: Option<String>The custom code that is used to perform the data transformation.
class_name: Option<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 code(&self) -> Option<&str>
pub fn code(&self) -> Option<&str>
The custom code that is used to perform the data transformation.
sourcepub fn class_name(&self) -> Option<&str>
pub fn class_name(&self) -> Option<&str>
The name defined for the custom code node class.
sourcepub fn output_schemas(&self) -> Option<&[GlueSchema]>
pub fn output_schemas(&self) -> Option<&[GlueSchema]>
Specifies the data schema for the custom code transform.
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<CustomCode> for CustomCode
impl PartialEq<CustomCode> 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