aws-sdk-opensearch 1.138.0

AWS SDK for Amazon OpenSearch Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DetachDataSource`](crate::operation::detach_data_source::builders::DetachDataSourceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::detach_data_source::builders::DetachDataSourceFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::detach_data_source::builders::DetachDataSourceFluentBuilder::set_id):<br>required: **true**<br><p>The unique identifier or name of the OpenSearch application to detach the data source from.</p><br>
    ///   - [`data_source_arn(impl Into<String>)`](crate::operation::detach_data_source::builders::DetachDataSourceFluentBuilder::data_source_arn) / [`set_data_source_arn(Option<String>)`](crate::operation::detach_data_source::builders::DetachDataSourceFluentBuilder::set_data_source_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the domain. See <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html">Identifiers for IAM Entities </a> in <i>Using Amazon Web Services Identity and Access Management</i> for more information.</p><br>
    /// - On success, responds with [`DetachDataSourceOutput`](crate::operation::detach_data_source::DetachDataSourceOutput) with field(s):
    ///   - [`id(Option<String>)`](crate::operation::detach_data_source::DetachDataSourceOutput::id): <p>The unique identifier of the OpenSearch application.</p>
    ///   - [`arn(Option<String>)`](crate::operation::detach_data_source::DetachDataSourceOutput::arn): <p>The Amazon Resource Name (ARN) of the domain. See <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html">Identifiers for IAM Entities </a> in <i>Using Amazon Web Services Identity and Access Management</i> for more information.</p>
    ///   - [`data_source_arn(Option<String>)`](crate::operation::detach_data_source::DetachDataSourceOutput::data_source_arn): <p>The Amazon Resource Name (ARN) of the domain. See <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html">Identifiers for IAM Entities </a> in <i>Using Amazon Web Services Identity and Access Management</i> for more information.</p>
    /// - On failure, responds with [`SdkError<DetachDataSourceError>`](crate::operation::detach_data_source::DetachDataSourceError)
    pub fn detach_data_source(&self) -> crate::operation::detach_data_source::builders::DetachDataSourceFluentBuilder {
        crate::operation::detach_data_source::builders::DetachDataSourceFluentBuilder::new(self.handle.clone())
    }
}