Struct aws_sdk_codepipeline::client::fluent_builders::PutJobFailureResult [−][src]
pub struct PutJobFailureResult<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to PutJobFailureResult
.
Represents the failure of a job as returned to the pipeline by a job worker. Used for custom actions only.
Implementations
impl<C, M, R> PutJobFailureResult<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> PutJobFailureResult<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<PutJobFailureResultOutput, SdkError<PutJobFailureResultError>> where
R::Policy: SmithyRetryPolicy<PutJobFailureResultInputOperationOutputAlias, PutJobFailureResultOutput, PutJobFailureResultError, PutJobFailureResultInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<PutJobFailureResultOutput, SdkError<PutJobFailureResultError>> where
R::Policy: SmithyRetryPolicy<PutJobFailureResultInputOperationOutputAlias, PutJobFailureResultOutput, PutJobFailureResultError, PutJobFailureResultInputOperationRetryAlias>,
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.
The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs
.
The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs
.
The details about the failure of a job.
The details about the failure of a job.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for PutJobFailureResult<C, M, R>
impl<C, M, R> Send for PutJobFailureResult<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for PutJobFailureResult<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for PutJobFailureResult<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for PutJobFailureResult<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more