aws_sdk_detective/client/
update_investigation_state.rs

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 [`UpdateInvestigationState`](crate::operation::update_investigation_state::builders::UpdateInvestigationStateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`graph_arn(impl Into<String>)`](crate::operation::update_investigation_state::builders::UpdateInvestigationStateFluentBuilder::graph_arn) / [`set_graph_arn(Option<String>)`](crate::operation::update_investigation_state::builders::UpdateInvestigationStateFluentBuilder::set_graph_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the behavior graph.</p><br>
    ///   - [`investigation_id(impl Into<String>)`](crate::operation::update_investigation_state::builders::UpdateInvestigationStateFluentBuilder::investigation_id) / [`set_investigation_id(Option<String>)`](crate::operation::update_investigation_state::builders::UpdateInvestigationStateFluentBuilder::set_investigation_id):<br>required: **true**<br><p>The investigation ID of the investigation report.</p><br>
    ///   - [`state(State)`](crate::operation::update_investigation_state::builders::UpdateInvestigationStateFluentBuilder::state) / [`set_state(Option<State>)`](crate::operation::update_investigation_state::builders::UpdateInvestigationStateFluentBuilder::set_state):<br>required: **true**<br><p>The current state of the investigation. An archived investigation indicates you have completed reviewing the investigation.</p><br>
    /// - On success, responds with [`UpdateInvestigationStateOutput`](crate::operation::update_investigation_state::UpdateInvestigationStateOutput)
    /// - On failure, responds with [`SdkError<UpdateInvestigationStateError>`](crate::operation::update_investigation_state::UpdateInvestigationStateError)
    pub fn update_investigation_state(&self) -> crate::operation::update_investigation_state::builders::UpdateInvestigationStateFluentBuilder {
        crate::operation::update_investigation_state::builders::UpdateInvestigationStateFluentBuilder::new(self.handle.clone())
    }
}