Struct aws_sdk_sagemaker::types::ThroughputConfigUpdate
source · #[non_exhaustive]pub struct ThroughputConfigUpdate {
pub throughput_mode: Option<ThroughputMode>,
pub provisioned_read_capacity_units: Option<i32>,
pub provisioned_write_capacity_units: Option<i32>,
}
Expand description
The new throughput configuration for the feature group. You can switch between on-demand and provisioned modes or update the read / write capacity of provisioned feature groups. You can switch a feature group to on-demand only once in a 24 hour period.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.throughput_mode: Option<ThroughputMode>
Target throughput mode of the feature group. Throughput update is an asynchronous operation, and the outcome should be monitored by polling LastUpdateStatus
field in DescribeFeatureGroup
response. You cannot update a feature group's throughput while another update is in progress.
provisioned_read_capacity_units: Option<i32>
For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling.
provisioned_write_capacity_units: Option<i32>
For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.
Implementations§
source§impl ThroughputConfigUpdate
impl ThroughputConfigUpdate
sourcepub fn throughput_mode(&self) -> Option<&ThroughputMode>
pub fn throughput_mode(&self) -> Option<&ThroughputMode>
Target throughput mode of the feature group. Throughput update is an asynchronous operation, and the outcome should be monitored by polling LastUpdateStatus
field in DescribeFeatureGroup
response. You cannot update a feature group's throughput while another update is in progress.
sourcepub fn provisioned_read_capacity_units(&self) -> Option<i32>
pub fn provisioned_read_capacity_units(&self) -> Option<i32>
For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling.
sourcepub fn provisioned_write_capacity_units(&self) -> Option<i32>
pub fn provisioned_write_capacity_units(&self) -> Option<i32>
For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.
source§impl ThroughputConfigUpdate
impl ThroughputConfigUpdate
sourcepub fn builder() -> ThroughputConfigUpdateBuilder
pub fn builder() -> ThroughputConfigUpdateBuilder
Creates a new builder-style object to manufacture ThroughputConfigUpdate
.
Trait Implementations§
source§impl Clone for ThroughputConfigUpdate
impl Clone for ThroughputConfigUpdate
source§fn clone(&self) -> ThroughputConfigUpdate
fn clone(&self) -> ThroughputConfigUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ThroughputConfigUpdate
impl Debug for ThroughputConfigUpdate
source§impl PartialEq for ThroughputConfigUpdate
impl PartialEq for ThroughputConfigUpdate
source§fn eq(&self, other: &ThroughputConfigUpdate) -> bool
fn eq(&self, other: &ThroughputConfigUpdate) -> bool
self
and other
values to be equal, and is used
by ==
.