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 ==
.impl StructuralPartialEq for ThroughputConfigUpdate
Auto Trait Implementations§
impl Freeze for ThroughputConfigUpdate
impl RefUnwindSafe for ThroughputConfigUpdate
impl Send for ThroughputConfigUpdate
impl Sync for ThroughputConfigUpdate
impl Unpin for ThroughputConfigUpdate
impl UnwindSafe for ThroughputConfigUpdate
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more