Class: Aws::SageMaker::Types::ThroughputConfig

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sagemaker/types.rb

Overview

Used to set feature group throughput configuration. 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` ][1] tier online store.

[1]: docs.aws.amazon.com/sagemaker/latest/APIReference/API_OnlineStoreConfig.html#sagemaker-Type-OnlineStoreConfig-StorageType

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#provisioned_read_capacity_unitsInteger

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.

Returns:

  • (Integer)


42582
42583
42584
42585
42586
42587
42588
# File 'lib/aws-sdk-sagemaker/types.rb', line 42582

class ThroughputConfig < Struct.new(
  :throughput_mode,
  :provisioned_read_capacity_units,
  :provisioned_write_capacity_units)
  SENSITIVE = []
  include Aws::Structure
end

#provisioned_write_capacity_unitsInteger

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.

Returns:

  • (Integer)


42582
42583
42584
42585
42586
42587
42588
# File 'lib/aws-sdk-sagemaker/types.rb', line 42582

class ThroughputConfig < Struct.new(
  :throughput_mode,
  :provisioned_read_capacity_units,
  :provisioned_write_capacity_units)
  SENSITIVE = []
  include Aws::Structure
end

#throughput_modeString

The mode used for your feature group throughput: ‘ON_DEMAND` or `PROVISIONED`.

Returns:

  • (String)


42582
42583
42584
42585
42586
42587
42588
# File 'lib/aws-sdk-sagemaker/types.rb', line 42582

class ThroughputConfig < Struct.new(
  :throughput_mode,
  :provisioned_read_capacity_units,
  :provisioned_write_capacity_units)
  SENSITIVE = []
  include Aws::Structure
end