// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetPlan`](crate::operation::get_plan::builders::GetPlanFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`mapping(MappingEntry)`](crate::operation::get_plan::builders::GetPlanFluentBuilder::mapping) / [`set_mapping(Option<Vec::<MappingEntry>>)`](crate::operation::get_plan::builders::GetPlanFluentBuilder::set_mapping):<br>required: **true**<br><p>The list of mappings from a source table to target tables.</p><br>
/// - [`source(CatalogEntry)`](crate::operation::get_plan::builders::GetPlanFluentBuilder::source) / [`set_source(Option<CatalogEntry>)`](crate::operation::get_plan::builders::GetPlanFluentBuilder::set_source):<br>required: **true**<br><p>The source table.</p><br>
/// - [`sinks(CatalogEntry)`](crate::operation::get_plan::builders::GetPlanFluentBuilder::sinks) / [`set_sinks(Option<Vec::<CatalogEntry>>)`](crate::operation::get_plan::builders::GetPlanFluentBuilder::set_sinks):<br>required: **false**<br><p>The target tables.</p><br>
/// - [`location(Location)`](crate::operation::get_plan::builders::GetPlanFluentBuilder::location) / [`set_location(Option<Location>)`](crate::operation::get_plan::builders::GetPlanFluentBuilder::set_location):<br>required: **false**<br><p>The parameters for the mapping.</p><br>
/// - [`language(Language)`](crate::operation::get_plan::builders::GetPlanFluentBuilder::language) / [`set_language(Option<Language>)`](crate::operation::get_plan::builders::GetPlanFluentBuilder::set_language):<br>required: **false**<br><p>The programming language of the code to perform the mapping.</p><br>
/// - [`additional_plan_options_map(impl Into<String>, impl Into<String>)`](crate::operation::get_plan::builders::GetPlanFluentBuilder::additional_plan_options_map) / [`set_additional_plan_options_map(Option<HashMap::<String, String>>)`](crate::operation::get_plan::builders::GetPlanFluentBuilder::set_additional_plan_options_map):<br>required: **false**<br><p>A map to hold additional optional key-value parameters.</p> <p>Currently, these key-value pairs are supported:</p> <ul> <li> <p><code>inferSchema</code> — Specifies whether to set <code>inferSchema</code> to true or false for the default script generated by an Glue job. For example, to set <code>inferSchema</code> to true, pass the following key value pair:</p> <p><code>--additional-plan-options-map '{"inferSchema":"true"}'</code></p></li> </ul><br>
/// - On success, responds with [`GetPlanOutput`](crate::operation::get_plan::GetPlanOutput) with field(s):
/// - [`python_script(Option<String>)`](crate::operation::get_plan::GetPlanOutput::python_script): <p>A Python script to perform the mapping.</p>
/// - [`scala_code(Option<String>)`](crate::operation::get_plan::GetPlanOutput::scala_code): <p>The Scala code to perform the mapping.</p>
/// - On failure, responds with [`SdkError<GetPlanError>`](crate::operation::get_plan::GetPlanError)
pub fn get_plan(&self) -> crate::operation::get_plan::builders::GetPlanFluentBuilder {
crate::operation::get_plan::builders::GetPlanFluentBuilder::new(self.handle.clone())
}
}