#[non_exhaustive]pub struct ThroughputConfigDescription {
pub throughput_mode: Option<ThroughputMode>,
pub provisioned_read_capacity_units: Option<i32>,
pub provisioned_write_capacity_units: Option<i32>,
}
Expand description
Active throughput configuration of the feature group. There are two modes: ON_DEMAND
and PROVISIONED
. With on-demand mode, you are charged for data reads and writes that your application performs on your feature group. You do not need to specify read and write throughput because Feature Store accommodates your workloads as they ramp up and down. You can switch a feature group to on-demand only once in a 24 hour period. With provisioned throughput mode, you specify the read and write capacity per second that you expect your application to require, and you are billed based on those limits. Exceeding provisioned throughput will result in your requests being throttled.
Note: PROVISIONED
throughput mode is supported only for feature groups that are offline-only, or use the Standard
tier online store.
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>
The mode used for your feature group throughput: ON_DEMAND
or PROVISIONED
.
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.
This field is not applicable for on-demand feature groups.
provisioned_write_capacity_units: Option<i32>
For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.
This field is not applicable for on-demand feature groups.
Implementations§
source§impl ThroughputConfigDescription
impl ThroughputConfigDescription
sourcepub fn throughput_mode(&self) -> Option<&ThroughputMode>
pub fn throughput_mode(&self) -> Option<&ThroughputMode>
The mode used for your feature group throughput: ON_DEMAND
or PROVISIONED
.
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.
This field is not applicable for on-demand feature groups.
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.
This field is not applicable for on-demand feature groups.
source§impl ThroughputConfigDescription
impl ThroughputConfigDescription
sourcepub fn builder() -> ThroughputConfigDescriptionBuilder
pub fn builder() -> ThroughputConfigDescriptionBuilder
Creates a new builder-style object to manufacture ThroughputConfigDescription
.
Trait Implementations§
source§impl Clone for ThroughputConfigDescription
impl Clone for ThroughputConfigDescription
source§fn clone(&self) -> ThroughputConfigDescription
fn clone(&self) -> ThroughputConfigDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ThroughputConfigDescription
impl Debug for ThroughputConfigDescription
impl StructuralPartialEq for ThroughputConfigDescription
Auto Trait Implementations§
impl Freeze for ThroughputConfigDescription
impl RefUnwindSafe for ThroughputConfigDescription
impl Send for ThroughputConfigDescription
impl Sync for ThroughputConfigDescription
impl Unpin for ThroughputConfigDescription
impl UnwindSafe for ThroughputConfigDescription
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