CreateUsageLimitMessage
public struct CreateUsageLimitMessage : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number.
Declaration
Swift
public let amount: Int64
-
The action that Amazon Redshift takes when the limit is reached. The default is log. For more information about this parameter, see UsageLimit.
Declaration
Swift
public let breachAction: UsageLimitBreachAction?
-
The identifier of the cluster that you want to limit usage.
Declaration
Swift
public let clusterIdentifier: String
-
The Amazon Redshift feature that you want to limit.
Declaration
Swift
public let featureType: UsageLimitFeatureType
-
The type of limit. Depending on the feature type, this can be based on a time duration or data size. If FeatureType is spectrum, then LimitType must be data-scanned. If FeatureType is concurrency-scaling, then LimitType must be time.
Declaration
Swift
public let limitType: UsageLimitLimitType
-
The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.
Declaration
Swift
public let period: UsageLimitPeriod?
-
A list of tag instances.
Declaration
Swift
public let tags: [Tag]?
-
Undocumented
Declaration
Swift
public init(amount: Int64, breachAction: UsageLimitBreachAction? = nil, clusterIdentifier: String, featureType: UsageLimitFeatureType, limitType: UsageLimitLimitType, period: UsageLimitPeriod? = nil, tags: [Tag]? = nil)