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 fn customize(
self,
) -> CustomizableOperation<UpdatePipelineOutput, UpdatePipelineError, Self>
pub fn customize( self, ) -> CustomizableOperation<UpdatePipelineOutput, UpdatePipelineError, Self>
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 moreAuto Trait Implementations§
impl Freeze for UpdatePipelineFluentBuilder
impl !RefUnwindSafe for UpdatePipelineFluentBuilder
impl Send for UpdatePipelineFluentBuilder
impl Sync for UpdatePipelineFluentBuilder
impl Unpin for UpdatePipelineFluentBuilder
impl !UnwindSafe for UpdatePipelineFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more