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

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

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

(ns cognitect.aws.application-autoscaling.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.application-autoscaling/ResourceCapacity
  (s/spec int? :gen #(gen/choose Long/MIN_VALUE Long/MAX_VALUE)))

(s/def
  :cognitect.aws.application-autoscaling/ScalingAdjustment
  (s/spec int? :gen #(gen/choose Long/MIN_VALUE Long/MAX_VALUE)))

(s/def :cognitect.aws.application-autoscaling/DeleteScheduledActionResponse (s/keys))

(s/def
  :cognitect.aws.application-autoscaling/DescribeScheduledActionsRequest
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.DescribeScheduledActionsRequest/ServiceNamespace]
    :opt-un
    [:cognitect.aws.application-autoscaling.DescribeScheduledActionsRequest/ScalableDimension
     :cognitect.aws.application-autoscaling.DescribeScheduledActionsRequest/NextToken
     :cognitect.aws.application-autoscaling.DescribeScheduledActionsRequest/ResourceId
     :cognitect.aws.application-autoscaling.DescribeScheduledActionsRequest/ScheduledActionNames
     :cognitect.aws.application-autoscaling.DescribeScheduledActionsRequest/MaxResults]))

(s/def
  :cognitect.aws.application-autoscaling/ScalingActivityStatusCode
  (s/spec
    string?
    :gen
    #(s/gen #{"Unfulfilled" "Failed" "Overridden" "InProgress" "Successful" "Pending"})))

(s/def
  :cognitect.aws.application-autoscaling/MetricScale
  (s/spec double? :gen #(gen/double* {:infinite? false, :NaN? false})))

(s/def
  :cognitect.aws.application-autoscaling/ServiceNamespace
  (s/spec
    string?
    :gen
    #(s/gen
      #{"dynamodb" "ec2" "appstream" "elasticmapreduce" "ecs" "custom-resource" "elasticache"
        "comprehend" "sagemaker" "kafka" "cassandra" "neptune" "lambda" "rds"})))

(s/def
  :cognitect.aws.application-autoscaling/PutScalingPolicyRequest
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.PutScalingPolicyRequest/PolicyName
     :cognitect.aws.application-autoscaling.PutScalingPolicyRequest/ServiceNamespace
     :cognitect.aws.application-autoscaling.PutScalingPolicyRequest/ResourceId
     :cognitect.aws.application-autoscaling.PutScalingPolicyRequest/ScalableDimension]
    :opt-un
    [:cognitect.aws.application-autoscaling.PutScalingPolicyRequest/TargetTrackingScalingPolicyConfiguration
     :cognitect.aws.application-autoscaling.PutScalingPolicyRequest/PolicyType
     :cognitect.aws.application-autoscaling.PutScalingPolicyRequest/StepScalingPolicyConfiguration]))

(s/def
  :cognitect.aws.application-autoscaling/MetricStatistic
  (s/spec string? :gen #(s/gen #{"Sum" "Average" "SampleCount" "Minimum" "Maximum"})))

(s/def
  :cognitect.aws.application-autoscaling/MetricAggregationType
  (s/spec string? :gen #(s/gen #{"Average" "Minimum" "Maximum"})))

(s/def
  :cognitect.aws.application-autoscaling/DeleteScalingPolicyRequest
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.DeleteScalingPolicyRequest/PolicyName
     :cognitect.aws.application-autoscaling.DeleteScalingPolicyRequest/ServiceNamespace
     :cognitect.aws.application-autoscaling.DeleteScalingPolicyRequest/ResourceId
     :cognitect.aws.application-autoscaling.DeleteScalingPolicyRequest/ScalableDimension]))

(s/def
  :cognitect.aws.application-autoscaling/MetricType
  (s/spec
    string?
    :gen
    #(s/gen
      #{"KafkaBrokerStorageUtilization" "ElastiCachePrimaryEngineCPUUtilization"
        "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage"
        "CassandraWriteCapacityUtilization" "DynamoDBWriteCapacityUtilization"
        "DynamoDBReadCapacityUtilization" "NeptuneReaderAverageCPUUtilization"
        "EC2SpotFleetRequestAverageNetworkIn" "CassandraReadCapacityUtilization"
        "LambdaProvisionedConcurrencyUtilization" "ElastiCacheReplicaEngineCPUUtilization"
        "ComprehendInferenceUtilization" "EC2SpotFleetRequestAverageNetworkOut"
        "ALBRequestCountPerTarget" "RDSReaderAverageCPUUtilization"
        "RDSReaderAverageDatabaseConnections" "AppStreamAverageCapacityUtilization"
        "ECSServiceAverageMemoryUtilization" "SageMakerVariantInvocationsPerInstance"
        "EC2SpotFleetRequestAverageCPUUtilization" "ECSServiceAverageCPUUtilization"})))

(s/def
  :cognitect.aws.application-autoscaling/DescribeScalingPoliciesResponse
  (s/keys
    :opt-un
    [:cognitect.aws.application-autoscaling.DescribeScalingPoliciesResponse/NextToken
     :cognitect.aws.application-autoscaling.DescribeScalingPoliciesResponse/ScalingPolicies]))

(s/def :cognitect.aws.application-autoscaling/TimestampType inst?)

(s/def
  :cognitect.aws.application-autoscaling/DescribeScalingActivitiesRequest
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.DescribeScalingActivitiesRequest/ServiceNamespace]
    :opt-un
    [:cognitect.aws.application-autoscaling.DescribeScalingActivitiesRequest/ScalableDimension
     :cognitect.aws.application-autoscaling.DescribeScalingActivitiesRequest/NextToken
     :cognitect.aws.application-autoscaling.DescribeScalingActivitiesRequest/ResourceId
     :cognitect.aws.application-autoscaling.DescribeScalingActivitiesRequest/MaxResults]))

