Struct aws_sdk_opensearch::input::UpdateDomainConfigInput
source · #[non_exhaustive]pub struct UpdateDomainConfigInput { /* private fields */ }
Expand description
Container for the parameters to the
operation. Specifies the type and number of instances in the domain cluster. UpdateDomain
Implementations§
source§impl UpdateDomainConfigInput
impl UpdateDomainConfigInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDomainConfig, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDomainConfig, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateDomainConfig
>
Examples found in repository?
4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateDomainConfig,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateDomainConfigError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateDomainConfigOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateDomainConfigError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateDomainConfigInput
.
source§impl UpdateDomainConfigInput
impl UpdateDomainConfigInput
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The name of the domain you're updating.
sourcepub fn cluster_config(&self) -> Option<&ClusterConfig>
pub fn cluster_config(&self) -> Option<&ClusterConfig>
The type and number of instances to instantiate for the domain cluster.
sourcepub fn ebs_options(&self) -> Option<&EbsOptions>
pub fn ebs_options(&self) -> Option<&EbsOptions>
Specify the type and size of the EBS volume to use.
sourcepub fn snapshot_options(&self) -> Option<&SnapshotOptions>
pub fn snapshot_options(&self) -> Option<&SnapshotOptions>
Option to set the time, in UTC format, for 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 the 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 advanced_options(&self) -> Option<&HashMap<String, String>>
pub fn advanced_options(&self) -> Option<&HashMap<String, String>>
Modifies the advanced 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 options for more information.
sourcepub fn access_policies(&self) -> Option<&str>
pub fn access_policies(&self) -> Option<&str>
IAM access policy as a JSON-formatted string.
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 encryption_at_rest_options(&self) -> Option<&EncryptionAtRestOptions>
pub fn encryption_at_rest_options(&self) -> Option<&EncryptionAtRestOptions>
Specifies encryption of data at rest options.
sourcepub fn domain_endpoint_options(&self) -> Option<&DomainEndpointOptions>
pub fn domain_endpoint_options(&self) -> Option<&DomainEndpointOptions>
Options to specify configuration that will be applied to the domain endpoint.
sourcepub fn node_to_node_encryption_options(
&self
) -> Option<&NodeToNodeEncryptionOptions>
pub fn node_to_node_encryption_options(
&self
) -> Option<&NodeToNodeEncryptionOptions>
Specifies node-to-node encryption options.
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<&AutoTuneOptions>
pub fn auto_tune_options(&self) -> Option<&AutoTuneOptions>
Specifies Auto-Tune options.
Trait Implementations§
source§impl Clone for UpdateDomainConfigInput
impl Clone for UpdateDomainConfigInput
source§fn clone(&self) -> UpdateDomainConfigInput
fn clone(&self) -> UpdateDomainConfigInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more