Struct aws_sdk_sagemaker::types::CaptureContentTypeHeader
source · #[non_exhaustive]pub struct CaptureContentTypeHeader {
pub csv_content_types: Option<Vec<String>>,
pub json_content_types: Option<Vec<String>>,
}
Expand description
Configuration specifying how to treat different headers. If no headers are specified Amazon SageMaker will by default base64 encode when capturing the data.
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.csv_content_types: Option<Vec<String>>
The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.
json_content_types: Option<Vec<String>>
The list of all content type headers that SageMaker will treat as JSON and capture accordingly.
Implementations§
source§impl CaptureContentTypeHeader
impl CaptureContentTypeHeader
sourcepub fn csv_content_types(&self) -> &[String]
pub fn csv_content_types(&self) -> &[String]
The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .csv_content_types.is_none()
.
sourcepub fn json_content_types(&self) -> &[String]
pub fn json_content_types(&self) -> &[String]
The list of all content type headers that SageMaker will treat as JSON and capture accordingly.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .json_content_types.is_none()
.
source§impl CaptureContentTypeHeader
impl CaptureContentTypeHeader
sourcepub fn builder() -> CaptureContentTypeHeaderBuilder
pub fn builder() -> CaptureContentTypeHeaderBuilder
Creates a new builder-style object to manufacture CaptureContentTypeHeader
.
Trait Implementations§
source§impl Clone for CaptureContentTypeHeader
impl Clone for CaptureContentTypeHeader
source§fn clone(&self) -> CaptureContentTypeHeader
fn clone(&self) -> CaptureContentTypeHeader
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CaptureContentTypeHeader
impl Debug for CaptureContentTypeHeader
source§impl PartialEq for CaptureContentTypeHeader
impl PartialEq for CaptureContentTypeHeader
impl StructuralPartialEq for CaptureContentTypeHeader
Auto Trait Implementations§
impl Freeze for CaptureContentTypeHeader
impl RefUnwindSafe for CaptureContentTypeHeader
impl Send for CaptureContentTypeHeader
impl Sync for CaptureContentTypeHeader
impl Unpin for CaptureContentTypeHeader
impl UnwindSafe for CaptureContentTypeHeader
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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