#[non_exhaustive]pub struct InferenceExperimentDataStorageConfig {
pub destination: Option<String>,
pub kms_key: Option<String>,
pub content_type: Option<CaptureContentTypeHeader>,
}
Expand description
The Amazon S3 location and configuration for storing inference request and response 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.destination: Option<String>
The Amazon S3 bucket where the inference request and response data is stored.
kms_key: Option<String>
The Amazon Web Services Key Management Service key that Amazon SageMaker uses to encrypt captured data at rest using Amazon S3 server-side encryption.
content_type: Option<CaptureContentTypeHeader>
Configuration specifying how to treat different headers. If no headers are specified SageMaker will by default base64 encode when capturing the data.
Implementations§
source§impl InferenceExperimentDataStorageConfig
impl InferenceExperimentDataStorageConfig
sourcepub fn destination(&self) -> Option<&str>
pub fn destination(&self) -> Option<&str>
The Amazon S3 bucket where the inference request and response data is stored.
sourcepub fn kms_key(&self) -> Option<&str>
pub fn kms_key(&self) -> Option<&str>
The Amazon Web Services Key Management Service key that Amazon SageMaker uses to encrypt captured data at rest using Amazon S3 server-side encryption.
sourcepub fn content_type(&self) -> Option<&CaptureContentTypeHeader>
pub fn content_type(&self) -> Option<&CaptureContentTypeHeader>
Configuration specifying how to treat different headers. If no headers are specified SageMaker will by default base64 encode when capturing the data.
source§impl InferenceExperimentDataStorageConfig
impl InferenceExperimentDataStorageConfig
sourcepub fn builder() -> InferenceExperimentDataStorageConfigBuilder
pub fn builder() -> InferenceExperimentDataStorageConfigBuilder
Creates a new builder-style object to manufacture InferenceExperimentDataStorageConfig
.
Trait Implementations§
source§impl Clone for InferenceExperimentDataStorageConfig
impl Clone for InferenceExperimentDataStorageConfig
source§fn clone(&self) -> InferenceExperimentDataStorageConfig
fn clone(&self) -> InferenceExperimentDataStorageConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<InferenceExperimentDataStorageConfig> for InferenceExperimentDataStorageConfig
impl PartialEq<InferenceExperimentDataStorageConfig> for InferenceExperimentDataStorageConfig
source§fn eq(&self, other: &InferenceExperimentDataStorageConfig) -> bool
fn eq(&self, other: &InferenceExperimentDataStorageConfig) -> bool
self
and other
values to be equal, and is used
by ==
.