aws-sdk-continuum 1.0.0

AWS SDK for AWS Continuum
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetCodeScan`](crate::operation::get_code_scan::builders::GetCodeScanFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`environment_id(impl Into<String>)`](crate::operation::get_code_scan::builders::GetCodeScanFluentBuilder::environment_id) / [`set_environment_id(Option<String>)`](crate::operation::get_code_scan::builders::GetCodeScanFluentBuilder::set_environment_id):<br>required: **true**<br>Environment that owns the scan.<br>
    ///   - [`scan_run_id(impl Into<String>)`](crate::operation::get_code_scan::builders::GetCodeScanFluentBuilder::scan_run_id) / [`set_scan_run_id(Option<String>)`](crate::operation::get_code_scan::builders::GetCodeScanFluentBuilder::set_scan_run_id):<br>required: **true**<br>Scan to retrieve.<br>
    /// - On success, responds with [`GetCodeScanOutput`](crate::operation::get_code_scan::GetCodeScanOutput) with field(s):
    ///   - [`scan(Option<CodeScanData>)`](crate::operation::get_code_scan::GetCodeScanOutput::scan): Complete customer-visible scan data.
    /// - On failure, responds with [`SdkError<GetCodeScanError>`](crate::operation::get_code_scan::GetCodeScanError)
    pub fn get_code_scan(&self) -> crate::operation::get_code_scan::builders::GetCodeScanFluentBuilder {
        crate::operation::get_code_scan::builders::GetCodeScanFluentBuilder::new(self.handle.clone())
    }
}