(s/def
  :cognitect.aws.application-autoscaling/Cooldown
  (s/spec int? :gen #(gen/choose Long/MIN_VALUE Long/MAX_VALUE)))

(s/def :cognitect.aws.application-autoscaling/ScalingSuspended boolean?)

(s/def
  :cognitect.aws.application-autoscaling/ScalableTargetAction
  (s/keys
    :opt-un
    [:cognitect.aws.application-autoscaling.ScalableTargetAction/MaxCapacity
     :cognitect.aws.application-autoscaling.ScalableTargetAction/MinCapacity]))

(s/def
  :cognitect.aws.application-autoscaling/DescribeScalableTargetsResponse
  (s/keys
    :opt-un
    [:cognitect.aws.application-autoscaling.DescribeScalableTargetsResponse/NextToken
     :cognitect.aws.application-autoscaling.DescribeScalableTargetsResponse/ScalableTargets]))

(s/def
  :cognitect.aws.application-autoscaling/ScalingPolicy
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.ScalingPolicy/PolicyARN
     :cognitect.aws.application-autoscaling.ScalingPolicy/PolicyName
     :cognitect.aws.application-autoscaling.ScalingPolicy/ServiceNamespace
     :cognitect.aws.application-autoscaling.ScalingPolicy/ResourceId
     :cognitect.aws.application-autoscaling.ScalingPolicy/ScalableDimension
     :cognitect.aws.application-autoscaling.ScalingPolicy/PolicyType
     :cognitect.aws.application-autoscaling.ScalingPolicy/CreationTime]
    :opt-un
    [:cognitect.aws.application-autoscaling.ScalingPolicy/TargetTrackingScalingPolicyConfiguration
     :cognitect.aws.application-autoscaling.ScalingPolicy/Alarms
     :cognitect.aws.application-autoscaling.ScalingPolicy/StepScalingPolicyConfiguration]))

(s/def
  :cognitect.aws.application-autoscaling/ResourceId
  (s/spec
    #(re-matches
      (re-pattern "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*")
      %)
    :gen
    #(gen/string)))

(s/def :cognitect.aws.application-autoscaling/DisableScaleIn boolean?)

(s/def
  :cognitect.aws.application-autoscaling/StepAdjustments
  (s/coll-of :cognitect.aws.application-autoscaling/StepAdjustment))

(s/def
  :cognitect.aws.application-autoscaling/DeregisterScalableTargetRequest
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.DeregisterScalableTargetRequest/ServiceNamespace
     :cognitect.aws.application-autoscaling.DeregisterScalableTargetRequest/ResourceId
     :cognitect.aws.application-autoscaling.DeregisterScalableTargetRequest/ScalableDimension]))

(s/def
  :cognitect.aws.application-autoscaling/RegisterScalableTargetRequest
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.RegisterScalableTargetRequest/ServiceNamespace
     :cognitect.aws.application-autoscaling.RegisterScalableTargetRequest/ResourceId
     :cognitect.aws.application-autoscaling.RegisterScalableTargetRequest/ScalableDimension]
    :opt-un
    [:cognitect.aws.application-autoscaling.RegisterScalableTargetRequest/MaxCapacity
     :cognitect.aws.application-autoscaling.RegisterScalableTargetRequest/RoleARN
     :cognitect.aws.application-autoscaling.RegisterScalableTargetRequest/MinCapacity
     :cognitect.aws.application-autoscaling.RegisterScalableTargetRequest/SuspendedState]))

(s/def
  :cognitect.aws.application-autoscaling/Alarm
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.Alarm/AlarmName
     :cognitect.aws.application-autoscaling.Alarm/AlarmARN]))

(s/def
  :cognitect.aws.application-autoscaling/StepAdjustment
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.StepAdjustment/ScalingAdjustment]
    :opt-un
    [:cognitect.aws.application-autoscaling.StepAdjustment/MetricIntervalUpperBound
     :cognitect.aws.application-autoscaling.StepAdjustment/MetricIntervalLowerBound]))

(s/def :cognitect.aws.application-autoscaling/DeleteScalingPolicyResponse (s/keys))

(s/def
  :cognitect.aws.application-autoscaling/Alarms
  (s/coll-of :cognitect.aws.application-autoscaling/Alarm))

