1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateRegistry`](crate::operation::create_registry::builders::CreateRegistryFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`registry_name(impl Into<String>)`](crate::operation::create_registry::builders::CreateRegistryFluentBuilder::registry_name) / [`set_registry_name(Option<String>)`](crate::operation::create_registry::builders::CreateRegistryFluentBuilder::set_registry_name):<br>required: **true**<br><p>Name of the registry to be created of max length of 255, and may only contain letters, numbers, hyphen, underscore, dollar sign, or hash mark. No whitespace.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_registry::builders::CreateRegistryFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_registry::builders::CreateRegistryFluentBuilder::set_description):<br>required: **false**<br><p>A description of the registry. If description is not provided, there will not be any default value for this.</p><br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_registry::builders::CreateRegistryFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_registry::builders::CreateRegistryFluentBuilder::set_tags):<br>required: **false**<br><p>Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or API.</p><br>
    /// - On success, responds with [`CreateRegistryOutput`](crate::operation::create_registry::CreateRegistryOutput) with field(s):
    ///   - [`registry_arn(Option<String>)`](crate::operation::create_registry::CreateRegistryOutput::registry_arn): <p>The Amazon Resource Name (ARN) of the newly created registry.</p>
    ///   - [`registry_name(Option<String>)`](crate::operation::create_registry::CreateRegistryOutput::registry_name): <p>The name of the registry.</p>
    ///   - [`description(Option<String>)`](crate::operation::create_registry::CreateRegistryOutput::description): <p>A description of the registry.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_registry::CreateRegistryOutput::tags): <p>The tags for the registry.</p>
    /// - On failure, responds with [`SdkError<CreateRegistryError>`](crate::operation::create_registry::CreateRegistryError)
    pub fn create_registry(&self) -> crate::operation::create_registry::builders::CreateRegistryFluentBuilder {
        crate::operation::create_registry::builders::CreateRegistryFluentBuilder::new(self.handle.clone())
    }
}