Struct aws_sdk_opensearch::types::Limits
source · #[non_exhaustive]pub struct Limits {
pub storage_types: Option<Vec<StorageType>>,
pub instance_limits: Option<InstanceLimits>,
pub additional_limits: Option<Vec<AdditionalLimit>>,
}
Expand description
Limits for a given instance type and for each of its roles.
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.storage_types: Option<Vec<StorageType>>
Storage-related attributes that are available for a given instance type.
instance_limits: Option<InstanceLimits>
The limits for a given instance type.
additional_limits: Option<Vec<AdditionalLimit>>
List of additional limits that are specific to a given instance type for each of its instance roles.
Implementations§
source§impl Limits
impl Limits
sourcepub fn storage_types(&self) -> &[StorageType]
pub fn storage_types(&self) -> &[StorageType]
Storage-related attributes that are available for a given instance type.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .storage_types.is_none()
.
sourcepub fn instance_limits(&self) -> Option<&InstanceLimits>
pub fn instance_limits(&self) -> Option<&InstanceLimits>
The limits for a given instance type.
sourcepub fn additional_limits(&self) -> &[AdditionalLimit]
pub fn additional_limits(&self) -> &[AdditionalLimit]
List of additional limits that are specific to a given instance type for each of its instance roles.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .additional_limits.is_none()
.