(s/def
  :cognitect.aws.application-autoscaling/PolicyName
  (s/spec #(re-matches (re-pattern "\\p{Print}+") %) :gen #(gen/string)))

(s/def
  :cognitect.aws.application-autoscaling/ResourceLabel
  (s/spec
    (s/and string? #(<= 1 (count %) 1023))
    :gen
    (fn []
      (gen/fmap #(apply str %) (gen/bind (gen/choose 1 1023) #(gen/vector (gen/char-alpha) %))))))

(s/def
  :cognitect.aws.application-autoscaling/ScalingActivities
  (s/coll-of :cognitect.aws.application-autoscaling/ScalingActivity))

(s/def
  :cognitect.aws.application-autoscaling/DescribeScheduledActionsResponse
  (s/keys
    :opt-un
    [:cognitect.aws.application-autoscaling.DescribeScheduledActionsResponse/NextToken
     :cognitect.aws.application-autoscaling.DescribeScheduledActionsResponse/ScheduledActions]))

(s/def :cognitect.aws.application-autoscaling/MetricUnit string?)

(s/def
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600
  (s/spec
    #(re-matches
      (re-pattern "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*")
      %)
    :gen
    #(gen/string)))

(s/def
  :cognitect.aws.application-autoscaling/MetricDimensions
  (s/coll-of :cognitect.aws.application-autoscaling/MetricDimension))

(s/def
  :cognitect.aws.application-autoscaling/ScalingPolicies
  (s/coll-of :cognitect.aws.application-autoscaling/ScalingPolicy))

(s/def
  :cognitect.aws.application-autoscaling/DeleteScheduledActionRequest
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.DeleteScheduledActionRequest/ServiceNamespace
     :cognitect.aws.application-autoscaling.DeleteScheduledActionRequest/ScheduledActionName
     :cognitect.aws.application-autoscaling.DeleteScheduledActionRequest/ResourceId
     :cognitect.aws.application-autoscaling.DeleteScheduledActionRequest/ScalableDimension]))

(s/def
  :cognitect.aws.application-autoscaling/ScalableTargets
  (s/coll-of :cognitect.aws.application-autoscaling/ScalableTarget))

(s/def
  :cognitect.aws.application-autoscaling/DescribeScalingActivitiesResponse
  (s/keys
    :opt-un
    [:cognitect.aws.application-autoscaling.DescribeScalingActivitiesResponse/NextToken
     :cognitect.aws.application-autoscaling.DescribeScalingActivitiesResponse/ScalingActivities]))

(s/def :cognitect.aws.application-autoscaling/MetricDimensionValue string?)

(s/def
  :cognitect.aws.application-autoscaling/ScheduledAction
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.ScheduledAction/ScheduledActionName
     :cognitect.aws.application-autoscaling.ScheduledAction/ScheduledActionARN
     :cognitect.aws.application-autoscaling.ScheduledAction/ServiceNamespace
     :cognitect.aws.application-autoscaling.ScheduledAction/Schedule
     :cognitect.aws.application-autoscaling.ScheduledAction/ResourceId
     :cognitect.aws.application-autoscaling.ScheduledAction/CreationTime]
    :opt-un
    [:cognitect.aws.application-autoscaling.ScheduledAction/EndTime
     :cognitect.aws.application-autoscaling.ScheduledAction/ScalableDimension
     :cognitect.aws.application-autoscaling.ScheduledAction/StartTime
     :cognitect.aws.application-autoscaling.ScheduledAction/Timezone
     :cognitect.aws.application-autoscaling.ScheduledAction/ScalableTargetAction]))

(s/def
  :cognitect.aws.application-autoscaling/DescribeScalableTargetsRequest
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.DescribeScalableTargetsRequest/ServiceNamespace]
    :opt-un
    [:cognitect.aws.application-autoscaling.DescribeScalableTargetsRequest/ScalableDimension
     :cognitect.aws.application-autoscaling.DescribeScalableTargetsRequest/ResourceIds
     :cognitect.aws.application-autoscaling.DescribeScalableTargetsRequest/NextToken
     :cognitect.aws.application-autoscaling.DescribeScalableTargetsRequest/MaxResults]))

(s/def
  :cognitect.aws.application-autoscaling/ScheduledActionName
  (s/spec
    #(re-matches
      (re-pattern "(?!((^[ ]+.*)|(.*([\\u0000-\\u001f]|[\\u007f-\\u009f]|[:/|])+.*)|(.*[ ]+$))).+")
      %)
    :gen
    #(gen/string)))

(s/def
  :cognitect.aws.application-autoscaling/MetricDimension
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.MetricDimension/Name
     :cognitect.aws.application-autoscaling.MetricDimension/Value]))

(s/def
  :cognitect.aws.application-autoscaling/StepScalingPolicyConfiguration
  (s/keys
    :opt-un
    [:cognitect.aws.application-autoscaling.StepScalingPolicyConfiguration/MinAdjustmentMagnitude
     :cognitect.aws.application-autoscaling.StepScalingPolicyConfiguration/Cooldown
     :cognitect.aws.application-autoscaling.StepScalingPolicyConfiguration/StepAdjustments
     :cognitect.aws.application-autoscaling.StepScalingPolicyConfiguration/AdjustmentType
     :cognitect.aws.application-autoscaling.StepScalingPolicyConfiguration/MetricAggregationType]))

(s/def
  :cognitect.aws.application-autoscaling/XmlString
  (s/spec
    #(re-matches
      (re-pattern "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*")
      %)
    :gen
    #(gen/string)))

(s/def :cognitect.aws.application-autoscaling/DeregisterScalableTargetResponse (s/keys))

(s/def
  :cognitect.aws.application-autoscaling/PolicyType
  (s/spec string? :gen #(s/gen #{"StepScaling" "TargetTrackingScaling"})))

(s/def
  :cognitect.aws.application-autoscaling/ScheduledActions
  (s/coll-of :cognitect.aws.application-autoscaling/ScheduledAction))

(s/def
  :cognitect.aws.application-autoscaling/MaxResults
  (s/spec int? :gen #(gen/choose Long/MIN_VALUE Long/MAX_VALUE)))

(s/def :cognitect.aws.application-autoscaling/MetricDimensionName string?)

(s/def
  :cognitect.aws.application-autoscaling/PutScheduledActionRequest
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.PutScheduledActionRequest/ServiceNamespace
     :cognitect.aws.application-autoscaling.PutScheduledActionRequest/ScheduledActionName
     :cognitect.aws.application-autoscaling.PutScheduledActionRequest/ResourceId
     :cognitect.aws.application-autoscaling.PutScheduledActionRequest/ScalableDimension]
    :opt-un
    [:cognitect.aws.application-autoscaling.PutScheduledActionRequest/EndTime
     :cognitect.aws.application-autoscaling.PutScheduledActionRequest/StartTime
     :cognitect.aws.application-autoscaling.PutScheduledActionRequest/Timezone
     :cognitect.aws.application-autoscaling.PutScheduledActionRequest/ScalableTargetAction
     :cognitect.aws.application-autoscaling.PutScheduledActionRequest/Schedule]))

(s/def
  :cognitect.aws.application-autoscaling/TargetTrackingScalingPolicyConfiguration
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.TargetTrackingScalingPolicyConfiguration/TargetValue]
    :opt-un
    [:cognitect.aws.application-autoscaling.TargetTrackingScalingPolicyConfiguration/PredefinedMetricSpecification
     :cognitect.aws.application-autoscaling.TargetTrackingScalingPolicyConfiguration/ScaleInCooldown
     :cognitect.aws.application-autoscaling.TargetTrackingScalingPolicyConfiguration/DisableScaleIn
     :cognitect.aws.application-autoscaling.TargetTrackingScalingPolicyConfiguration/ScaleOutCooldown
     :cognitect.aws.application-autoscaling.TargetTrackingScalingPolicyConfiguration/CustomizedMetricSpecification]))

(s/def
  :cognitect.aws.application-autoscaling/AdjustmentType
  (s/spec string? :gen #(s/gen #{"PercentChangeInCapacity" "ExactCapacity" "ChangeInCapacity"})))

(s/def
  :cognitect.aws.application-autoscaling/CustomizedMetricSpecification
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.CustomizedMetricSpecification/MetricName
     :cognitect.aws.application-autoscaling.CustomizedMetricSpecification/Namespace
     :cognitect.aws.application-autoscaling.CustomizedMetricSpecification/Statistic]
    :opt-un
    [:cognitect.aws.application-autoscaling.CustomizedMetricSpecification/Unit
     :cognitect.aws.application-autoscaling.CustomizedMetricSpecification/Dimensions]))

(s/def
  :cognitect.aws.application-autoscaling/ScalableTarget
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.ScalableTarget/ServiceNamespace
     :cognitect.aws.application-autoscaling.ScalableTarget/ResourceId
     :cognitect.aws.application-autoscaling.ScalableTarget/ScalableDimension
     :cognitect.aws.application-autoscaling.ScalableTarget/MinCapacity
     :cognitect.aws.application-autoscaling.ScalableTarget/MaxCapacity
     :cognitect.aws.application-autoscaling.ScalableTarget/RoleARN
     :cognitect.aws.application-autoscaling.ScalableTarget/CreationTime]
    :opt-un
    [:cognitect.aws.application-autoscaling.ScalableTarget/SuspendedState]))

