1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetChunk`](crate::operation::get_chunk::builders::GetChunkFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`storage_job_id(impl Into<String>)`](crate::operation::get_chunk::builders::GetChunkFluentBuilder::storage_job_id) / [`set_storage_job_id(Option<String>)`](crate::operation::get_chunk::builders::GetChunkFluentBuilder::set_storage_job_id):<br>required: **true**<br>Storage job id<br>
    ///   - [`chunk_token(impl Into<String>)`](crate::operation::get_chunk::builders::GetChunkFluentBuilder::chunk_token) / [`set_chunk_token(Option<String>)`](crate::operation::get_chunk::builders::GetChunkFluentBuilder::set_chunk_token):<br>required: **true**<br>Chunk token<br>
    /// - On success, responds with [`GetChunkOutput`](crate::operation::get_chunk::GetChunkOutput) with field(s):
    ///   - [`data(ByteStream)`](crate::operation::get_chunk::GetChunkOutput::data): Chunk data
    ///   - [`length(i64)`](crate::operation::get_chunk::GetChunkOutput::length): Data length
    ///   - [`checksum(String)`](crate::operation::get_chunk::GetChunkOutput::checksum): Data checksum
    ///   - [`checksum_algorithm(DataChecksumAlgorithm)`](crate::operation::get_chunk::GetChunkOutput::checksum_algorithm): Checksum algorithm
    /// - On failure, responds with [`SdkError<GetChunkError>`](crate::operation::get_chunk::GetChunkError)
    pub fn get_chunk(&self) -> crate::operation::get_chunk::builders::GetChunkFluentBuilder {
        crate::operation::get_chunk::builders::GetChunkFluentBuilder::new(self.handle.clone())
    }
}