aws_sdk_securityir/client/
get_case.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetCase`](crate::operation::get_case::builders::GetCaseFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`GetCaseOutput`](crate::operation::get_case::GetCaseOutput) with field(s):
    ///   - [`title(Option<String>)`](crate::operation::get_case::GetCaseOutput::title): <p>Response element for GetCase that provides the case title.</p>
    ///   - [`case_arn(Option<String>)`](crate::operation::get_case::GetCaseOutput::case_arn): <p>Response element for GetCase that provides the case ARN</p>
    ///   - [`description(Option<String>)`](crate::operation::get_case::GetCaseOutput::description): <p>Response element for GetCase that provides contents of the case description.</p>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`pending_action(Option<PendingAction>)`](crate::operation::get_case::GetCaseOutput::pending_action): <p>Response element for GetCase that provides identifies the case is waiting on customer input.</p>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`resolver_type(Option<ResolverType>)`](crate::operation::get_case::GetCaseOutput::resolver_type): <p>Response element for GetCase that provides the current resolver types. Options include <code> self-supported | AWS-supported</code>.</p>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<GetCaseError>`](crate::operation::get_case::GetCaseError)
    pub fn get_case(&self) -> crate::operation::get_case::builders::GetCaseFluentBuilder {
        crate::operation::get_case::builders::GetCaseFluentBuilder::new(self.handle.clone())
    }
}