Struct aws_sdk_codepipeline::operation::update_pipeline::builders::UpdatePipelineFluentBuilder
source · pub struct UpdatePipelineFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdatePipeline
.
Updates a specified pipeline with edits or changes to its structure. Use a JSON file with the pipeline structure and UpdatePipeline
to provide the full structure of the pipeline. Updating the pipeline increases the version number of the pipeline by 1.
Implementations§
source§impl UpdatePipelineFluentBuilder
impl UpdatePipelineFluentBuilder
sourcepub fn as_input(&self) -> &UpdatePipelineInputBuilder
pub fn as_input(&self) -> &UpdatePipelineInputBuilder
Access the UpdatePipeline as a reference.
sourcepub async fn send(
self
) -> Result<UpdatePipelineOutput, SdkError<UpdatePipelineError, HttpResponse>>
pub async fn send( self ) -> Result<UpdatePipelineOutput, SdkError<UpdatePipelineError, HttpResponse>>
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 async fn customize(
self
) -> Result<CustomizableOperation<UpdatePipelineOutput, UpdatePipelineError>, SdkError<UpdatePipelineError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdatePipelineOutput, UpdatePipelineError>, SdkError<UpdatePipelineError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn pipeline(self, input: PipelineDeclaration) -> Self
pub fn pipeline(self, input: PipelineDeclaration) -> Self
The name of the pipeline to be updated.
sourcepub fn set_pipeline(self, input: Option<PipelineDeclaration>) -> Self
pub fn set_pipeline(self, input: Option<PipelineDeclaration>) -> Self
The name of the pipeline to be updated.
sourcepub fn get_pipeline(&self) -> &Option<PipelineDeclaration>
pub fn get_pipeline(&self) -> &Option<PipelineDeclaration>
The name of the pipeline to be updated.
Trait Implementations§
source§impl Clone for UpdatePipelineFluentBuilder
impl Clone for UpdatePipelineFluentBuilder
source§fn clone(&self) -> UpdatePipelineFluentBuilder
fn clone(&self) -> UpdatePipelineFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more