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

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

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

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

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property creationTime A timestamp of FeatureGroup creation time.
 * @property featureDefinitions An Array of Feature Definition
 * @property featureGroupStatus The status of the feature group.
 * @property onlineStoreConfig The configuration of an `OnlineStore` .
 * @property throughputConfig Used to set feature group throughput configuration. There are two modes: `ON_DEMAND` and `PROVISIONED` . With on-demand mode, you are charged for data reads and writes that your application performs on your feature group. You do not need to specify read and write throughput because Feature Store accommodates your workloads as they ramp up and down. You can switch a feature group to on-demand only once in a 24 hour period. With provisioned throughput mode, you specify the read and write capacity per second that you expect your application to require, and you are billed based on those limits. Exceeding provisioned throughput will result in your requests being throttled.
 * Note: `PROVISIONED` throughput mode is supported only for feature groups that are offline-only, or use the [`Standard`](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OnlineStoreConfig.html#sagemaker-Type-OnlineStoreConfig-StorageType) tier online store.
 */
public data class GetFeatureGroupResult(
    public val creationTime: String? = null,
    public val featureDefinitions: List? = null,
    public val featureGroupStatus: String? = null,
    public val onlineStoreConfig: OnlineStoreConfigProperties? = null,
    public val throughputConfig: FeatureGroupThroughputConfig? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.GetFeatureGroupResult): GetFeatureGroupResult = GetFeatureGroupResult(
            creationTime = javaType.creationTime().map({ args0 -> args0 }).orElse(null),
            featureDefinitions = javaType.featureDefinitions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.FeatureGroupFeatureDefinition.Companion.toKotlin(args0)
                })
            }),
            featureGroupStatus = javaType.featureGroupStatus().map({ args0 -> args0 }).orElse(null),
            onlineStoreConfig = javaType.onlineStoreConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.OnlineStoreConfigProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            throughputConfig = javaType.throughputConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.FeatureGroupThroughputConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy