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

cognitect.aws.sagemaker_featurestore_runtime.specs.clj Maven / Gradle / Ivy

There is a newer version: 871.2.29.35
Show newest version
;; Copyright (c) Cognitect, Inc.
;; All rights reserved.

(ns cognitect.aws.sagemaker-featurestore-runtime.specs
  (:require [clojure.spec.alpha :as s] [clojure.spec.gen.alpha :as gen]))

(s/def :cognitect.aws/client map?)

(s/def :core.async/channel any?)

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime/Record
  (s/coll-of :cognitect.aws.sagemaker-featurestore-runtime/FeatureValue :min-count 1))

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime/GetRecordRequest
  (s/keys
    :req-un
    [:cognitect.aws.sagemaker-featurestore-runtime.GetRecordRequest/FeatureGroupName
     :cognitect.aws.sagemaker-featurestore-runtime.GetRecordRequest/RecordIdentifierValueAsString]
    :opt-un
    [:cognitect.aws.sagemaker-featurestore-runtime.GetRecordRequest/FeatureNames]))

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime/FeatureGroupName
  (s/spec #(re-matches (re-pattern "^[a-zA-Z0-9](-*[a-zA-Z0-9])*") %) :gen #(gen/string)))

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime/PutRecordRequest
  (s/keys
    :req-un
    [:cognitect.aws.sagemaker-featurestore-runtime.PutRecordRequest/FeatureGroupName
     :cognitect.aws.sagemaker-featurestore-runtime.PutRecordRequest/Record]))

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime/GetRecordResponse
  (s/keys :opt-un [:cognitect.aws.sagemaker-featurestore-runtime.GetRecordResponse/Record]))

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime/FeatureName
  (s/spec #(re-matches (re-pattern "^[a-zA-Z0-9]([-_]*[a-zA-Z0-9])*") %) :gen #(gen/string)))

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime/FeatureNames
  (s/coll-of :cognitect.aws.sagemaker-featurestore-runtime/FeatureName :min-count 1))

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime/ValueAsString
  (s/spec #(re-matches (re-pattern ".*") %) :gen #(gen/string)))

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime/DeleteRecordRequest
  (s/keys
    :req-un
    [:cognitect.aws.sagemaker-featurestore-runtime.DeleteRecordRequest/FeatureGroupName
     :cognitect.aws.sagemaker-featurestore-runtime.DeleteRecordRequest/RecordIdentifierValueAsString
     :cognitect.aws.sagemaker-featurestore-runtime.DeleteRecordRequest/EventTime]))

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime/FeatureValue
  (s/keys
    :req-un
    [:cognitect.aws.sagemaker-featurestore-runtime.FeatureValue/FeatureName
     :cognitect.aws.sagemaker-featurestore-runtime.FeatureValue/ValueAsString]))

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime.GetRecordRequest/FeatureGroupName
  :cognitect.aws.sagemaker-featurestore-runtime/FeatureGroupName)

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime.GetRecordRequest/RecordIdentifierValueAsString
  :cognitect.aws.sagemaker-featurestore-runtime/ValueAsString)

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime.GetRecordRequest/FeatureNames
  :cognitect.aws.sagemaker-featurestore-runtime/FeatureNames)

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime.PutRecordRequest/FeatureGroupName
  :cognitect.aws.sagemaker-featurestore-runtime/FeatureGroupName)

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime.PutRecordRequest/Record
  :cognitect.aws.sagemaker-featurestore-runtime/Record)

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime.GetRecordResponse/Record
  :cognitect.aws.sagemaker-featurestore-runtime/Record)

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime.DeleteRecordRequest/FeatureGroupName
  :cognitect.aws.sagemaker-featurestore-runtime/FeatureGroupName)

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime.DeleteRecordRequest/RecordIdentifierValueAsString
  :cognitect.aws.sagemaker-featurestore-runtime/ValueAsString)

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime.DeleteRecordRequest/EventTime
  :cognitect.aws.sagemaker-featurestore-runtime/ValueAsString)

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime.FeatureValue/FeatureName
  :cognitect.aws.sagemaker-featurestore-runtime/FeatureName)

(s/def
  :cognitect.aws.sagemaker-featurestore-runtime.FeatureValue/ValueAsString
  :cognitect.aws.sagemaker-featurestore-runtime/ValueAsString)





© 2015 - 2025 Weber Informatics LLC | Privacy Policy