#[non_exhaustive]
pub struct DomainStatus {
Show 13 fields pub domain_id: String, pub domain_name: String, pub arn: Option<String>, pub created: Option<bool>, pub deleted: Option<bool>, pub doc_service: Option<ServiceEndpoint>, pub search_service: Option<ServiceEndpoint>, pub requires_index_documents: bool, pub processing: Option<bool>, pub search_instance_type: Option<String>, pub search_partition_count: Option<i32>, pub search_instance_count: Option<i32>, pub limits: Option<Limits>,
}
Expand description

The current status of the search domain.

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§domain_id: String

An internally generated unique identifier for a domain.

§domain_name: String

A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

§arn: Option<String>

The Amazon Resource Name (ARN) of the search domain. See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.

§created: Option<bool>

True if the search domain is created. It can take several minutes to initialize a domain when CreateDomain is called. Newly created search domains are returned from DescribeDomains with a false value for Created until domain creation is complete.

§deleted: Option<bool>

True if the search domain has been deleted. The system must clean up resources dedicated to the search domain when DeleteDomain is called. Newly deleted search domains are returned from DescribeDomains with a true value for IsDeleted for several minutes until resource cleanup is complete.

§doc_service: Option<ServiceEndpoint>

The service endpoint for updating documents in a search domain.

§search_service: Option<ServiceEndpoint>

The service endpoint for requesting search results from a search domain.

§requires_index_documents: bool

True if IndexDocuments needs to be called to activate the current domain configuration.

§processing: Option<bool>

True if processing is being done to activate the current domain configuration.

§search_instance_type: Option<String>

The instance type that is being used to process search requests.

§search_partition_count: Option<i32>

The number of partitions across which the search index is spread.

§search_instance_count: Option<i32>

The number of search instances that are available to process search requests.

§limits: Option<Limits>

Implementations§

source§

impl DomainStatus

source

pub fn domain_id(&self) -> &str

An internally generated unique identifier for a domain.

source

pub fn domain_name(&self) -> &str

A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

source

pub fn arn(&self) -> Option<&str>

The Amazon Resource Name (ARN) of the search domain. See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.

source

pub fn created(&self) -> Option<bool>

True if the search domain is created. It can take several minutes to initialize a domain when CreateDomain is called. Newly created search domains are returned from DescribeDomains with a false value for Created until domain creation is complete.

source

pub fn deleted(&self) -> Option<bool>

True if the search domain has been deleted. The system must clean up resources dedicated to the search domain when DeleteDomain is called. Newly deleted search domains are returned from DescribeDomains with a true value for IsDeleted for several minutes until resource cleanup is complete.

source

pub fn doc_service(&self) -> Option<&ServiceEndpoint>

The service endpoint for updating documents in a search domain.

source

pub fn search_service(&self) -> Option<&ServiceEndpoint>

The service endpoint for requesting search results from a search domain.

source

pub fn requires_index_documents(&self) -> bool

True if IndexDocuments needs to be called to activate the current domain configuration.

source

pub fn processing(&self) -> Option<bool>

True if processing is being done to activate the current domain configuration.

source

pub fn search_instance_type(&self) -> Option<&str>

The instance type that is being used to process search requests.

source

pub fn search_partition_count(&self) -> Option<i32>

The number of partitions across which the search index is spread.

source

pub fn search_instance_count(&self) -> Option<i32>

The number of search instances that are available to process search requests.

source

pub fn limits(&self) -> Option<&Limits>

source§

impl DomainStatus

source

pub fn builder() -> DomainStatusBuilder

Creates a new builder-style object to manufacture DomainStatus.

Trait Implementations§

source§

impl Clone for DomainStatus

source§

fn clone(&self) -> DomainStatus

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DomainStatus

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for DomainStatus

source§

fn eq(&self, other: &DomainStatus) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for DomainStatus

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unsharedwhere Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more