Struct aws_sdk_glue::client::fluent_builders::GetPlan
source · pub struct GetPlan { /* private fields */ }Expand description
Fluent builder constructing a request to GetPlan.
Gets code to perform a specified mapping.
Implementations§
source§impl GetPlan
impl GetPlan
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetPlan, AwsResponseRetryClassifier>, SdkError<GetPlanError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetPlan, AwsResponseRetryClassifier>, SdkError<GetPlanError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<GetPlanOutput, SdkError<GetPlanError>>
pub async fn send(self) -> Result<GetPlanOutput, SdkError<GetPlanError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn mapping(self, input: MappingEntry) -> Self
pub fn mapping(self, input: MappingEntry) -> Self
Appends an item to Mapping.
To override the contents of this collection use set_mapping.
The list of mappings from a source table to target tables.
sourcepub fn set_mapping(self, input: Option<Vec<MappingEntry>>) -> Self
pub fn set_mapping(self, input: Option<Vec<MappingEntry>>) -> Self
The list of mappings from a source table to target tables.
sourcepub fn source(self, input: CatalogEntry) -> Self
pub fn source(self, input: CatalogEntry) -> Self
The source table.
sourcepub fn set_source(self, input: Option<CatalogEntry>) -> Self
pub fn set_source(self, input: Option<CatalogEntry>) -> Self
The source table.
sourcepub fn sinks(self, input: CatalogEntry) -> Self
pub fn sinks(self, input: CatalogEntry) -> Self
Appends an item to Sinks.
To override the contents of this collection use set_sinks.
The target tables.
sourcepub fn set_sinks(self, input: Option<Vec<CatalogEntry>>) -> Self
pub fn set_sinks(self, input: Option<Vec<CatalogEntry>>) -> Self
The target tables.
sourcepub fn set_location(self, input: Option<Location>) -> Self
pub fn set_location(self, input: Option<Location>) -> Self
The parameters for the mapping.
sourcepub fn language(self, input: Language) -> Self
pub fn language(self, input: Language) -> Self
The programming language of the code to perform the mapping.
sourcepub fn set_language(self, input: Option<Language>) -> Self
pub fn set_language(self, input: Option<Language>) -> Self
The programming language of the code to perform the mapping.
sourcepub fn additional_plan_options_map(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn additional_plan_options_map(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
Adds a key-value pair to AdditionalPlanOptionsMap.
To override the contents of this collection use set_additional_plan_options_map.
A map to hold additional optional key-value parameters.
Currently, these key-value pairs are supported:
-
inferSchema— Specifies whether to setinferSchemato true or false for the default script generated by an Glue job. For example, to setinferSchemato true, pass the following key value pair:--additional-plan-options-map '{"inferSchema":"true"}'
sourcepub fn set_additional_plan_options_map(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_additional_plan_options_map(
self,
input: Option<HashMap<String, String>>
) -> Self
A map to hold additional optional key-value parameters.
Currently, these key-value pairs are supported:
-
inferSchema— Specifies whether to setinferSchemato true or false for the default script generated by an Glue job. For example, to setinferSchemato true, pass the following key value pair:--additional-plan-options-map '{"inferSchema":"true"}'