Struct aws_sdk_codepipeline::operation::put_approval_result::builders::PutApprovalResultFluentBuilder
source · pub struct PutApprovalResultFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutApprovalResult
.
Provides the response to a manual approval request to CodePipeline. Valid responses include Approved and Rejected.
Implementations§
source§impl PutApprovalResultFluentBuilder
impl PutApprovalResultFluentBuilder
sourcepub fn as_input(&self) -> &PutApprovalResultInputBuilder
pub fn as_input(&self) -> &PutApprovalResultInputBuilder
Access the PutApprovalResult as a reference.
sourcepub async fn send(
self
) -> Result<PutApprovalResultOutput, SdkError<PutApprovalResultError, HttpResponse>>
pub async fn send( self ) -> Result<PutApprovalResultOutput, SdkError<PutApprovalResultError, 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<PutApprovalResultOutput, PutApprovalResultError, Self>, SdkError<PutApprovalResultError>>
pub async fn customize( self ) -> Result<CustomizableOperation<PutApprovalResultOutput, PutApprovalResultError, Self>, SdkError<PutApprovalResultError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn pipeline_name(self, input: impl Into<String>) -> Self
pub fn pipeline_name(self, input: impl Into<String>) -> Self
The name of the pipeline that contains the action.
sourcepub fn set_pipeline_name(self, input: Option<String>) -> Self
pub fn set_pipeline_name(self, input: Option<String>) -> Self
The name of the pipeline that contains the action.
sourcepub fn get_pipeline_name(&self) -> &Option<String>
pub fn get_pipeline_name(&self) -> &Option<String>
The name of the pipeline that contains the action.
sourcepub fn stage_name(self, input: impl Into<String>) -> Self
pub fn stage_name(self, input: impl Into<String>) -> Self
The name of the stage that contains the action.
sourcepub fn set_stage_name(self, input: Option<String>) -> Self
pub fn set_stage_name(self, input: Option<String>) -> Self
The name of the stage that contains the action.
sourcepub fn get_stage_name(&self) -> &Option<String>
pub fn get_stage_name(&self) -> &Option<String>
The name of the stage that contains the action.
sourcepub fn action_name(self, input: impl Into<String>) -> Self
pub fn action_name(self, input: impl Into<String>) -> Self
The name of the action for which approval is requested.
sourcepub fn set_action_name(self, input: Option<String>) -> Self
pub fn set_action_name(self, input: Option<String>) -> Self
The name of the action for which approval is requested.
sourcepub fn get_action_name(&self) -> &Option<String>
pub fn get_action_name(&self) -> &Option<String>
The name of the action for which approval is requested.
sourcepub fn result(self, input: ApprovalResult) -> Self
pub fn result(self, input: ApprovalResult) -> Self
Represents information about the result of the approval request.
sourcepub fn set_result(self, input: Option<ApprovalResult>) -> Self
pub fn set_result(self, input: Option<ApprovalResult>) -> Self
Represents information about the result of the approval request.
sourcepub fn get_result(&self) -> &Option<ApprovalResult>
pub fn get_result(&self) -> &Option<ApprovalResult>
Represents information about the result of the approval request.
sourcepub fn token(self, input: impl Into<String>) -> Self
pub fn token(self, input: impl Into<String>) -> Self
The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState
action. It is used to validate that the approval request corresponding to this token is still valid.
sourcepub fn set_token(self, input: Option<String>) -> Self
pub fn set_token(self, input: Option<String>) -> Self
The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState
action. It is used to validate that the approval request corresponding to this token is still valid.
sourcepub fn get_token(&self) -> &Option<String>
pub fn get_token(&self) -> &Option<String>
The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState
action. It is used to validate that the approval request corresponding to this token is still valid.
Trait Implementations§
source§impl Clone for PutApprovalResultFluentBuilder
impl Clone for PutApprovalResultFluentBuilder
source§fn clone(&self) -> PutApprovalResultFluentBuilder
fn clone(&self) -> PutApprovalResultFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more