Skip to main content

aws_sdk_elementalinference/client/
update_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 [`UpdateFeed`](crate::operation::update_feed::builders::UpdateFeedFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::update_feed::builders::UpdateFeedFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_feed::builders::UpdateFeedFluentBuilder::set_name):<br>required: **true**<br><p>Required. You can specify the existing name (to leave it unchanged) or a new name.</p><br>
7    ///   - [`id(impl Into<String>)`](crate::operation::update_feed::builders::UpdateFeedFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_feed::builders::UpdateFeedFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the feed to update.</p><br>
8    ///   - [`outputs(UpdateOutput)`](crate::operation::update_feed::builders::UpdateFeedFluentBuilder::outputs) / [`set_outputs(Option<Vec::<UpdateOutput>>)`](crate::operation::update_feed::builders::UpdateFeedFluentBuilder::set_outputs):<br>required: **true**<br><p>Required. You can specify the existing array of outputs (to leave outputs unchanged) or you can specify a new array.</p><br>
9    /// - On success, responds with [`UpdateFeedOutput`](crate::operation::update_feed::UpdateFeedOutput) with field(s):
10    ///   - [`arn(String)`](crate::operation::update_feed::UpdateFeedOutput::arn): <p>The ARN of the feed.</p>
11    ///   - [`name(String)`](crate::operation::update_feed::UpdateFeedOutput::name): <p>The updated or original name of the feed.</p>
12    ///   - [`id(String)`](crate::operation::update_feed::UpdateFeedOutput::id): <p>The ID of the feed.</p>
13    ///   - [`data_endpoints(Vec::<String>)`](crate::operation::update_feed::UpdateFeedOutput::data_endpoints): <p>The data endpoints of the feed.</p>
14    ///   - [`outputs(Vec::<GetOutput>)`](crate::operation::update_feed::UpdateFeedOutput::outputs): <p>The array of outputs in the feed. You might have left this array unchanged, or you might have changed it.</p>
15    ///   - [`status(FeedStatus)`](crate::operation::update_feed::UpdateFeedOutput::status): <p>The status of the output.</p>
16    ///   - [`association(Option<FeedAssociation>)`](crate::operation::update_feed::UpdateFeedOutput::association): <p>True means that the output was originally created in the feed by the AssociateFeed operation. False means it was created using CreateFeed or UpdateFeed. You will need this value if you use the UpdateFeed operation to modify the list of outputs in the feed.</p>
17    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::update_feed::UpdateFeedOutput::tags): <p>The name of the resource currently associated with the feed, if any.</p>
18    /// - On failure, responds with [`SdkError<UpdateFeedError>`](crate::operation::update_feed::UpdateFeedError)
19    pub fn update_feed(&self) -> crate::operation::update_feed::builders::UpdateFeedFluentBuilder {
20        crate::operation::update_feed::builders::UpdateFeedFluentBuilder::new(self.handle.clone())
21    }
22}