1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RetryBuildBatch`](crate::operation::retry_build_batch::builders::RetryBuildBatchFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::retry_build_batch::builders::RetryBuildBatchFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::retry_build_batch::builders::RetryBuildBatchFluentBuilder::set_id):<br>required: **false**<br><p>Specifies the identifier of the batch build to restart.</p><br>
    ///   - [`idempotency_token(impl Into<String>)`](crate::operation::retry_build_batch::builders::RetryBuildBatchFluentBuilder::idempotency_token) / [`set_idempotency_token(Option<String>)`](crate::operation::retry_build_batch::builders::RetryBuildBatchFluentBuilder::set_idempotency_token):<br>required: **false**<br><p>A unique, case sensitive identifier you provide to ensure the idempotency of the <code>RetryBuildBatch</code> request. The token is included in the <code>RetryBuildBatch</code> request and is valid for five minutes. If you repeat the <code>RetryBuildBatch</code> request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.</p><br>
    ///   - [`retry_type(RetryBuildBatchType)`](crate::operation::retry_build_batch::builders::RetryBuildBatchFluentBuilder::retry_type) / [`set_retry_type(Option<RetryBuildBatchType>)`](crate::operation::retry_build_batch::builders::RetryBuildBatchFluentBuilder::set_retry_type):<br>required: **false**<br><p>Specifies the type of retry to perform.</p><br>
    /// - On success, responds with [`RetryBuildBatchOutput`](crate::operation::retry_build_batch::RetryBuildBatchOutput) with field(s):
    ///   - [`build_batch(Option<BuildBatch>)`](crate::operation::retry_build_batch::RetryBuildBatchOutput::build_batch): <p>Contains information about a batch build.</p>
    /// - On failure, responds with [`SdkError<RetryBuildBatchError>`](crate::operation::retry_build_batch::RetryBuildBatchError)
    pub fn retry_build_batch(&self) -> crate::operation::retry_build_batch::builders::RetryBuildBatchFluentBuilder {
        crate::operation::retry_build_batch::builders::RetryBuildBatchFluentBuilder::new(self.handle.clone())
    }
}