aws_sdk_detective/client/update_investigation_state.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 [`UpdateInvestigationState`](crate::operation::update_investigation_state::builders::UpdateInvestigationStateFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - On success, responds with [`UpdateInvestigationStateOutput`](crate::operation::update_investigation_state::UpdateInvestigationStateOutput)
10 /// - On failure, responds with [`SdkError<UpdateInvestigationStateError>`](crate::operation::update_investigation_state::UpdateInvestigationStateError)
11 pub fn update_investigation_state(&self) -> crate::operation::update_investigation_state::builders::UpdateInvestigationStateFluentBuilder {
12 crate::operation::update_investigation_state::builders::UpdateInvestigationStateFluentBuilder::new(self.handle.clone())
13 }
14}