Skip to main content

aws_sdk_continuum/client/
get_code_issue.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 [`GetCodeIssue`](crate::operation::get_code_issue::builders::GetCodeIssueFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`environment_id(impl Into<String>)`](crate::operation::get_code_issue::builders::GetCodeIssueFluentBuilder::environment_id) / [`set_environment_id(Option<String>)`](crate::operation::get_code_issue::builders::GetCodeIssueFluentBuilder::set_environment_id):<br>required: **true**<br>The environment that owns the issue.<br>
7    ///   - [`issue_id(impl Into<String>)`](crate::operation::get_code_issue::builders::GetCodeIssueFluentBuilder::issue_id) / [`set_issue_id(Option<String>)`](crate::operation::get_code_issue::builders::GetCodeIssueFluentBuilder::set_issue_id):<br>required: **true**<br>The unique identifier of the issue to retrieve.<br>
8    /// - On success, responds with [`GetCodeIssueOutput`](crate::operation::get_code_issue::GetCodeIssueOutput) with field(s):
9    ///   - [`issue_id(String)`](crate::operation::get_code_issue::GetCodeIssueOutput::issue_id): The unique identifier of the issue.
10    ///   - [`issue_arn(String)`](crate::operation::get_code_issue::GetCodeIssueOutput::issue_arn): The ARN of the issue.
11    ///   - [`name(String)`](crate::operation::get_code_issue::GetCodeIssueOutput::name): The name of the issue.
12    ///   - [`synopsis(String)`](crate::operation::get_code_issue::GetCodeIssueOutput::synopsis): A free-form synopsis of the issue.
13    ///   - [`severity(Option<IssueSeverity>)`](crate::operation::get_code_issue::GetCodeIssueOutput::severity): Current severity: the FindingSeverity seed at create, overwritten by the authoritative severity that prioritization assigns after validation.
14    ///   - [`confidence(Option<i32>)`](crate::operation::get_code_issue::GetCodeIssueOutput::confidence): The likelihood that this issue is a true positive, expressed as a percentage (0-100).
15    ///   - [`severity_reasoning(Option<String>)`](crate::operation::get_code_issue::GetCodeIssueOutput::severity_reasoning): The justification for the current severity. Always leads with a customer-facing basis clause synthesized from how the severity was determined (e.g. "Severity from finding.", "Severity from Continuum system."); when prioritization has run, its own reasoning follows. Issues created before the basis clause was introduced return their original reasoning without it.
16    ///   - [`summary(Option<String>)`](crate::operation::get_code_issue::GetCodeIssueOutput::summary): The remediation completion summary, when the green stage has run.
17    ///   - [`finding_ids(Vec::<String>)`](crate::operation::get_code_issue::GetCodeIssueOutput::finding_ids): The findings that motivated this issue. Bare identifiers only -- a caller authorized for GetCodeIssue is not necessarily authorized to read finding detail; call GetCodeFinding for that. Every referenced finding is included regardless of origin (both CustomerUploaded and ContinuumScanner).
18    ///   - [`status(IssueStatus)`](crate::operation::get_code_issue::GetCodeIssueOutput::status): The current lifecycle status of the issue.
19    ///   - [`phase(Option<IssuePhase>)`](crate::operation::get_code_issue::GetCodeIssueOutput::phase): The part of the workflow the issue is in. Present when status is IN_PROGRESS, and when status is FAILED and the failing phase is known.
20    ///   - [`status_reason(Option<IssueStatusReason>)`](crate::operation::get_code_issue::GetCodeIssueOutput::status_reason): Why the issue failed. Present only when status is FAILED.
21    ///   - [`status_message(Option<String>)`](crate::operation::get_code_issue::GetCodeIssueOutput::status_message): Customer-facing explanation of statusReason. Present only when status is FAILED.
22    ///   - [`status_updated_at(DateTime)`](crate::operation::get_code_issue::GetCodeIssueOutput::status_updated_at): The timestamp when the status or phase last changed.
23    ///   - [`created_at(DateTime)`](crate::operation::get_code_issue::GetCodeIssueOutput::created_at): The timestamp when the issue was created.
24    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_code_issue::GetCodeIssueOutput::updated_at): The timestamp when any field of the issue last changed. Advances on every mutation (including score-only updates that do not transition status), so it is greater than or equal to statusUpdatedAt.
25    ///   - [`evidence_availability(Option<IssueEvidenceAvailability>)`](crate::operation::get_code_issue::GetCodeIssueOutput::evidence_availability): Whether the issue has any attached evidence (formerly 'artifacts': tool output, remediation proposals, patches). NONE = no evidence; AVAILABLE = at least one evidence item exists. Computed at read time.
26    ///   - [`patch_delivery(Option<IssuePatchDelivery>)`](crate::operation::get_code_issue::GetCodeIssueOutput::patch_delivery): Customer delivery of the issue's patches, summarized from its PATCH artifacts at read time. Absent when no patch has a destination delivery.
27    /// - On failure, responds with [`SdkError<GetCodeIssueError>`](crate::operation::get_code_issue::GetCodeIssueError)
28    pub fn get_code_issue(&self) -> crate::operation::get_code_issue::builders::GetCodeIssueFluentBuilder {
29        crate::operation::get_code_issue::builders::GetCodeIssueFluentBuilder::new(self.handle.clone())
30    }
31}