Skip to main content

aws_sdk_elementalinference/client/
get_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 [`GetFeed`](crate::operation::get_feed::builders::GetFeedFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::get_feed::builders::GetFeedFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_feed::builders::GetFeedFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the feed to query.</p><br>
7    /// - On success, responds with [`GetFeedOutput`](crate::operation::get_feed::GetFeedOutput) with field(s):
8    ///   - [`arn(String)`](crate::operation::get_feed::GetFeedOutput::arn): <p>The ARN of the feed.</p>
9    ///   - [`name(String)`](crate::operation::get_feed::GetFeedOutput::name): <p>The name of the feed being queried.</p>
10    ///   - [`id(String)`](crate::operation::get_feed::GetFeedOutput::id): <p>The ID of the feed being queried.</p>
11    ///   - [`data_endpoints(Vec::<String>)`](crate::operation::get_feed::GetFeedOutput::data_endpoints): <p>The dataEndpoints of the feed being queried.</p>
12    ///   - [`outputs(Vec::<GetOutput>)`](crate::operation::get_feed::GetFeedOutput::outputs): <p>An array of the outputs in the feed being queried.</p>
13    ///   - [`status(FeedStatus)`](crate::operation::get_feed::GetFeedOutput::status): <p>The status of the feed being queried.</p>
14    ///   - [`association(Option<FeedAssociation>)`](crate::operation::get_feed::GetFeedOutput::association): <p>Information about the resource, if any, associated with the feed being queried.</p>
15    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_feed::GetFeedOutput::tags): <p>A list of the tags, if any, for the feed being queried.</p>
16    /// - On failure, responds with [`SdkError<GetFeedError>`](crate::operation::get_feed::GetFeedError)
17    pub fn get_feed(&self) -> crate::operation::get_feed::builders::GetFeedFluentBuilder {
18        crate::operation::get_feed::builders::GetFeedFluentBuilder::new(self.handle.clone())
19    }
20}