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
source§fn eq(&self, other: &CaptureContentTypeHeader) -> bool
fn eq(&self, other: &CaptureContentTypeHeader) -> bool
self
and other
values to be equal, and is used
by ==
.