(s/def :cognitect.aws.application-autoscaling/MetricName string?)

(s/def
  :cognitect.aws.application-autoscaling/ScalingActivity
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.ScalingActivity/ActivityId
     :cognitect.aws.application-autoscaling.ScalingActivity/ServiceNamespace
     :cognitect.aws.application-autoscaling.ScalingActivity/ResourceId
     :cognitect.aws.application-autoscaling.ScalingActivity/ScalableDimension
     :cognitect.aws.application-autoscaling.ScalingActivity/Description
     :cognitect.aws.application-autoscaling.ScalingActivity/Cause
     :cognitect.aws.application-autoscaling.ScalingActivity/StartTime
     :cognitect.aws.application-autoscaling.ScalingActivity/StatusCode]
    :opt-un
    [:cognitect.aws.application-autoscaling.ScalingActivity/EndTime
     :cognitect.aws.application-autoscaling.ScalingActivity/Details
     :cognitect.aws.application-autoscaling.ScalingActivity/StatusMessage]))

(s/def
  :cognitect.aws.application-autoscaling/DescribeScalingPoliciesRequest
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.DescribeScalingPoliciesRequest/ServiceNamespace]
    :opt-un
    [:cognitect.aws.application-autoscaling.DescribeScalingPoliciesRequest/ScalableDimension
     :cognitect.aws.application-autoscaling.DescribeScalingPoliciesRequest/PolicyNames
     :cognitect.aws.application-autoscaling.DescribeScalingPoliciesRequest/NextToken
     :cognitect.aws.application-autoscaling.DescribeScalingPoliciesRequest/ResourceId
     :cognitect.aws.application-autoscaling.DescribeScalingPoliciesRequest/MaxResults]))

(s/def :cognitect.aws.application-autoscaling/MetricNamespace string?)

