Skip to main content

aws_sdk_elementalinference/client/
create_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 [`CreateFeed`](crate::operation::create_feed::builders::CreateFeedFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::create_feed::builders::CreateFeedFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_feed::builders::CreateFeedFluentBuilder::set_name):<br>required: **true**<br><p>A name for this feed.</p><br>
7    ///   - [`outputs(CreateOutput)`](crate::operation::create_feed::builders::CreateFeedFluentBuilder::outputs) / [`set_outputs(Option<Vec::<CreateOutput>>)`](crate::operation::create_feed::builders::CreateFeedFluentBuilder::set_outputs):<br>required: **true**<br><p>An array of outputs for this feed. Each output represents a specific Elemental Inference feature. For example, an output might represent the crop feature.</p><br>
8    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_feed::builders::CreateFeedFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_feed::builders::CreateFeedFluentBuilder::set_tags):<br>required: **false**<br><p>If you want to include tags, add them now. You won't be able to add them later.</p><br>
9    /// - On success, responds with [`CreateFeedOutput`](crate::operation::create_feed::CreateFeedOutput) with field(s):
10    ///   - [`arn(String)`](crate::operation::create_feed::CreateFeedOutput::arn): <p>A unique ARN that Elemental Inference assigns to the feed.</p>
11    ///   - [`name(String)`](crate::operation::create_feed::CreateFeedOutput::name): <p>The name that you specified.</p>
12    ///   - [`id(String)`](crate::operation::create_feed::CreateFeedOutput::id): <p>A unique ID that Elemental Inference assigns to the feed.</p>
13    ///   - [`data_endpoints(Vec::<String>)`](crate::operation::create_feed::CreateFeedOutput::data_endpoints): <p>A unique ARN that Elemental Inference assigns to the feed.</p>
14    ///   - [`outputs(Vec::<GetOutput>)`](crate::operation::create_feed::CreateFeedOutput::outputs): <p>Data endpoints that Elemental Inference assigns to the feed.</p>
15    ///   - [`status(FeedStatus)`](crate::operation::create_feed::CreateFeedOutput::status): <p>The current status of the feed. After creation of the feed has succeeded, the status will be AVAILABLE.</p>
16    ///   - [`association(Option<FeedAssociation>)`](crate::operation::create_feed::CreateFeedOutput::association): <p>The association for this feed. When you create the feed, this property is empty. You must associate a resource with the feed using AssociateFeed.</p>
17    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_feed::CreateFeedOutput::tags): <p>Any tags that you included when you created the feed.</p>
18    /// - On failure, responds with [`SdkError<CreateFeedError>`](crate::operation::create_feed::CreateFeedError)
19    pub fn create_feed(&self) -> crate::operation::create_feed::builders::CreateFeedFluentBuilder {
20        crate::operation::create_feed::builders::CreateFeedFluentBuilder::new(self.handle.clone())
21    }
22}