aws_sdk_detective/client/start_investigation.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StartInvestigation`](crate::operation::start_investigation::builders::StartInvestigationFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`graph_arn(impl Into<String>)`](crate::operation::start_investigation::builders::StartInvestigationFluentBuilder::graph_arn) / [`set_graph_arn(Option<String>)`](crate::operation::start_investigation::builders::StartInvestigationFluentBuilder::set_graph_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the behavior graph.</p><br>
/// - [`entity_arn(impl Into<String>)`](crate::operation::start_investigation::builders::StartInvestigationFluentBuilder::entity_arn) / [`set_entity_arn(Option<String>)`](crate::operation::start_investigation::builders::StartInvestigationFluentBuilder::set_entity_arn):<br>required: **true**<br><p>The unique Amazon Resource Name (ARN) of the IAM user and IAM role.</p><br>
/// - [`scope_start_time(DateTime)`](crate::operation::start_investigation::builders::StartInvestigationFluentBuilder::scope_start_time) / [`set_scope_start_time(Option<DateTime>)`](crate::operation::start_investigation::builders::StartInvestigationFluentBuilder::set_scope_start_time):<br>required: **true**<br><p>The data and time when the investigation began. The value is an UTC ISO8601 formatted string. For example, <code>2021-08-18T16:35:56.284Z</code>.</p><br>
/// - [`scope_end_time(DateTime)`](crate::operation::start_investigation::builders::StartInvestigationFluentBuilder::scope_end_time) / [`set_scope_end_time(Option<DateTime>)`](crate::operation::start_investigation::builders::StartInvestigationFluentBuilder::set_scope_end_time):<br>required: **true**<br><p>The data and time when the investigation ended. The value is an UTC ISO8601 formatted string. For example, <code>2021-08-18T16:35:56.284Z</code>.</p><br>
/// - On success, responds with [`StartInvestigationOutput`](crate::operation::start_investigation::StartInvestigationOutput) with field(s):
/// - [`investigation_id(Option<String>)`](crate::operation::start_investigation::StartInvestigationOutput::investigation_id): <p>The investigation ID of the investigation report.</p>
/// - On failure, responds with [`SdkError<StartInvestigationError>`](crate::operation::start_investigation::StartInvestigationError)
pub fn start_investigation(&self) -> crate::operation::start_investigation::builders::StartInvestigationFluentBuilder {
crate::operation::start_investigation::builders::StartInvestigationFluentBuilder::new(self.handle.clone())
}
}