(s/def
  :cognitect.aws.application-autoscaling/MinAdjustmentMagnitude
  (s/spec int? :gen #(gen/choose Long/MIN_VALUE Long/MAX_VALUE)))

(s/def :cognitect.aws.application-autoscaling/PutScheduledActionResponse (s/keys))

(s/def
  :cognitect.aws.application-autoscaling/ScalableDimension
  (s/spec
    string?
    :gen
    #(s/gen
      #{"appstream:fleet:DesiredCapacity" "neptune:cluster:ReadReplicaCount"
        "dynamodb:table:WriteCapacityUnits" "elasticache:replication-group:NodeGroups"
        "cassandra:table:WriteCapacityUnits" "custom-resource:ResourceType:Property"
        "ec2:spot-fleet-request:TargetCapacity" "lambda:function:ProvisionedConcurrency"
        "dynamodb:table:ReadCapacityUnits" "ecs:service:DesiredCount"
        "dynamodb:index:WriteCapacityUnits" "elasticmapreduce:instancegroup:InstanceCount"
        "kafka:broker-storage:VolumeSize" "elasticache:replication-group:Replicas"
        "rds:cluster:ReadReplicaCount" "cassandra:table:ReadCapacityUnits"
        "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits"
        "sagemaker:variant:DesiredInstanceCount" "dynamodb:index:ReadCapacityUnits"
        "comprehend:document-classifier-endpoint:DesiredInferenceUnits"})))

(s/def
  :cognitect.aws.application-autoscaling/ResourceIdsMaxLen1600
  (s/coll-of :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600 :max-count 50))

(s/def
  :cognitect.aws.application-autoscaling/PutScalingPolicyResponse
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.PutScalingPolicyResponse/PolicyARN]
    :opt-un
    [:cognitect.aws.application-autoscaling.PutScalingPolicyResponse/Alarms]))

(s/def :cognitect.aws.application-autoscaling/RegisterScalableTargetResponse (s/keys))

(s/def
  :cognitect.aws.application-autoscaling/PredefinedMetricSpecification
  (s/keys
    :req-un
    [:cognitect.aws.application-autoscaling.PredefinedMetricSpecification/PredefinedMetricType]
    :opt-un
    [:cognitect.aws.application-autoscaling.PredefinedMetricSpecification/ResourceLabel]))

(s/def
  :cognitect.aws.application-autoscaling/SuspendedState
  (s/keys
    :opt-un
    [:cognitect.aws.application-autoscaling.SuspendedState/DynamicScalingInSuspended
     :cognitect.aws.application-autoscaling.SuspendedState/ScheduledScalingSuspended
     :cognitect.aws.application-autoscaling.SuspendedState/DynamicScalingOutSuspended]))

(s/def
  :cognitect.aws.application-autoscaling.DescribeScheduledActionsRequest/ScheduledActionNames
  :cognitect.aws.application-autoscaling/ResourceIdsMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScheduledActionsRequest/ServiceNamespace
  :cognitect.aws.application-autoscaling/ServiceNamespace)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScheduledActionsRequest/ResourceId
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScheduledActionsRequest/ScalableDimension
  :cognitect.aws.application-autoscaling/ScalableDimension)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScheduledActionsRequest/MaxResults
  :cognitect.aws.application-autoscaling/MaxResults)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScheduledActionsRequest/NextToken
  :cognitect.aws.application-autoscaling/XmlString)

(s/def
  :cognitect.aws.application-autoscaling.PutScalingPolicyRequest/PolicyName
  :cognitect.aws.application-autoscaling/PolicyName)

(s/def
  :cognitect.aws.application-autoscaling.PutScalingPolicyRequest/ServiceNamespace
  :cognitect.aws.application-autoscaling/ServiceNamespace)

(s/def
  :cognitect.aws.application-autoscaling.PutScalingPolicyRequest/ResourceId
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.PutScalingPolicyRequest/ScalableDimension
  :cognitect.aws.application-autoscaling/ScalableDimension)

(s/def
  :cognitect.aws.application-autoscaling.PutScalingPolicyRequest/PolicyType
  :cognitect.aws.application-autoscaling/PolicyType)

(s/def
  :cognitect.aws.application-autoscaling.PutScalingPolicyRequest/StepScalingPolicyConfiguration
  :cognitect.aws.application-autoscaling/StepScalingPolicyConfiguration)

(s/def
  :cognitect.aws.application-autoscaling.PutScalingPolicyRequest/TargetTrackingScalingPolicyConfiguration
  :cognitect.aws.application-autoscaling/TargetTrackingScalingPolicyConfiguration)

(s/def
  :cognitect.aws.application-autoscaling.DeleteScalingPolicyRequest/PolicyName
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.DeleteScalingPolicyRequest/ServiceNamespace
  :cognitect.aws.application-autoscaling/ServiceNamespace)

(s/def
  :cognitect.aws.application-autoscaling.DeleteScalingPolicyRequest/ResourceId
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.DeleteScalingPolicyRequest/ScalableDimension
  :cognitect.aws.application-autoscaling/ScalableDimension)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalingPoliciesResponse/ScalingPolicies
  :cognitect.aws.application-autoscaling/ScalingPolicies)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalingPoliciesResponse/NextToken
  :cognitect.aws.application-autoscaling/XmlString)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalingActivitiesRequest/ServiceNamespace
  :cognitect.aws.application-autoscaling/ServiceNamespace)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalingActivitiesRequest/ResourceId
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalingActivitiesRequest/ScalableDimension
  :cognitect.aws.application-autoscaling/ScalableDimension)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalingActivitiesRequest/MaxResults
  :cognitect.aws.application-autoscaling/MaxResults)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalingActivitiesRequest/NextToken
  :cognitect.aws.application-autoscaling/XmlString)

