aws_sdk_glue/client/
get_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 [`GetMapping`](crate::operation::get_mapping::builders::GetMappingFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`source(CatalogEntry)`](crate::operation::get_mapping::builders::GetMappingFluentBuilder::source) / [`set_source(Option<CatalogEntry>)`](crate::operation::get_mapping::builders::GetMappingFluentBuilder::set_source):<br>required: **true**<br><p>Specifies the source table.</p><br>
7    ///   - [`sinks(CatalogEntry)`](crate::operation::get_mapping::builders::GetMappingFluentBuilder::sinks) / [`set_sinks(Option<Vec::<CatalogEntry>>)`](crate::operation::get_mapping::builders::GetMappingFluentBuilder::set_sinks):<br>required: **false**<br><p>A list of target tables.</p><br>
8    ///   - [`location(Location)`](crate::operation::get_mapping::builders::GetMappingFluentBuilder::location) / [`set_location(Option<Location>)`](crate::operation::get_mapping::builders::GetMappingFluentBuilder::set_location):<br>required: **false**<br><p>Parameters for the mapping.</p><br>
9    /// - On success, responds with [`GetMappingOutput`](crate::operation::get_mapping::GetMappingOutput) with field(s):
10    ///   - [`mapping(Vec::<MappingEntry>)`](crate::operation::get_mapping::GetMappingOutput::mapping): <p>A list of mappings to the specified targets.</p>
11    /// - On failure, responds with [`SdkError<GetMappingError>`](crate::operation::get_mapping::GetMappingError)
12    pub fn get_mapping(&self) -> crate::operation::get_mapping::builders::GetMappingFluentBuilder {
13        crate::operation::get_mapping::builders::GetMappingFluentBuilder::new(self.handle.clone())
14    }
15}