Struct aws_sdk_codepipeline::client::fluent_builders::CreatePipeline
source · [−]pub struct CreatePipeline { /* private fields */ }
Expand description
Fluent builder constructing a request to CreatePipeline
.
Creates a pipeline.
In the pipeline structure, you must include either artifactStore
or artifactStores
in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores
.
Implementations
sourceimpl CreatePipeline
impl CreatePipeline
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreatePipeline, AwsResponseRetryClassifier>, SdkError<CreatePipelineError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreatePipeline, AwsResponseRetryClassifier>, SdkError<CreatePipelineError>>
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<CreatePipelineOutput, SdkError<CreatePipelineError>>
pub async fn send(
self
) -> Result<CreatePipelineOutput, SdkError<CreatePipelineError>>
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 pipeline(self, input: PipelineDeclaration) -> Self
pub fn pipeline(self, input: PipelineDeclaration) -> Self
Represents the structure of actions and stages to be performed in the pipeline.
sourcepub fn set_pipeline(self, input: Option<PipelineDeclaration>) -> Self
pub fn set_pipeline(self, input: Option<PipelineDeclaration>) -> Self
Represents the structure of actions and stages to be performed in the pipeline.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags for the pipeline.
The tags for the pipeline.
Trait Implementations
sourceimpl Clone for CreatePipeline
impl Clone for CreatePipeline
sourcefn clone(&self) -> CreatePipeline
fn clone(&self) -> CreatePipeline
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more