pub struct CreateUsageLimitMessage {
pub amount: i64,
pub breach_action: Option<String>,
pub cluster_identifier: String,
pub feature_type: String,
pub limit_type: String,
pub period: Option<String>,
pub tags: Option<Vec<Tag>>,
}Fields§
§amount: i64The 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.
breach_action: Option<String>The action that Amazon Redshift takes when the limit is reached. The default is log. For more information about this parameter, see UsageLimit.
cluster_identifier: StringThe identifier of the cluster that you want to limit usage.
feature_type: StringThe Amazon Redshift feature that you want to limit.
limit_type: StringThe 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.
period: Option<String>The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.
A list of tag instances.
Trait Implementations§
Source§impl Clone for CreateUsageLimitMessage
impl Clone for CreateUsageLimitMessage
Source§fn clone(&self) -> CreateUsageLimitMessage
fn clone(&self) -> CreateUsageLimitMessage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more