aws_sdk_appsync/client/
update_channel_namespace.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 [`UpdateChannelNamespace`](crate::operation::update_channel_namespace::builders::UpdateChannelNamespaceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`api_id(impl Into<String>)`](crate::operation::update_channel_namespace::builders::UpdateChannelNamespaceFluentBuilder::api_id) / [`set_api_id(Option<String>)`](crate::operation::update_channel_namespace::builders::UpdateChannelNamespaceFluentBuilder::set_api_id):<br>required: **true**<br><p>The <code>Api</code> ID.</p><br>
7    ///   - [`name(impl Into<String>)`](crate::operation::update_channel_namespace::builders::UpdateChannelNamespaceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_channel_namespace::builders::UpdateChannelNamespaceFluentBuilder::set_name):<br>required: **true**<br><p>The name of the <code>ChannelNamespace</code>.</p><br>
8    ///   - [`subscribe_auth_modes(AuthMode)`](crate::operation::update_channel_namespace::builders::UpdateChannelNamespaceFluentBuilder::subscribe_auth_modes) / [`set_subscribe_auth_modes(Option<Vec::<AuthMode>>)`](crate::operation::update_channel_namespace::builders::UpdateChannelNamespaceFluentBuilder::set_subscribe_auth_modes):<br>required: **false**<br><p>The authorization mode to use for subscribing to messages on the channel namespace. This configuration overrides the default <code>Api</code> authorization configuration.</p><br>
9    ///   - [`publish_auth_modes(AuthMode)`](crate::operation::update_channel_namespace::builders::UpdateChannelNamespaceFluentBuilder::publish_auth_modes) / [`set_publish_auth_modes(Option<Vec::<AuthMode>>)`](crate::operation::update_channel_namespace::builders::UpdateChannelNamespaceFluentBuilder::set_publish_auth_modes):<br>required: **false**<br><p>The authorization mode to use for publishing messages on the channel namespace. This configuration overrides the default <code>Api</code> authorization configuration.</p><br>
10    ///   - [`code_handlers(impl Into<String>)`](crate::operation::update_channel_namespace::builders::UpdateChannelNamespaceFluentBuilder::code_handlers) / [`set_code_handlers(Option<String>)`](crate::operation::update_channel_namespace::builders::UpdateChannelNamespaceFluentBuilder::set_code_handlers):<br>required: **false**<br><p>The event handler functions that run custom business logic to process published events and subscribe requests.</p><br>
11    ///   - [`handler_configs(HandlerConfigs)`](crate::operation::update_channel_namespace::builders::UpdateChannelNamespaceFluentBuilder::handler_configs) / [`set_handler_configs(Option<HandlerConfigs>)`](crate::operation::update_channel_namespace::builders::UpdateChannelNamespaceFluentBuilder::set_handler_configs):<br>required: **false**<br><p>The configuration for the <code>OnPublish</code> and <code>OnSubscribe</code> handlers.</p><br>
12    /// - On success, responds with [`UpdateChannelNamespaceOutput`](crate::operation::update_channel_namespace::UpdateChannelNamespaceOutput) with field(s):
13    ///   - [`channel_namespace(Option<ChannelNamespace>)`](crate::operation::update_channel_namespace::UpdateChannelNamespaceOutput::channel_namespace): <p>The <code>ChannelNamespace</code> object.</p>
14    /// - On failure, responds with [`SdkError<UpdateChannelNamespaceError>`](crate::operation::update_channel_namespace::UpdateChannelNamespaceError)
15    pub fn update_channel_namespace(&self) -> crate::operation::update_channel_namespace::builders::UpdateChannelNamespaceFluentBuilder {
16        crate::operation::update_channel_namespace::builders::UpdateChannelNamespaceFluentBuilder::new(self.handle.clone())
17    }
18}