aws_sdk_elasticsearch/client/
dissociate_package.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 [`DissociatePackage`](crate::operation::dissociate_package::builders::DissociatePackageFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`package_id(impl Into<String>)`](crate::operation::dissociate_package::builders::DissociatePackageFluentBuilder::package_id) / [`set_package_id(Option<String>)`](crate::operation::dissociate_package::builders::DissociatePackageFluentBuilder::set_package_id):<br>required: **true**<br><p>Internal ID of the package that you want to associate with a domain. Use <code>DescribePackages</code> to find this value.</p><br>
7    ///   - [`domain_name(impl Into<String>)`](crate::operation::dissociate_package::builders::DissociatePackageFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::dissociate_package::builders::DissociatePackageFluentBuilder::set_domain_name):<br>required: **true**<br><p>Name of the domain that you want to associate the package with.</p><br>
8    /// - On success, responds with [`DissociatePackageOutput`](crate::operation::dissociate_package::DissociatePackageOutput) with field(s):
9    ///   - [`domain_package_details(Option<DomainPackageDetails>)`](crate::operation::dissociate_package::DissociatePackageOutput::domain_package_details): <p><code>DomainPackageDetails</code></p>
10    /// - On failure, responds with [`SdkError<DissociatePackageError>`](crate::operation::dissociate_package::DissociatePackageError)
11    pub fn dissociate_package(&self) -> crate::operation::dissociate_package::builders::DissociatePackageFluentBuilder {
12        crate::operation::dissociate_package::builders::DissociatePackageFluentBuilder::new(self.handle.clone())
13    }
14}