aws_sdk_codepipeline/client/
put_job_success_result.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`PutJobSuccessResult`](crate::operation::put_job_success_result::builders::PutJobSuccessResultFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`job_id(impl Into<String>)`](crate::operation::put_job_success_result::builders::PutJobSuccessResultFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::put_job_success_result::builders::PutJobSuccessResultFluentBuilder::set_job_id):<br>required: **true**<br><p>The unique system-generated ID of the job that succeeded. This is the same ID returned from <code>PollForJobs</code>.</p><br>
7    ///   - [`current_revision(CurrentRevision)`](crate::operation::put_job_success_result::builders::PutJobSuccessResultFluentBuilder::current_revision) / [`set_current_revision(Option<CurrentRevision>)`](crate::operation::put_job_success_result::builders::PutJobSuccessResultFluentBuilder::set_current_revision):<br>required: **false**<br><p>The ID of the current revision of the artifact successfully worked on by the job.</p><br>
8    ///   - [`continuation_token(impl Into<String>)`](crate::operation::put_job_success_result::builders::PutJobSuccessResultFluentBuilder::continuation_token) / [`set_continuation_token(Option<String>)`](crate::operation::put_job_success_result::builders::PutJobSuccessResultFluentBuilder::set_continuation_token):<br>required: **false**<br><p>A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs use this token to identify the running instance of the action. It can be reused to return more information about the progress of the custom action. When the action is complete, no continuation token should be supplied.</p><br>
9    ///   - [`execution_details(ExecutionDetails)`](crate::operation::put_job_success_result::builders::PutJobSuccessResultFluentBuilder::execution_details) / [`set_execution_details(Option<ExecutionDetails>)`](crate::operation::put_job_success_result::builders::PutJobSuccessResultFluentBuilder::set_execution_details):<br>required: **false**<br><p>The execution details of the successful job, such as the actions taken by the job worker.</p><br>
10    ///   - [`output_variables(impl Into<String>, impl Into<String>)`](crate::operation::put_job_success_result::builders::PutJobSuccessResultFluentBuilder::output_variables) / [`set_output_variables(Option<HashMap::<String, String>>)`](crate::operation::put_job_success_result::builders::PutJobSuccessResultFluentBuilder::set_output_variables):<br>required: **false**<br><p>Key-value pairs produced as output by a job worker that can be made available to a downstream action configuration. <code>outputVariables</code> can be included only when there is no continuation token on the request.</p><br>
11    /// - On success, responds with [`PutJobSuccessResultOutput`](crate::operation::put_job_success_result::PutJobSuccessResultOutput)
12    /// - On failure, responds with [`SdkError<PutJobSuccessResultError>`](crate::operation::put_job_success_result::PutJobSuccessResultError)
13    pub fn put_job_success_result(&self) -> crate::operation::put_job_success_result::builders::PutJobSuccessResultFluentBuilder {
14        crate::operation::put_job_success_result::builders::PutJobSuccessResultFluentBuilder::new(self.handle.clone())
15    }
16}