(s/def
  :cognitect.aws.application-autoscaling.ScalableTargetAction/MinCapacity
  :cognitect.aws.application-autoscaling/ResourceCapacity)

(s/def
  :cognitect.aws.application-autoscaling.ScalableTargetAction/MaxCapacity
  :cognitect.aws.application-autoscaling/ResourceCapacity)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalableTargetsResponse/ScalableTargets
  :cognitect.aws.application-autoscaling/ScalableTargets)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalableTargetsResponse/NextToken
  :cognitect.aws.application-autoscaling/XmlString)

(s/def
  :cognitect.aws.application-autoscaling.ScalingPolicy/ServiceNamespace
  :cognitect.aws.application-autoscaling/ServiceNamespace)

(s/def
  :cognitect.aws.application-autoscaling.ScalingPolicy/ResourceId
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.ScalingPolicy/Alarms
  :cognitect.aws.application-autoscaling/Alarms)

(s/def
  :cognitect.aws.application-autoscaling.ScalingPolicy/PolicyName
  :cognitect.aws.application-autoscaling/PolicyName)

(s/def
  :cognitect.aws.application-autoscaling.ScalingPolicy/CreationTime
  :cognitect.aws.application-autoscaling/TimestampType)

(s/def
  :cognitect.aws.application-autoscaling.ScalingPolicy/StepScalingPolicyConfiguration
  :cognitect.aws.application-autoscaling/StepScalingPolicyConfiguration)

(s/def
  :cognitect.aws.application-autoscaling.ScalingPolicy/PolicyType
  :cognitect.aws.application-autoscaling/PolicyType)

(s/def
  :cognitect.aws.application-autoscaling.ScalingPolicy/PolicyARN
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.ScalingPolicy/TargetTrackingScalingPolicyConfiguration
  :cognitect.aws.application-autoscaling/TargetTrackingScalingPolicyConfiguration)

(s/def
  :cognitect.aws.application-autoscaling.ScalingPolicy/ScalableDimension
  :cognitect.aws.application-autoscaling/ScalableDimension)

(s/def
  :cognitect.aws.application-autoscaling.DeregisterScalableTargetRequest/ServiceNamespace
  :cognitect.aws.application-autoscaling/ServiceNamespace)

(s/def
  :cognitect.aws.application-autoscaling.DeregisterScalableTargetRequest/ResourceId
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.DeregisterScalableTargetRequest/ScalableDimension
  :cognitect.aws.application-autoscaling/ScalableDimension)

(s/def
  :cognitect.aws.application-autoscaling.RegisterScalableTargetRequest/ServiceNamespace
  :cognitect.aws.application-autoscaling/ServiceNamespace)

(s/def
  :cognitect.aws.application-autoscaling.RegisterScalableTargetRequest/ResourceId
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.RegisterScalableTargetRequest/ScalableDimension
  :cognitect.aws.application-autoscaling/ScalableDimension)

(s/def
  :cognitect.aws.application-autoscaling.RegisterScalableTargetRequest/MinCapacity
  :cognitect.aws.application-autoscaling/ResourceCapacity)

(s/def
  :cognitect.aws.application-autoscaling.RegisterScalableTargetRequest/MaxCapacity
  :cognitect.aws.application-autoscaling/ResourceCapacity)

(s/def
  :cognitect.aws.application-autoscaling.RegisterScalableTargetRequest/RoleARN
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.RegisterScalableTargetRequest/SuspendedState
  :cognitect.aws.application-autoscaling/SuspendedState)

(s/def
  :cognitect.aws.application-autoscaling.Alarm/AlarmName
  :cognitect.aws.application-autoscaling/ResourceId)

(s/def
  :cognitect.aws.application-autoscaling.Alarm/AlarmARN
  :cognitect.aws.application-autoscaling/ResourceId)

(s/def
  :cognitect.aws.application-autoscaling.StepAdjustment/MetricIntervalLowerBound
  :cognitect.aws.application-autoscaling/MetricScale)

(s/def
  :cognitect.aws.application-autoscaling.StepAdjustment/MetricIntervalUpperBound
  :cognitect.aws.application-autoscaling/MetricScale)

(s/def
  :cognitect.aws.application-autoscaling.StepAdjustment/ScalingAdjustment
  :cognitect.aws.application-autoscaling/ScalingAdjustment)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScheduledActionsResponse/ScheduledActions
  :cognitect.aws.application-autoscaling/ScheduledActions)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScheduledActionsResponse/NextToken
  :cognitect.aws.application-autoscaling/XmlString)

(s/def
  :cognitect.aws.application-autoscaling.DeleteScheduledActionRequest/ServiceNamespace
  :cognitect.aws.application-autoscaling/ServiceNamespace)

(s/def
  :cognitect.aws.application-autoscaling.DeleteScheduledActionRequest/ScheduledActionName
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.DeleteScheduledActionRequest/ResourceId
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.DeleteScheduledActionRequest/ScalableDimension
  :cognitect.aws.application-autoscaling/ScalableDimension)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalingActivitiesResponse/ScalingActivities
  :cognitect.aws.application-autoscaling/ScalingActivities)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalingActivitiesResponse/NextToken
  :cognitect.aws.application-autoscaling/XmlString)

(s/def
  :cognitect.aws.application-autoscaling.ScheduledAction/EndTime
  :cognitect.aws.application-autoscaling/TimestampType)

