Skip to main content

aws_sdk_elementalinference/client/
delete_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 [`DeleteFeed`](crate::operation::delete_feed::builders::DeleteFeedFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::delete_feed::builders::DeleteFeedFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_feed::builders::DeleteFeedFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the feed.</p><br>
7    /// - On success, responds with [`DeleteFeedOutput`](crate::operation::delete_feed::DeleteFeedOutput) with field(s):
8    ///   - [`arn(String)`](crate::operation::delete_feed::DeleteFeedOutput::arn): <p>The ARN of the deleted feed.</p>
9    ///   - [`id(String)`](crate::operation::delete_feed::DeleteFeedOutput::id): <p>The ID of the deleted feed.</p>
10    ///   - [`status(FeedStatus)`](crate::operation::delete_feed::DeleteFeedOutput::status): <p>The current status of the feed. When deletion of the feed has succeeded, the status will be DELETED.</p>
11    /// - On failure, responds with [`SdkError<DeleteFeedError>`](crate::operation::delete_feed::DeleteFeedError)
12    pub fn delete_feed(&self) -> crate::operation::delete_feed::builders::DeleteFeedFluentBuilder {
13        crate::operation::delete_feed::builders::DeleteFeedFluentBuilder::new(self.handle.clone())
14    }
15}