aws_sdk_schemas/client/
update_discoverer.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 [`UpdateDiscoverer`](crate::operation::update_discoverer::builders::UpdateDiscovererFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`description(impl Into<String>)`](crate::operation::update_discoverer::builders::UpdateDiscovererFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_discoverer::builders::UpdateDiscovererFluentBuilder::set_description):<br>required: **false**<br><p>The description of the discoverer to update.</p><br>
7    ///   - [`discoverer_id(impl Into<String>)`](crate::operation::update_discoverer::builders::UpdateDiscovererFluentBuilder::discoverer_id) / [`set_discoverer_id(Option<String>)`](crate::operation::update_discoverer::builders::UpdateDiscovererFluentBuilder::set_discoverer_id):<br>required: **true**<br><p>The ID of the discoverer.</p><br>
8    ///   - [`cross_account(bool)`](crate::operation::update_discoverer::builders::UpdateDiscovererFluentBuilder::cross_account) / [`set_cross_account(Option<bool>)`](crate::operation::update_discoverer::builders::UpdateDiscovererFluentBuilder::set_cross_account):<br>required: **false**<br><p>Support discovery of schemas in events sent to the bus from another account. (default: true)</p><br>
9    /// - On success, responds with [`UpdateDiscovererOutput`](crate::operation::update_discoverer::UpdateDiscovererOutput) with field(s):
10    ///   - [`description(Option<String>)`](crate::operation::update_discoverer::UpdateDiscovererOutput::description): <p>The description of the discoverer.</p>
11    ///   - [`discoverer_arn(Option<String>)`](crate::operation::update_discoverer::UpdateDiscovererOutput::discoverer_arn): <p>The ARN of the discoverer.</p>
12    ///   - [`discoverer_id(Option<String>)`](crate::operation::update_discoverer::UpdateDiscovererOutput::discoverer_id): <p>The ID of the discoverer.</p>
13    ///   - [`source_arn(Option<String>)`](crate::operation::update_discoverer::UpdateDiscovererOutput::source_arn): <p>The ARN of the event bus.</p>
14    ///   - [`state(Option<DiscovererState>)`](crate::operation::update_discoverer::UpdateDiscovererOutput::state): <p>The state of the discoverer.</p>
15    ///   - [`cross_account(Option<bool>)`](crate::operation::update_discoverer::UpdateDiscovererOutput::cross_account): <p>The Status if the discoverer will discover schemas from events sent from another account.</p>
16    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::update_discoverer::UpdateDiscovererOutput::tags): <p>Tags associated with the resource.</p>
17    /// - On failure, responds with [`SdkError<UpdateDiscovererError>`](crate::operation::update_discoverer::UpdateDiscovererError)
18    pub fn update_discoverer(&self) -> crate::operation::update_discoverer::builders::UpdateDiscovererFluentBuilder {
19        crate::operation::update_discoverer::builders::UpdateDiscovererFluentBuilder::new(self.handle.clone())
20    }
21}