Skip to main content

aws_sdk_elementalinference/client/
disassociate_feed.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 [`DisassociateFeed`](crate::operation::disassociate_feed::builders::DisassociateFeedFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::disassociate_feed::builders::DisassociateFeedFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::disassociate_feed::builders::DisassociateFeedFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the feed where you want to release the resource.</p><br>
7    ///   - [`associated_resource_name(impl Into<String>)`](crate::operation::disassociate_feed::builders::DisassociateFeedFluentBuilder::associated_resource_name) / [`set_associated_resource_name(Option<String>)`](crate::operation::disassociate_feed::builders::DisassociateFeedFluentBuilder::set_associated_resource_name):<br>required: **true**<br><p>The name of the resource currently associated with the feed'.</p><br>
8    ///   - [`dry_run(bool)`](crate::operation::disassociate_feed::builders::DisassociateFeedFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::disassociate_feed::builders::DisassociateFeedFluentBuilder::set_dry_run):<br>required: **false**<br><p>Set to true if you want to do a dry run of the disassociate action.</p><br>
9    /// - On success, responds with [`DisassociateFeedOutput`](crate::operation::disassociate_feed::DisassociateFeedOutput) with field(s):
10    ///   - [`arn(String)`](crate::operation::disassociate_feed::DisassociateFeedOutput::arn): <p>The ID of the feed where you deleted the associated resource.</p>
11    ///   - [`id(String)`](crate::operation::disassociate_feed::DisassociateFeedOutput::id): <p>The ARN of the resource that you deleted.</p>
12    /// - On failure, responds with [`SdkError<DisassociateFeedError>`](crate::operation::disassociate_feed::DisassociateFeedError)
13    pub fn disassociate_feed(&self) -> crate::operation::disassociate_feed::builders::DisassociateFeedFluentBuilder {
14        crate::operation::disassociate_feed::builders::DisassociateFeedFluentBuilder::new(self.handle.clone())
15    }
16}