pub struct UsageLimit {
pub amount: Option<i64>,
pub breach_action: Option<String>,
pub cluster_identifier: Option<String>,
pub feature_type: Option<String>,
pub limit_type: Option<String>,
pub period: Option<String>,
pub tags: Option<Vec<Tag>>,
pub usage_limit_id: Option<String>,
}
Expand description
Describes a usage limit object for a cluster.
Fields§
§amount: Option<i64>
The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).
breach_action: Option<String>
The action that Amazon Redshift takes when the limit is reached. Possible values are:
-
log - To log an event in a system table. The default is log.
-
emit-metric - To emit CloudWatch metrics.
-
disable - To disable the feature until the next usage period begins.
cluster_identifier: Option<String>
The identifier of the cluster with a usage limit.
feature_type: Option<String>
The Amazon Redshift feature to which the limit applies.
limit_type: Option<String>
The type of limit. Depending on the feature type, this can be based on a time duration or data size.
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.
usage_limit_id: Option<String>
The identifier of the usage limit.
Trait Implementations§
Source§impl Clone for UsageLimit
impl Clone for UsageLimit
Source§fn clone(&self) -> UsageLimit
fn clone(&self) -> UsageLimit
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more