Struct aws_sdk_opensearch::types::InstanceTypeDetails
source · #[non_exhaustive]pub struct InstanceTypeDetails {
pub instance_type: Option<OpenSearchPartitionInstanceType>,
pub encryption_enabled: Option<bool>,
pub cognito_enabled: Option<bool>,
pub app_logs_enabled: Option<bool>,
pub advanced_security_enabled: Option<bool>,
pub warm_enabled: Option<bool>,
pub instance_role: Option<Vec<String>>,
pub availability_zones: Option<Vec<String>>,
}
Expand description
Lists all instance types and available features for a given OpenSearch or Elasticsearch version.
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.instance_type: Option<OpenSearchPartitionInstanceType>
The instance type.
encryption_enabled: Option<bool>
Whether encryption at rest and node-to-node encryption are supported for the instance type.
cognito_enabled: Option<bool>
Whether Amazon Cognito access is supported for the instance type.
app_logs_enabled: Option<bool>
Whether logging is supported for the instance type.
advanced_security_enabled: Option<bool>
Whether fine-grained access control is supported for the instance type.
warm_enabled: Option<bool>
Whether UltraWarm is supported for the instance type.
instance_role: Option<Vec<String>>
Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.
availability_zones: Option<Vec<String>>
The supported Availability Zones for the instance type.
Implementations§
source§impl InstanceTypeDetails
impl InstanceTypeDetails
sourcepub fn instance_type(&self) -> Option<&OpenSearchPartitionInstanceType>
pub fn instance_type(&self) -> Option<&OpenSearchPartitionInstanceType>
The instance type.
sourcepub fn encryption_enabled(&self) -> Option<bool>
pub fn encryption_enabled(&self) -> Option<bool>
Whether encryption at rest and node-to-node encryption are supported for the instance type.
sourcepub fn cognito_enabled(&self) -> Option<bool>
pub fn cognito_enabled(&self) -> Option<bool>
Whether Amazon Cognito access is supported for the instance type.
sourcepub fn app_logs_enabled(&self) -> Option<bool>
pub fn app_logs_enabled(&self) -> Option<bool>
Whether logging is supported for the instance type.
sourcepub fn advanced_security_enabled(&self) -> Option<bool>
pub fn advanced_security_enabled(&self) -> Option<bool>
Whether fine-grained access control is supported for the instance type.
sourcepub fn warm_enabled(&self) -> Option<bool>
pub fn warm_enabled(&self) -> Option<bool>
Whether UltraWarm is supported for the instance type.
sourcepub fn instance_role(&self) -> &[String]
pub fn instance_role(&self) -> &[String]
Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .instance_role.is_none()
.
sourcepub fn availability_zones(&self) -> &[String]
pub fn availability_zones(&self) -> &[String]
The supported Availability Zones for the 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 .availability_zones.is_none()
.
source§impl InstanceTypeDetails
impl InstanceTypeDetails
sourcepub fn builder() -> InstanceTypeDetailsBuilder
pub fn builder() -> InstanceTypeDetailsBuilder
Creates a new builder-style object to manufacture InstanceTypeDetails
.
Trait Implementations§
source§impl Clone for InstanceTypeDetails
impl Clone for InstanceTypeDetails
source§fn clone(&self) -> InstanceTypeDetails
fn clone(&self) -> InstanceTypeDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceTypeDetails
impl Debug for InstanceTypeDetails
source§impl PartialEq for InstanceTypeDetails
impl PartialEq for InstanceTypeDetails
source§fn eq(&self, other: &InstanceTypeDetails) -> bool
fn eq(&self, other: &InstanceTypeDetails) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceTypeDetails
Auto Trait Implementations§
impl Freeze for InstanceTypeDetails
impl RefUnwindSafe for InstanceTypeDetails
impl Send for InstanceTypeDetails
impl Sync for InstanceTypeDetails
impl Unpin for InstanceTypeDetails
impl UnwindSafe for InstanceTypeDetails
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