1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateBasePathMapping`](crate::operation::update_base_path_mapping::builders::UpdateBasePathMappingFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_name(impl Into<String>)`](crate::operation::update_base_path_mapping::builders::UpdateBasePathMappingFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::update_base_path_mapping::builders::UpdateBasePathMappingFluentBuilder::set_domain_name):<br>required: **true**<br><p>The domain name of the BasePathMapping resource to change.</p><br>
    ///   - [`base_path(impl Into<String>)`](crate::operation::update_base_path_mapping::builders::UpdateBasePathMappingFluentBuilder::base_path) / [`set_base_path(Option<String>)`](crate::operation::update_base_path_mapping::builders::UpdateBasePathMappingFluentBuilder::set_base_path):<br>required: **true**<br><p>The base path of the BasePathMapping resource to change.</p>  <p>To specify an empty base path, set this parameter to <code>'(none)'</code>.</p><br>
    ///   - [`patch_operations(PatchOperation)`](crate::operation::update_base_path_mapping::builders::UpdateBasePathMappingFluentBuilder::patch_operations) / [`set_patch_operations(Option<Vec::<PatchOperation>>)`](crate::operation::update_base_path_mapping::builders::UpdateBasePathMappingFluentBuilder::set_patch_operations):<br>required: **false**<br><p>For more information about supported patch operations, see <a href="https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html">Patch Operations</a>.</p><br>
    /// - On success, responds with [`UpdateBasePathMappingOutput`](crate::operation::update_base_path_mapping::UpdateBasePathMappingOutput) with field(s):
    ///   - [`base_path(Option<String>)`](crate::operation::update_base_path_mapping::UpdateBasePathMappingOutput::base_path): <p>The base path name that callers of the API must provide as part of the URL after the domain name.</p>
    ///   - [`rest_api_id(Option<String>)`](crate::operation::update_base_path_mapping::UpdateBasePathMappingOutput::rest_api_id): <p>The string identifier of the associated RestApi.</p>
    ///   - [`stage(Option<String>)`](crate::operation::update_base_path_mapping::UpdateBasePathMappingOutput::stage): <p>The name of the associated stage.</p>
    /// - On failure, responds with [`SdkError<UpdateBasePathMappingError>`](crate::operation::update_base_path_mapping::UpdateBasePathMappingError)
    pub fn update_base_path_mapping(&self) -> crate::operation::update_base_path_mapping::builders::UpdateBasePathMappingFluentBuilder {
        crate::operation::update_base_path_mapping::builders::UpdateBasePathMappingFluentBuilder::new(self.handle.clone())
    }
}