Struct aws_sdk_glue::client::fluent_builders::UpdateJob
source · pub struct UpdateJob { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateJob.
Updates an existing job definition. The previous job definition is completely overwritten by this information.
Implementations§
source§impl UpdateJob
impl UpdateJob
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateJob, AwsResponseRetryClassifier>, SdkError<UpdateJobError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateJob, AwsResponseRetryClassifier>, SdkError<UpdateJobError>>
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<UpdateJobOutput, SdkError<UpdateJobError>>
pub async fn send(self) -> Result<UpdateJobOutput, SdkError<UpdateJobError>>
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 job_name(self, input: impl Into<String>) -> Self
pub fn job_name(self, input: impl Into<String>) -> Self
The name of the job definition to update.
sourcepub fn set_job_name(self, input: Option<String>) -> Self
pub fn set_job_name(self, input: Option<String>) -> Self
The name of the job definition to update.
sourcepub fn job_update(self, input: JobUpdate) -> Self
pub fn job_update(self, input: JobUpdate) -> Self
Specifies the values with which to update the job definition. Unspecified configuration is removed or reset to default values.
sourcepub fn set_job_update(self, input: Option<JobUpdate>) -> Self
pub fn set_job_update(self, input: Option<JobUpdate>) -> Self
Specifies the values with which to update the job definition. Unspecified configuration is removed or reset to default values.