aws_sdk_continuum/client/get_code_scan.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 [`GetCodeScan`](crate::operation::get_code_scan::builders::GetCodeScanFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`GetCodeScanOutput`](crate::operation::get_code_scan::GetCodeScanOutput) with field(s):
9 /// - [`scan(Option<CodeScanData>)`](crate::operation::get_code_scan::GetCodeScanOutput::scan): Complete customer-visible scan data.
10 /// - On failure, responds with [`SdkError<GetCodeScanError>`](crate::operation::get_code_scan::GetCodeScanError)
11 pub fn get_code_scan(&self) -> crate::operation::get_code_scan::builders::GetCodeScanFluentBuilder {
12 crate::operation::get_code_scan::builders::GetCodeScanFluentBuilder::new(self.handle.clone())
13 }
14}