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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.sagemaker.kotlin.enums.ModelExplainabilityJobDefinitionEndpointInputS3DataDistributionType
import com.pulumi.awsnative.sagemaker.kotlin.enums.ModelExplainabilityJobDefinitionEndpointInputS3InputMode
import kotlin.String
import kotlin.Suppress

/**
 * The endpoint for a monitoring job.
 * @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 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.
 */
public data class ModelExplainabilityJobDefinitionEndpointInput(
    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 s3DataDistributionType: ModelExplainabilityJobDefinitionEndpointInputS3DataDistributionType? = null,
    public val s3InputMode: ModelExplainabilityJobDefinitionEndpointInputS3InputMode? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.ModelExplainabilityJobDefinitionEndpointInput): ModelExplainabilityJobDefinitionEndpointInput =
            ModelExplainabilityJobDefinitionEndpointInput(
                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),
                s3DataDistributionType = javaType.s3DataDistributionType().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.awsnative.sagemaker.kotlin.enums.ModelExplainabilityJobDefinitionEndpointInputS3DataDistributionType.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                s3InputMode = javaType.s3InputMode().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.awsnative.sagemaker.kotlin.enums.ModelExplainabilityJobDefinitionEndpointInputS3InputMode.Companion.toKotlin(args0)
                    })
                }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy