// Represents the failure of a job as returned to the pipeline by a job worker.
// Used for custom actions only.
Represents the failure of a job as returned to the pipeline by a job worker.
Used for custom actions only.
// Represents the failure of a job as returned to the pipeline by a job worker . // Used for custom actions only .
func (c *Client) PutJobFailureResult(ctx context.Context, params *PutJobFailureResultInput, optFns ...func(*Options)) (*PutJobFailureResultOutput, error) {
	if params == nil {
		params = &PutJobFailureResultInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "PutJobFailureResult", params, optFns, addOperationPutJobFailureResultMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*PutJobFailureResultOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) PutJobFailureResult ( ctx context . Context , params * PutJobFailureResultInput , optFns ... func ( * Options ) ) ( * PutJobFailureResultOutput , error ) { if params == nil { params = & PutJobFailureResultInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationPutJobFailureResultMiddlewares ) if err != nil { return nil , err } out := result . ( * PutJobFailureResultOutput ) out . ResultMetadata = metadata return out , nil }
Represents the failure of a job as returned to the pipeline by a job worker.
Represents the failure of a job as returned to the pipeline by a job worker .