1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateHttpNamespace`](crate::operation::create_http_namespace::builders::CreateHttpNamespaceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::create_http_namespace::builders::CreateHttpNamespaceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_http_namespace::builders::CreateHttpNamespaceFluentBuilder::set_name):<br>required: **true**<br><p>The name that you want to assign to this namespace.</p><br>
    ///   - [`creator_request_id(impl Into<String>)`](crate::operation::create_http_namespace::builders::CreateHttpNamespaceFluentBuilder::creator_request_id) / [`set_creator_request_id(Option<String>)`](crate::operation::create_http_namespace::builders::CreateHttpNamespaceFluentBuilder::set_creator_request_id):<br>required: **false**<br><p>A unique string that identifies the request and that allows failed <code>CreateHttpNamespace</code> requests to be retried without the risk of running the operation twice. <code>CreatorRequestId</code> can be any unique string (for example, a date/time stamp).</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_http_namespace::builders::CreateHttpNamespaceFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_http_namespace::builders::CreateHttpNamespaceFluentBuilder::set_description):<br>required: **false**<br><p>A description for the namespace.</p><br>
    ///   - [`tags(Tag)`](crate::operation::create_http_namespace::builders::CreateHttpNamespaceFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_http_namespace::builders::CreateHttpNamespaceFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.</p><br>
    /// - On success, responds with [`CreateHttpNamespaceOutput`](crate::operation::create_http_namespace::CreateHttpNamespaceOutput) with field(s):
    ///   - [`operation_id(Option<String>)`](crate::operation::create_http_namespace::CreateHttpNamespaceOutput::operation_id): <p>A value that you can use to determine whether the request completed successfully. To get the status of the operation, see <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_GetOperation.html">GetOperation</a>.</p>
    /// - On failure, responds with [`SdkError<CreateHttpNamespaceError>`](crate::operation::create_http_namespace::CreateHttpNamespaceError)
    pub fn create_http_namespace(&self) -> crate::operation::create_http_namespace::builders::CreateHttpNamespaceFluentBuilder {
        crate::operation::create_http_namespace::builders::CreateHttpNamespaceFluentBuilder::new(self.handle.clone())
    }
}