All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.sagemaker.kotlin.outputs.ModelBiasJobDefinitionEndpointInput.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.sagemaker.kotlin.outputs

import com.pulumi.awsnative.sagemaker.kotlin.enums.ModelBiasJobDefinitionEndpointInputS3DataDistributionType
import com.pulumi.awsnative.sagemaker.kotlin.enums.ModelBiasJobDefinitionEndpointInputS3InputMode
import kotlin.Double
import kotlin.String
import kotlin.Suppress

/**
 * The endpoint for a monitoring job.
 * @property endTimeOffset Monitoring end time offset, e.g. PT0H
 * @property endpointName An endpoint in customer's account which has enabled `DataCaptureConfig` enabled.
 * @property featuresAttribute JSONpath to locate features in JSONlines dataset
 * @property inferenceAttribute Index or JSONpath to locate predicted label(s)
 * @property localPath Path to the filesystem where the endpoint data is available to the container.
 * @property probabilityAttribute Index or JSONpath to locate probabilities
 * @property probabilityThresholdAttribute The threshold for the class probability to be evaluated as a positive result.
 * @property s3DataDistributionType Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to FullyReplicated
 * @property s3InputMode Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File.
 * @property startTimeOffset Monitoring start time offset, e.g. -PT1H
 */
public data class ModelBiasJobDefinitionEndpointInput(
    public val endTimeOffset: String? = null,
    public val endpointName: String,
    public val featuresAttribute: String? = null,
    public val inferenceAttribute: String? = null,
    public val localPath: String,
    public val probabilityAttribute: String? = null,
    public val probabilityThresholdAttribute: Double? = null,
    public val s3DataDistributionType: ModelBiasJobDefinitionEndpointInputS3DataDistributionType? =
        null,
    public val s3InputMode: ModelBiasJobDefinitionEndpointInputS3InputMode? = null,
    public val startTimeOffset: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.ModelBiasJobDefinitionEndpointInput): ModelBiasJobDefinitionEndpointInput = ModelBiasJobDefinitionEndpointInput(
            endTimeOffset = javaType.endTimeOffset().map({ args0 -> args0 }).orElse(null),
            endpointName = javaType.endpointName(),
            featuresAttribute = javaType.featuresAttribute().map({ args0 -> args0 }).orElse(null),
            inferenceAttribute = javaType.inferenceAttribute().map({ args0 -> args0 }).orElse(null),
            localPath = javaType.localPath(),
            probabilityAttribute = javaType.probabilityAttribute().map({ args0 -> args0 }).orElse(null),
            probabilityThresholdAttribute = javaType.probabilityThresholdAttribute().map({ args0 ->
                args0
            }).orElse(null),
            s3DataDistributionType = javaType.s3DataDistributionType().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.enums.ModelBiasJobDefinitionEndpointInputS3DataDistributionType.Companion.toKotlin(args0)
                })
            }).orElse(null),
            s3InputMode = javaType.s3InputMode().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.enums.ModelBiasJobDefinitionEndpointInputS3InputMode.Companion.toKotlin(args0)
                })
            }).orElse(null),
            startTimeOffset = javaType.startTimeOffset().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy