aws_sdk_codepipeline/client/
put_third_party_job_failure_result.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutThirdPartyJobFailureResult`](crate::operation::put_third_party_job_failure_result::builders::PutThirdPartyJobFailureResultFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`job_id(impl Into<String>)`](crate::operation::put_third_party_job_failure_result::builders::PutThirdPartyJobFailureResultFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::put_third_party_job_failure_result::builders::PutThirdPartyJobFailureResultFluentBuilder::set_job_id):<br>required: **true**<br><p>The ID of the job that failed. This is the same ID returned from <code>PollForThirdPartyJobs</code>.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::put_third_party_job_failure_result::builders::PutThirdPartyJobFailureResultFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::put_third_party_job_failure_result::builders::PutThirdPartyJobFailureResultFluentBuilder::set_client_token):<br>required: **true**<br><p>The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.</p><br>
    ///   - [`failure_details(FailureDetails)`](crate::operation::put_third_party_job_failure_result::builders::PutThirdPartyJobFailureResultFluentBuilder::failure_details) / [`set_failure_details(Option<FailureDetails>)`](crate::operation::put_third_party_job_failure_result::builders::PutThirdPartyJobFailureResultFluentBuilder::set_failure_details):<br>required: **true**<br><p>Represents information about failure details.</p><br>
    /// - On success, responds with [`PutThirdPartyJobFailureResultOutput`](crate::operation::put_third_party_job_failure_result::PutThirdPartyJobFailureResultOutput)
    /// - On failure, responds with [`SdkError<PutThirdPartyJobFailureResultError>`](crate::operation::put_third_party_job_failure_result::PutThirdPartyJobFailureResultError)
    pub fn put_third_party_job_failure_result(
        &self,
    ) -> crate::operation::put_third_party_job_failure_result::builders::PutThirdPartyJobFailureResultFluentBuilder {
        crate::operation::put_third_party_job_failure_result::builders::PutThirdPartyJobFailureResultFluentBuilder::new(self.handle.clone())
    }
}