| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.SageMaker.Types.DataCaptureConfig
Description
Synopsis
- data DataCaptureConfig = DataCaptureConfig' {}
 - newDataCaptureConfig :: Natural -> Text -> NonEmpty CaptureOption -> DataCaptureConfig
 - dataCaptureConfig_captureContentTypeHeader :: Lens' DataCaptureConfig (Maybe CaptureContentTypeHeader)
 - dataCaptureConfig_enableCapture :: Lens' DataCaptureConfig (Maybe Bool)
 - dataCaptureConfig_kmsKeyId :: Lens' DataCaptureConfig (Maybe Text)
 - dataCaptureConfig_initialSamplingPercentage :: Lens' DataCaptureConfig Natural
 - dataCaptureConfig_destinationS3Uri :: Lens' DataCaptureConfig Text
 - dataCaptureConfig_captureOptions :: Lens' DataCaptureConfig (NonEmpty CaptureOption)
 
Documentation
data DataCaptureConfig Source #
Configuration to control how SageMaker captures inference data.
See: newDataCaptureConfig smart constructor.
Constructors
| DataCaptureConfig' | |
Fields 
  | |
Instances
Arguments
| :: Natural | |
| -> Text | |
| -> NonEmpty CaptureOption | |
| -> DataCaptureConfig | 
Create a value of DataCaptureConfig with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:captureContentTypeHeader:DataCaptureConfig', dataCaptureConfig_captureContentTypeHeader - Configuration specifying how to treat different headers. If no headers
 are specified SageMaker will by default base64 encode when capturing the
 data.
$sel:enableCapture:DataCaptureConfig', dataCaptureConfig_enableCapture - Whether data capture should be enabled or disabled (defaults to
 enabled).
$sel:kmsKeyId:DataCaptureConfig', dataCaptureConfig_kmsKeyId - The Amazon Resource Name (ARN) of a Amazon Web Services Key Management
 Service key that SageMaker uses to encrypt the captured data at rest
 using Amazon S3 server-side encryption.
The KmsKeyId can be any of the following formats:
- Key ID: 
1234abcd-12ab-34cd-56ef-1234567890ab - Key ARN:
     
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab - Alias name: 
alias/ExampleAlias - Alias name ARN:
     
arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias 
$sel:initialSamplingPercentage:DataCaptureConfig', dataCaptureConfig_initialSamplingPercentage - The percentage of requests SageMaker will capture. A lower value is
 recommended for Endpoints with high traffic.
$sel:destinationS3Uri:DataCaptureConfig', dataCaptureConfig_destinationS3Uri - The Amazon S3 location used to capture the data.
$sel:captureOptions:DataCaptureConfig', dataCaptureConfig_captureOptions - Specifies data Model Monitor will capture. You can configure whether to
 collect only input, only output, or both
dataCaptureConfig_captureContentTypeHeader :: Lens' DataCaptureConfig (Maybe CaptureContentTypeHeader) Source #
Configuration specifying how to treat different headers. If no headers are specified SageMaker will by default base64 encode when capturing the data.
dataCaptureConfig_enableCapture :: Lens' DataCaptureConfig (Maybe Bool) Source #
Whether data capture should be enabled or disabled (defaults to enabled).
dataCaptureConfig_kmsKeyId :: Lens' DataCaptureConfig (Maybe Text) Source #
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that SageMaker uses to encrypt the captured data at rest using Amazon S3 server-side encryption.
The KmsKeyId can be any of the following formats:
- Key ID: 
1234abcd-12ab-34cd-56ef-1234567890ab - Key ARN:
     
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab - Alias name: 
alias/ExampleAlias - Alias name ARN:
     
arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias 
dataCaptureConfig_initialSamplingPercentage :: Lens' DataCaptureConfig Natural Source #
The percentage of requests SageMaker will capture. A lower value is recommended for Endpoints with high traffic.
dataCaptureConfig_destinationS3Uri :: Lens' DataCaptureConfig Text Source #
The Amazon S3 location used to capture the data.
dataCaptureConfig_captureOptions :: Lens' DataCaptureConfig (NonEmpty CaptureOption) Source #
Specifies data Model Monitor will capture. You can configure whether to collect only input, only output, or both