aws_sdk_securityir/client/
get_case.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 [`GetCase`](crate::operation::get_case::builders::GetCaseFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`case_id(impl Into<String>)`](crate::operation::get_case::builders::GetCaseFluentBuilder::case_id) / [`set_case_id(Option<String>)`](crate::operation::get_case::builders::GetCaseFluentBuilder::set_case_id):<br>required: **true**<br><p>Required element for GetCase to identify the requested case ID.</p><br>
7    /// - On success, responds with [`GetCaseOutput`](crate::operation::get_case::GetCaseOutput) with field(s):
8    ///   - [`title(Option<String>)`](crate::operation::get_case::GetCaseOutput::title): <p>Response element for GetCase that provides the case title.</p>
9    ///   - [`case_arn(Option<String>)`](crate::operation::get_case::GetCaseOutput::case_arn): <p>Response element for GetCase that provides the case ARN</p>
10    ///   - [`description(Option<String>)`](crate::operation::get_case::GetCaseOutput::description): <p>Response element for GetCase that provides contents of the case description.</p>
11    ///   - [`case_status(Option<CaseStatus>)`](crate::operation::get_case::GetCaseOutput::case_status): <p>Response element for GetCase that provides the case status. Options for statuses include <code>Submitted | Detection and Analysis | Eradication, Containment and Recovery | Post-Incident Activities | Closed </code></p>
12    ///   - [`engagement_type(Option<EngagementType>)`](crate::operation::get_case::GetCaseOutput::engagement_type): <p>Response element for GetCase that provides the engagement type. Options for engagement type include <code>Active Security Event | Investigations</code></p>
13    ///   - [`reported_incident_start_date(Option<DateTime>)`](crate::operation::get_case::GetCaseOutput::reported_incident_start_date): <p>Response element for GetCase that provides the customer provided incident start date.</p>
14    ///   - [`actual_incident_start_date(Option<DateTime>)`](crate::operation::get_case::GetCaseOutput::actual_incident_start_date): <p>Response element for GetCase that provides the actual incident start date as identified by data analysis during the investigation.</p>
15    ///   - [`impacted_aws_regions(Option<Vec::<ImpactedAwsRegion>>)`](crate::operation::get_case::GetCaseOutput::impacted_aws_regions): <p>Response element for GetCase that provides the impacted regions.</p>
16    ///   - [`threat_actor_ip_addresses(Option<Vec::<ThreatActorIp>>)`](crate::operation::get_case::GetCaseOutput::threat_actor_ip_addresses): <p>Response element for GetCase that provides a list of suspicious IP addresses associated with unauthorized activity.</p>
17    ///   - [`pending_action(Option<PendingAction>)`](crate::operation::get_case::GetCaseOutput::pending_action): <p>Response element for GetCase that identifies the case is waiting on customer input.</p>
18    ///   - [`impacted_accounts(Option<Vec::<String>>)`](crate::operation::get_case::GetCaseOutput::impacted_accounts): <p>Response element for GetCase that provides a list of impacted accounts.</p>
19    ///   - [`watchers(Option<Vec::<Watcher>>)`](crate::operation::get_case::GetCaseOutput::watchers): <p>Response element for GetCase that provides a list of Watchers added to the case.</p>
20    ///   - [`created_date(Option<DateTime>)`](crate::operation::get_case::GetCaseOutput::created_date): <p>Response element for GetCase that provides the date the case was created.</p>
21    ///   - [`last_updated_date(Option<DateTime>)`](crate::operation::get_case::GetCaseOutput::last_updated_date): <p>Response element for GetCase that provides the date a case was last modified.</p>
22    ///   - [`closure_code(Option<ClosureCode>)`](crate::operation::get_case::GetCaseOutput::closure_code): <p>Response element for GetCase that provides the summary code for why a case was closed.</p>
23    ///   - [`resolver_type(Option<ResolverType>)`](crate::operation::get_case::GetCaseOutput::resolver_type): <p>Response element for GetCase that provides the current resolver types.</p>
24    ///   - [`impacted_services(Option<Vec::<String>>)`](crate::operation::get_case::GetCaseOutput::impacted_services): <p>Response element for GetCase that provides a list of impacted services.</p>
25    ///   - [`case_attachments(Option<Vec::<CaseAttachmentAttributes>>)`](crate::operation::get_case::GetCaseOutput::case_attachments): <p>Response element for GetCase that provides a list of current case attachments.</p>
26    ///   - [`closed_date(Option<DateTime>)`](crate::operation::get_case::GetCaseOutput::closed_date): <p>Response element for GetCase that provides the date a specified case was closed.</p>
27    /// - On failure, responds with [`SdkError<GetCaseError>`](crate::operation::get_case::GetCaseError)
28    pub fn get_case(&self) -> crate::operation::get_case::builders::GetCaseFluentBuilder {
29        crate::operation::get_case::builders::GetCaseFluentBuilder::new(self.handle.clone())
30    }
31}