Struct aws_sdk_glue::client::fluent_builders::GetPlan
source ·
[−]pub struct GetPlan<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to GetPlan
.
Gets code to perform a specified mapping.
Implementations
impl<C, M, R> GetPlan<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetPlan<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<GetPlanOutput, SdkError<GetPlanError>> where
R::Policy: SmithyRetryPolicy<GetPlanInputOperationOutputAlias, GetPlanOutput, GetPlanError, GetPlanInputOperationRetryAlias>,
pub async fn send(self) -> Result<GetPlanOutput, SdkError<GetPlanError>> where
R::Policy: SmithyRetryPolicy<GetPlanInputOperationOutputAlias, GetPlanOutput, GetPlanError, GetPlanInputOperationRetryAlias>,
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.
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.
The list of mappings from a source table to target tables.
The source table.
The source table.
Appends an item to Sinks
.
To override the contents of this collection use set_sinks
.
The target tables.
The target tables.
The parameters for the mapping.
The programming language of the code to perform the mapping.
The programming language of the code to perform the mapping.
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 setinferSchema
to true or false for the default script generated by an Glue job. For example, to setinferSchema
to true, pass the following key value pair:--additional-plan-options-map '{"inferSchema":"true"}'
A map to hold additional optional key-value parameters.
Currently, these key-value pairs are supported:
-
inferSchema
— Specifies whether to setinferSchema
to true or false for the default script generated by an Glue job. For example, to setinferSchema
to true, pass the following key value pair:--additional-plan-options-map '{"inferSchema":"true"}'
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GetPlan<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GetPlan<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more