1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateRegistry`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`registry_id(RegistryId)`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::registry_id) / [`set_registry_id(Option<RegistryId>)`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::set_registry_id):<br>required: **true**<br><p>This is a wrapper structure that may contain the registry name and Amazon Resource Name (ARN).</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::set_description):<br>required: **true**<br><p>A description of the registry. If description is not provided, this field will not be updated.</p><br>
    /// - On success, responds with [`UpdateRegistryOutput`](crate::operation::update_registry::UpdateRegistryOutput) with field(s):
    ///   - [`registry_name(Option<String>)`](crate::operation::update_registry::UpdateRegistryOutput::registry_name): <p>The name of the updated registry.</p>
    ///   - [`registry_arn(Option<String>)`](crate::operation::update_registry::UpdateRegistryOutput::registry_arn): <p>The Amazon Resource name (ARN) of the updated registry.</p>
    /// - On failure, responds with [`SdkError<UpdateRegistryError>`](crate::operation::update_registry::UpdateRegistryError)
    pub fn update_registry(&self) -> crate::operation::update_registry::builders::UpdateRegistryFluentBuilder {
        crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::new(self.handle.clone())
    }
}