Struct aws_sdk_opensearch::input::CreateDomainInput
source · [−]#[non_exhaustive]pub struct CreateDomainInput {Show 16 fields
pub domain_name: Option<String>,
pub engine_version: Option<String>,
pub cluster_config: Option<ClusterConfig>,
pub ebs_options: Option<EbsOptions>,
pub access_policies: Option<String>,
pub snapshot_options: Option<SnapshotOptions>,
pub vpc_options: Option<VpcOptions>,
pub cognito_options: Option<CognitoOptions>,
pub encryption_at_rest_options: Option<EncryptionAtRestOptions>,
pub node_to_node_encryption_options: Option<NodeToNodeEncryptionOptions>,
pub advanced_options: Option<HashMap<String, String>>,
pub log_publishing_options: Option<HashMap<LogType, LogPublishingOption>>,
pub domain_endpoint_options: Option<DomainEndpointOptions>,
pub advanced_security_options: Option<AdvancedSecurityOptionsInput>,
pub tag_list: Option<Vec<Tag>>,
pub auto_tune_options: Option<AutoTuneOptionsInput>,
}
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.domain_name: Option<String>
The name of the Amazon OpenSearch Service domain you're creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a lowercase letter and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
engine_version: Option<String>
String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the Amazon OpenSearch Service domain. For example, "OpenSearch_1.0" or "Elasticsearch_7.9". For more information, see Creating and managing Amazon OpenSearch Service domains .
cluster_config: Option<ClusterConfig>
Configuration options for a domain. Specifies the instance type and number of instances in the domain.
ebs_options: Option<EbsOptions>
Options to enable, disable, and specify the type and size of EBS storage volumes.
access_policies: Option<String>
IAM access policy as a JSON-formatted string.
snapshot_options: Option<SnapshotOptions>
Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
vpc_options: Option<VpcOptions>
Options to specify the subnets and security groups for a VPC endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC .
cognito_options: Option<CognitoOptions>
Options to specify the Cognito user and identity pools for OpenSearch Dashboards authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.
encryption_at_rest_options: Option<EncryptionAtRestOptions>
Options for encryption of data at rest.
node_to_node_encryption_options: Option<NodeToNodeEncryptionOptions>
Node-to-node encryption options.
advanced_options: Option<HashMap<String, String>>
Option to allow references to indices in an HTTP request body. Must be false
when configuring access to individual sub-resources. By default, the value is true
. See Advanced cluster parameters for more information.
log_publishing_options: Option<HashMap<LogType, LogPublishingOption>>
Map of LogType
and LogPublishingOption
, each containing options to publish a given type of OpenSearch log.
domain_endpoint_options: Option<DomainEndpointOptions>
Options to specify configurations that will be applied to the domain endpoint.
advanced_security_options: Option<AdvancedSecurityOptionsInput>
Specifies advanced security options.
tag_list: Option<Vec<Tag>>
A list of Tag
added during domain creation.
auto_tune_options: Option<AutoTuneOptionsInput>
Specifies Auto-Tune options.
Implementations
sourceimpl CreateDomainInput
impl CreateDomainInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDomain, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDomain, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateDomain
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateDomainInput
sourceimpl CreateDomainInput
impl CreateDomainInput
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The name of the Amazon OpenSearch Service domain you're creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a lowercase letter and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
sourcepub fn engine_version(&self) -> Option<&str>
pub fn engine_version(&self) -> Option<&str>
String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the Amazon OpenSearch Service domain. For example, "OpenSearch_1.0" or "Elasticsearch_7.9". For more information, see Creating and managing Amazon OpenSearch Service domains .
sourcepub fn cluster_config(&self) -> Option<&ClusterConfig>
pub fn cluster_config(&self) -> Option<&ClusterConfig>
Configuration options for a domain. Specifies the instance type and number of instances in the domain.
sourcepub fn ebs_options(&self) -> Option<&EbsOptions>
pub fn ebs_options(&self) -> Option<&EbsOptions>
Options to enable, disable, and specify the type and size of EBS storage volumes.
sourcepub fn access_policies(&self) -> Option<&str>
pub fn access_policies(&self) -> Option<&str>
IAM access policy as a JSON-formatted string.
sourcepub fn snapshot_options(&self) -> Option<&SnapshotOptions>
pub fn snapshot_options(&self) -> Option<&SnapshotOptions>
Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
sourcepub fn vpc_options(&self) -> Option<&VpcOptions>
pub fn vpc_options(&self) -> Option<&VpcOptions>
Options to specify the subnets and security groups for a VPC endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC .
sourcepub fn cognito_options(&self) -> Option<&CognitoOptions>
pub fn cognito_options(&self) -> Option<&CognitoOptions>
Options to specify the Cognito user and identity pools for OpenSearch Dashboards authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.
sourcepub fn encryption_at_rest_options(&self) -> Option<&EncryptionAtRestOptions>
pub fn encryption_at_rest_options(&self) -> Option<&EncryptionAtRestOptions>
Options for encryption of data at rest.
sourcepub fn node_to_node_encryption_options(
&self
) -> Option<&NodeToNodeEncryptionOptions>
pub fn node_to_node_encryption_options(
&self
) -> Option<&NodeToNodeEncryptionOptions>
Node-to-node encryption options.
sourcepub fn advanced_options(&self) -> Option<&HashMap<String, String>>
pub fn advanced_options(&self) -> Option<&HashMap<String, String>>
Option to allow references to indices in an HTTP request body. Must be false
when configuring access to individual sub-resources. By default, the value is true
. See Advanced cluster parameters for more information.
sourcepub fn log_publishing_options(
&self
) -> Option<&HashMap<LogType, LogPublishingOption>>
pub fn log_publishing_options(
&self
) -> Option<&HashMap<LogType, LogPublishingOption>>
Map of LogType
and LogPublishingOption
, each containing options to publish a given type of OpenSearch log.
sourcepub fn domain_endpoint_options(&self) -> Option<&DomainEndpointOptions>
pub fn domain_endpoint_options(&self) -> Option<&DomainEndpointOptions>
Options to specify configurations that will be applied to the domain endpoint.
sourcepub fn advanced_security_options(&self) -> Option<&AdvancedSecurityOptionsInput>
pub fn advanced_security_options(&self) -> Option<&AdvancedSecurityOptionsInput>
Specifies advanced security options.
sourcepub fn auto_tune_options(&self) -> Option<&AutoTuneOptionsInput>
pub fn auto_tune_options(&self) -> Option<&AutoTuneOptionsInput>
Specifies Auto-Tune options.
Trait Implementations
sourceimpl Clone for CreateDomainInput
impl Clone for CreateDomainInput
sourcefn clone(&self) -> CreateDomainInput
fn clone(&self) -> CreateDomainInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateDomainInput
impl Debug for CreateDomainInput
sourceimpl PartialEq<CreateDomainInput> for CreateDomainInput
impl PartialEq<CreateDomainInput> for CreateDomainInput
sourcefn eq(&self, other: &CreateDomainInput) -> bool
fn eq(&self, other: &CreateDomainInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateDomainInput) -> bool
fn ne(&self, other: &CreateDomainInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateDomainInput
Auto Trait Implementations
impl RefUnwindSafe for CreateDomainInput
impl Send for CreateDomainInput
impl Sync for CreateDomainInput
impl Unpin for CreateDomainInput
impl UnwindSafe for CreateDomainInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more