Struct aws_sdk_opensearch::client::fluent_builders::CreateDomain [−][src]
pub struct CreateDomain<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateDomain
.
Creates a new Amazon OpenSearch Service domain. For more information, see Creating and managing Amazon OpenSearch Service domains in the Amazon OpenSearch Service Developer Guide.
Implementations
impl<C, M, R> CreateDomain<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateDomain<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateDomainOutput, SdkError<CreateDomainError>> where
R::Policy: SmithyRetryPolicy<CreateDomainInputOperationOutputAlias, CreateDomainOutput, CreateDomainError, CreateDomainInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateDomainOutput, SdkError<CreateDomainError>> where
R::Policy: SmithyRetryPolicy<CreateDomainInputOperationOutputAlias, CreateDomainOutput, CreateDomainError, CreateDomainInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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).
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).
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 .
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 .
Configuration options for a domain. Specifies the instance type and number of instances in the domain.
Configuration options for a domain. Specifies the instance type and number of instances in the domain.
Options to enable, disable, and specify the type and size of EBS storage volumes.
Options to enable, disable, and specify the type and size of EBS storage volumes.
IAM access policy as a JSON-formatted string.
IAM access policy as a JSON-formatted string.
Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
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 .
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 .
Options to specify the Cognito user and identity pools for OpenSearch Dashboards authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.
Options to specify the Cognito user and identity pools for OpenSearch Dashboards authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.
Options for encryption of data at rest.
Options for encryption of data at rest.
Node-to-node encryption options.
pub fn set_node_to_node_encryption_options(
self,
input: Option<NodeToNodeEncryptionOptions>
) -> Self
pub fn set_node_to_node_encryption_options(
self,
input: Option<NodeToNodeEncryptionOptions>
) -> Self
Node-to-node encryption options.
Adds a key-value pair to AdvancedOptions
.
To override the contents of this collection use set_advanced_options
.
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.
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.
pub fn log_publishing_options(
self,
k: impl Into<LogType>,
v: impl Into<LogPublishingOption>
) -> Self
pub fn log_publishing_options(
self,
k: impl Into<LogType>,
v: impl Into<LogPublishingOption>
) -> Self
Adds a key-value pair to LogPublishingOptions
.
To override the contents of this collection use set_log_publishing_options
.
Map of LogType
and LogPublishingOption
, each containing options to publish a given type
of OpenSearch log.
pub fn set_log_publishing_options(
self,
input: Option<HashMap<LogType, LogPublishingOption>>
) -> Self
pub fn set_log_publishing_options(
self,
input: Option<HashMap<LogType, LogPublishingOption>>
) -> Self
Map of LogType
and LogPublishingOption
, each containing options to publish a given type
of OpenSearch log.
Options to specify configurations that will be applied to the domain endpoint.
Options to specify configurations that will be applied to the domain endpoint.
Specifies advanced security options.
pub fn set_advanced_security_options(
self,
input: Option<AdvancedSecurityOptionsInput>
) -> Self
pub fn set_advanced_security_options(
self,
input: Option<AdvancedSecurityOptionsInput>
) -> Self
Specifies advanced security options.
Appends an item to TagList
.
To override the contents of this collection use set_tag_list
.
A list of Tag
added during domain creation.
A list of Tag
added during domain creation.
Specifies Auto-Tune options.
Specifies Auto-Tune options.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateDomain<C, M, R>
impl<C, M, R> Unpin for CreateDomain<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateDomain<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more