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.</p>
10    ///   - [`id(String)`](crate::operation::get_feed::GetFeedOutput::id): <p>The ID of the feed.</p>
11    ///   - [`data_endpoints(Vec::<String>)`](crate::operation::get_feed::GetFeedOutput::data_endpoints): <p>The dataEndpoints of the feed.</p>
12    ///   - [`outputs(Vec::<GetOutput>)`](crate::operation::get_feed::GetFeedOutput::outputs): <p>An array of the outputs in the feed.</p>
13    ///   - [`access_role_arn(Option<String>)`](crate::operation::get_feed::GetFeedOutput::access_role_arn): <p>The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that Elemental Inference assumes. Elemental Inference uses this role to access resources in your account on your behalf. This property is absent if the feed doesn't have an IAM role.</p>
14    ///   - [`status(FeedStatus)`](crate::operation::get_feed::GetFeedOutput::status): <p>The status of the feed.</p>
15    ///   - [`association(Option<FeedAssociation>)`](crate::operation::get_feed::GetFeedOutput::association): <p>Information about the resource that is associated with the feed. It's possible that there is no associated resource. This is not an error.</p>
16    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_feed::GetFeedOutput::tags): <p>A list of the tags, if any, for the feed.</p>
17    /// - On failure, responds with [`SdkError<GetFeedError>`](crate::operation::get_feed::GetFeedError)
18    pub fn get_feed(&self) -> crate::operation::get_feed::builders::GetFeedFluentBuilder {
19        crate::operation::get_feed::builders::GetFeedFluentBuilder::new(self.handle.clone())
20    }
21}