(s/def
  :cognitect.aws.application-autoscaling.ScheduledAction/ServiceNamespace
  :cognitect.aws.application-autoscaling/ServiceNamespace)

(s/def
  :cognitect.aws.application-autoscaling.ScheduledAction/Schedule
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.ScheduledAction/ScalableTargetAction
  :cognitect.aws.application-autoscaling/ScalableTargetAction)

(s/def
  :cognitect.aws.application-autoscaling.ScheduledAction/ResourceId
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.ScheduledAction/ScheduledActionARN
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.ScheduledAction/StartTime
  :cognitect.aws.application-autoscaling/TimestampType)

(s/def
  :cognitect.aws.application-autoscaling.ScheduledAction/Timezone
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.ScheduledAction/ScheduledActionName
  :cognitect.aws.application-autoscaling/ScheduledActionName)

(s/def
  :cognitect.aws.application-autoscaling.ScheduledAction/CreationTime
  :cognitect.aws.application-autoscaling/TimestampType)

(s/def
  :cognitect.aws.application-autoscaling.ScheduledAction/ScalableDimension
  :cognitect.aws.application-autoscaling/ScalableDimension)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalableTargetsRequest/ServiceNamespace
  :cognitect.aws.application-autoscaling/ServiceNamespace)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalableTargetsRequest/ResourceIds
  :cognitect.aws.application-autoscaling/ResourceIdsMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalableTargetsRequest/ScalableDimension
  :cognitect.aws.application-autoscaling/ScalableDimension)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalableTargetsRequest/MaxResults
  :cognitect.aws.application-autoscaling/MaxResults)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalableTargetsRequest/NextToken
  :cognitect.aws.application-autoscaling/XmlString)

(s/def
  :cognitect.aws.application-autoscaling.MetricDimension/Name
  :cognitect.aws.application-autoscaling/MetricDimensionName)

(s/def
  :cognitect.aws.application-autoscaling.MetricDimension/Value
  :cognitect.aws.application-autoscaling/MetricDimensionValue)

(s/def
  :cognitect.aws.application-autoscaling.StepScalingPolicyConfiguration/AdjustmentType
  :cognitect.aws.application-autoscaling/AdjustmentType)

(s/def
  :cognitect.aws.application-autoscaling.StepScalingPolicyConfiguration/StepAdjustments
  :cognitect.aws.application-autoscaling/StepAdjustments)

(s/def
  :cognitect.aws.application-autoscaling.StepScalingPolicyConfiguration/MinAdjustmentMagnitude
  :cognitect.aws.application-autoscaling/MinAdjustmentMagnitude)

(s/def
  :cognitect.aws.application-autoscaling.StepScalingPolicyConfiguration/Cooldown
  :cognitect.aws.application-autoscaling/Cooldown)

(s/def
  :cognitect.aws.application-autoscaling.StepScalingPolicyConfiguration/MetricAggregationType
  :cognitect.aws.application-autoscaling/MetricAggregationType)

(s/def
  :cognitect.aws.application-autoscaling.PutScheduledActionRequest/EndTime
  :cognitect.aws.application-autoscaling/TimestampType)

(s/def
  :cognitect.aws.application-autoscaling.PutScheduledActionRequest/ServiceNamespace
  :cognitect.aws.application-autoscaling/ServiceNamespace)

(s/def
  :cognitect.aws.application-autoscaling.PutScheduledActionRequest/Schedule
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.PutScheduledActionRequest/ScalableTargetAction
  :cognitect.aws.application-autoscaling/ScalableTargetAction)

(s/def
  :cognitect.aws.application-autoscaling.PutScheduledActionRequest/ResourceId
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.PutScheduledActionRequest/StartTime
  :cognitect.aws.application-autoscaling/TimestampType)

(s/def
  :cognitect.aws.application-autoscaling.PutScheduledActionRequest/Timezone
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.PutScheduledActionRequest/ScheduledActionName
  :cognitect.aws.application-autoscaling/ScheduledActionName)

(s/def
  :cognitect.aws.application-autoscaling.PutScheduledActionRequest/ScalableDimension
  :cognitect.aws.application-autoscaling/ScalableDimension)

(s/def
  :cognitect.aws.application-autoscaling.TargetTrackingScalingPolicyConfiguration/TargetValue
  :cognitect.aws.application-autoscaling/MetricScale)

(s/def
  :cognitect.aws.application-autoscaling.TargetTrackingScalingPolicyConfiguration/PredefinedMetricSpecification
  :cognitect.aws.application-autoscaling/PredefinedMetricSpecification)

(s/def
  :cognitect.aws.application-autoscaling.TargetTrackingScalingPolicyConfiguration/CustomizedMetricSpecification
  :cognitect.aws.application-autoscaling/CustomizedMetricSpecification)

(s/def
  :cognitect.aws.application-autoscaling.TargetTrackingScalingPolicyConfiguration/ScaleOutCooldown
  :cognitect.aws.application-autoscaling/Cooldown)

(s/def
  :cognitect.aws.application-autoscaling.TargetTrackingScalingPolicyConfiguration/ScaleInCooldown
  :cognitect.aws.application-autoscaling/Cooldown)

(s/def
  :cognitect.aws.application-autoscaling.TargetTrackingScalingPolicyConfiguration/DisableScaleIn
  :cognitect.aws.application-autoscaling/DisableScaleIn)

(s/def
  :cognitect.aws.application-autoscaling.CustomizedMetricSpecification/MetricName
  :cognitect.aws.application-autoscaling/MetricName)

