pub struct UpdatePipelineFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdatePipeline
.
Updates an OpenSearch Ingestion pipeline. For more information, see Updating Amazon OpenSearch Ingestion pipelines.
Implementations§
source§impl UpdatePipelineFluentBuilder
impl UpdatePipelineFluentBuilder
sourcepub fn as_input(&self) -> &UpdatePipelineInputBuilder
pub fn as_input(&self) -> &UpdatePipelineInputBuilder
Access the UpdatePipeline as a reference.
sourcepub async fn send(
self
) -> Result<UpdatePipelineOutput, SdkError<UpdatePipelineError, HttpResponse>>
pub async fn send( self ) -> Result<UpdatePipelineOutput, SdkError<UpdatePipelineError, HttpResponse>>
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.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdatePipelineOutput, UpdatePipelineError, Self>, SdkError<UpdatePipelineError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdatePipelineOutput, UpdatePipelineError, Self>, SdkError<UpdatePipelineError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn pipeline_name(self, input: impl Into<String>) -> Self
pub fn pipeline_name(self, input: impl Into<String>) -> Self
The name of the pipeline to update.
sourcepub fn set_pipeline_name(self, input: Option<String>) -> Self
pub fn set_pipeline_name(self, input: Option<String>) -> Self
The name of the pipeline to update.
sourcepub fn get_pipeline_name(&self) -> &Option<String>
pub fn get_pipeline_name(&self) -> &Option<String>
The name of the pipeline to update.
sourcepub fn min_units(self, input: i32) -> Self
pub fn min_units(self, input: i32) -> Self
The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
sourcepub fn set_min_units(self, input: Option<i32>) -> Self
pub fn set_min_units(self, input: Option<i32>) -> Self
The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
sourcepub fn get_min_units(&self) -> &Option<i32>
pub fn get_min_units(&self) -> &Option<i32>
The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
sourcepub fn max_units(self, input: i32) -> Self
pub fn max_units(self, input: i32) -> Self
The maximum pipeline capacity, in Ingestion Compute Units (ICUs)
sourcepub fn set_max_units(self, input: Option<i32>) -> Self
pub fn set_max_units(self, input: Option<i32>) -> Self
The maximum pipeline capacity, in Ingestion Compute Units (ICUs)
sourcepub fn get_max_units(&self) -> &Option<i32>
pub fn get_max_units(&self) -> &Option<i32>
The maximum pipeline capacity, in Ingestion Compute Units (ICUs)
sourcepub fn pipeline_configuration_body(self, input: impl Into<String>) -> Self
pub fn pipeline_configuration_body(self, input: impl Into<String>) -> Self
The pipeline configuration in YAML format. The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \n
.
sourcepub fn set_pipeline_configuration_body(self, input: Option<String>) -> Self
pub fn set_pipeline_configuration_body(self, input: Option<String>) -> Self
The pipeline configuration in YAML format. The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \n
.
sourcepub fn get_pipeline_configuration_body(&self) -> &Option<String>
pub fn get_pipeline_configuration_body(&self) -> &Option<String>
The pipeline configuration in YAML format. The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \n
.
sourcepub fn log_publishing_options(self, input: LogPublishingOptions) -> Self
pub fn log_publishing_options(self, input: LogPublishingOptions) -> Self
Key-value pairs to configure log publishing.
sourcepub fn set_log_publishing_options(
self,
input: Option<LogPublishingOptions>
) -> Self
pub fn set_log_publishing_options( self, input: Option<LogPublishingOptions> ) -> Self
Key-value pairs to configure log publishing.
sourcepub fn get_log_publishing_options(&self) -> &Option<LogPublishingOptions>
pub fn get_log_publishing_options(&self) -> &Option<LogPublishingOptions>
Key-value pairs to configure log publishing.
Trait Implementations§
source§impl Clone for UpdatePipelineFluentBuilder
impl Clone for UpdatePipelineFluentBuilder
source§fn clone(&self) -> UpdatePipelineFluentBuilder
fn clone(&self) -> UpdatePipelineFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more