aws_sdk_apigateway/client/
delete_base_path_mapping.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 [`DeleteBasePathMapping`](crate::operation::delete_base_path_mapping::builders::DeleteBasePathMappingFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`domain_name(impl Into<String>)`](crate::operation::delete_base_path_mapping::builders::DeleteBasePathMappingFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::delete_base_path_mapping::builders::DeleteBasePathMappingFluentBuilder::set_domain_name):<br>required: **true**<br><p>The domain name of the BasePathMapping resource to delete.</p><br>
7    ///   - [`domain_name_id(impl Into<String>)`](crate::operation::delete_base_path_mapping::builders::DeleteBasePathMappingFluentBuilder::domain_name_id) / [`set_domain_name_id(Option<String>)`](crate::operation::delete_base_path_mapping::builders::DeleteBasePathMappingFluentBuilder::set_domain_name_id):<br>required: **false**<br><p>The identifier for the domain name resource. Supported only for private custom domain names.</p><br>
8    ///   - [`base_path(impl Into<String>)`](crate::operation::delete_base_path_mapping::builders::DeleteBasePathMappingFluentBuilder::base_path) / [`set_base_path(Option<String>)`](crate::operation::delete_base_path_mapping::builders::DeleteBasePathMappingFluentBuilder::set_base_path):<br>required: **true**<br><p>The base path name of the BasePathMapping resource to delete.</p> <p>To specify an empty base path, set this parameter to <code>'(none)'</code>.</p><br>
9    /// - On success, responds with [`DeleteBasePathMappingOutput`](crate::operation::delete_base_path_mapping::DeleteBasePathMappingOutput)
10    /// - On failure, responds with [`SdkError<DeleteBasePathMappingError>`](crate::operation::delete_base_path_mapping::DeleteBasePathMappingError)
11    pub fn delete_base_path_mapping(&self) -> crate::operation::delete_base_path_mapping::builders::DeleteBasePathMappingFluentBuilder {
12        crate::operation::delete_base_path_mapping::builders::DeleteBasePathMappingFluentBuilder::new(self.handle.clone())
13    }
14}