(s/def
  :cognitect.aws.application-autoscaling.CustomizedMetricSpecification/Namespace
  :cognitect.aws.application-autoscaling/MetricNamespace)

(s/def
  :cognitect.aws.application-autoscaling.CustomizedMetricSpecification/Dimensions
  :cognitect.aws.application-autoscaling/MetricDimensions)

(s/def
  :cognitect.aws.application-autoscaling.CustomizedMetricSpecification/Statistic
  :cognitect.aws.application-autoscaling/MetricStatistic)

(s/def
  :cognitect.aws.application-autoscaling.CustomizedMetricSpecification/Unit
  :cognitect.aws.application-autoscaling/MetricUnit)

(s/def
  :cognitect.aws.application-autoscaling.ScalableTarget/ServiceNamespace
  :cognitect.aws.application-autoscaling/ServiceNamespace)

(s/def
  :cognitect.aws.application-autoscaling.ScalableTarget/ResourceId
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.ScalableTarget/ScalableDimension
  :cognitect.aws.application-autoscaling/ScalableDimension)

(s/def
  :cognitect.aws.application-autoscaling.ScalableTarget/MinCapacity
  :cognitect.aws.application-autoscaling/ResourceCapacity)

(s/def
  :cognitect.aws.application-autoscaling.ScalableTarget/MaxCapacity
  :cognitect.aws.application-autoscaling/ResourceCapacity)

(s/def
  :cognitect.aws.application-autoscaling.ScalableTarget/RoleARN
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.ScalableTarget/CreationTime
  :cognitect.aws.application-autoscaling/TimestampType)

(s/def
  :cognitect.aws.application-autoscaling.ScalableTarget/SuspendedState
  :cognitect.aws.application-autoscaling/SuspendedState)

(s/def
  :cognitect.aws.application-autoscaling.ScalingActivity/EndTime
  :cognitect.aws.application-autoscaling/TimestampType)

(s/def
  :cognitect.aws.application-autoscaling.ScalingActivity/ServiceNamespace
  :cognitect.aws.application-autoscaling/ServiceNamespace)

(s/def
  :cognitect.aws.application-autoscaling.ScalingActivity/ResourceId
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.ScalingActivity/ActivityId
  :cognitect.aws.application-autoscaling/ResourceId)

(s/def
  :cognitect.aws.application-autoscaling.ScalingActivity/StartTime
  :cognitect.aws.application-autoscaling/TimestampType)

(s/def
  :cognitect.aws.application-autoscaling.ScalingActivity/StatusCode
  :cognitect.aws.application-autoscaling/ScalingActivityStatusCode)

(s/def
  :cognitect.aws.application-autoscaling.ScalingActivity/StatusMessage
  :cognitect.aws.application-autoscaling/XmlString)

(s/def
  :cognitect.aws.application-autoscaling.ScalingActivity/Description
  :cognitect.aws.application-autoscaling/XmlString)

(s/def
  :cognitect.aws.application-autoscaling.ScalingActivity/Cause
  :cognitect.aws.application-autoscaling/XmlString)

(s/def
  :cognitect.aws.application-autoscaling.ScalingActivity/Details
  :cognitect.aws.application-autoscaling/XmlString)

(s/def
  :cognitect.aws.application-autoscaling.ScalingActivity/ScalableDimension
  :cognitect.aws.application-autoscaling/ScalableDimension)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalingPoliciesRequest/PolicyNames
  :cognitect.aws.application-autoscaling/ResourceIdsMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalingPoliciesRequest/ServiceNamespace
  :cognitect.aws.application-autoscaling/ServiceNamespace)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalingPoliciesRequest/ResourceId
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalingPoliciesRequest/ScalableDimension
  :cognitect.aws.application-autoscaling/ScalableDimension)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalingPoliciesRequest/MaxResults
  :cognitect.aws.application-autoscaling/MaxResults)

(s/def
  :cognitect.aws.application-autoscaling.DescribeScalingPoliciesRequest/NextToken
  :cognitect.aws.application-autoscaling/XmlString)

(s/def
  :cognitect.aws.application-autoscaling.PutScalingPolicyResponse/PolicyARN
  :cognitect.aws.application-autoscaling/ResourceIdMaxLen1600)

(s/def
  :cognitect.aws.application-autoscaling.PutScalingPolicyResponse/Alarms
  :cognitect.aws.application-autoscaling/Alarms)

(s/def
  :cognitect.aws.application-autoscaling.PredefinedMetricSpecification/PredefinedMetricType
  :cognitect.aws.application-autoscaling/MetricType)

(s/def
  :cognitect.aws.application-autoscaling.PredefinedMetricSpecification/ResourceLabel
  :cognitect.aws.application-autoscaling/ResourceLabel)

(s/def
  :cognitect.aws.application-autoscaling.SuspendedState/DynamicScalingInSuspended
  :cognitect.aws.application-autoscaling/ScalingSuspended)

(s/def
  :cognitect.aws.application-autoscaling.SuspendedState/DynamicScalingOutSuspended
  :cognitect.aws.application-autoscaling/ScalingSuspended)

(s/def
  :cognitect.aws.application-autoscaling.SuspendedState/ScheduledScalingSuspended
  :cognitect.aws.application-autoscaling/ScalingSuspended)





© 2015 - 2024 Weber Informatics LLC | Privacy Policy