aws-sdk-elementalinference 1.20.0

AWS SDK for AWS Elemental Inference
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetFeedPolicy`](crate::operation::get_feed_policy::builders::GetFeedPolicyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::get_feed_policy::builders::GetFeedPolicyFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_feed_policy::builders::GetFeedPolicyFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the feed whose policy you want to retrieve.</p><br>
    /// - On success, responds with [`GetFeedPolicyOutput`](crate::operation::get_feed_policy::GetFeedPolicyOutput) with field(s):
    ///   - [`policy(String)`](crate::operation::get_feed_policy::GetFeedPolicyOutput::policy): <p>The resource-based policy document attached to the feed.</p>
    /// - On failure, responds with [`SdkError<GetFeedPolicyError>`](crate::operation::get_feed_policy::GetFeedPolicyError)
    pub fn get_feed_policy(&self) -> crate::operation::get_feed_policy::builders::GetFeedPolicyFluentBuilder {
        crate::operation::get_feed_policy::builders::GetFeedPolicyFluentBuilder::new(self.handle.clone())
    }
}