aws_sdk_opensearch/client/
cancel_service_software_update.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`CancelServiceSoftwareUpdate`](crate::operation::cancel_service_software_update::builders::CancelServiceSoftwareUpdateFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`domain_name(impl Into<String>)`](crate::operation::cancel_service_software_update::builders::CancelServiceSoftwareUpdateFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::cancel_service_software_update::builders::CancelServiceSoftwareUpdateFluentBuilder::set_domain_name):<br>required: **true**<br><p>Name of the OpenSearch Service domain that you want to cancel the service software update on.</p><br>
7    /// - On success, responds with [`CancelServiceSoftwareUpdateOutput`](crate::operation::cancel_service_software_update::CancelServiceSoftwareUpdateOutput) with field(s):
8    ///   - [`service_software_options(Option<ServiceSoftwareOptions>)`](crate::operation::cancel_service_software_update::CancelServiceSoftwareUpdateOutput::service_software_options): <p>Container for the state of your domain relative to the latest service software.</p>
9    /// - On failure, responds with [`SdkError<CancelServiceSoftwareUpdateError>`](crate::operation::cancel_service_software_update::CancelServiceSoftwareUpdateError)
10    pub fn cancel_service_software_update(
11        &self,
12    ) -> crate::operation::cancel_service_software_update::builders::CancelServiceSoftwareUpdateFluentBuilder {
13        crate::operation::cancel_service_software_update::builders::CancelServiceSoftwareUpdateFluentBuilder::new(self.handle.clone())
14    }
15}