pub struct PutApprovalResult { /* private fields */ }
Expand description
Fluent builder constructing a request to PutApprovalResult
.
Provides the response to a manual approval request to AWS CodePipeline. Valid responses include Approved and Rejected.
Implementations§
source§impl PutApprovalResult
impl PutApprovalResult
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<PutApprovalResult, AwsResponseRetryClassifier>, SdkError<PutApprovalResultError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<PutApprovalResult, AwsResponseRetryClassifier>, SdkError<PutApprovalResultError>>
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<PutApprovalResultOutput, SdkError<PutApprovalResultError>>
pub async fn send(
self
) -> Result<PutApprovalResultOutput, SdkError<PutApprovalResultError>>
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_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 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 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 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 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.
Trait Implementations§
source§impl Clone for PutApprovalResult
impl Clone for PutApprovalResult
source§fn clone(&self) -> PutApprovalResult
fn clone(&self) -> PutApprovalResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more