1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListIndicators`](crate::operation::list_indicators::builders::ListIndicatorsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`graph_arn(impl Into<String>)`](crate::operation::list_indicators::builders::ListIndicatorsFluentBuilder::graph_arn) / [`set_graph_arn(Option<String>)`](crate::operation::list_indicators::builders::ListIndicatorsFluentBuilder::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::list_indicators::builders::ListIndicatorsFluentBuilder::investigation_id) / [`set_investigation_id(Option<String>)`](crate::operation::list_indicators::builders::ListIndicatorsFluentBuilder::set_investigation_id):<br>required: **true**<br><p>The investigation ID of the investigation report.</p><br>
    ///   - [`indicator_type(IndicatorType)`](crate::operation::list_indicators::builders::ListIndicatorsFluentBuilder::indicator_type) / [`set_indicator_type(Option<IndicatorType>)`](crate::operation::list_indicators::builders::ListIndicatorsFluentBuilder::set_indicator_type):<br>required: **false**<br><p>For the list of indicators of compromise that are generated by Detective investigations, see <a href="https://docs.aws.amazon.com/detective/latest/userguide/detective-investigations.html">Detective investigations</a>.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_indicators::builders::ListIndicatorsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_indicators::builders::ListIndicatorsFluentBuilder::set_next_token):<br>required: **false**<br><p>Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.</p> <p>Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_indicators::builders::ListIndicatorsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_indicators::builders::ListIndicatorsFluentBuilder::set_max_results):<br>required: **false**<br><p>Lists the maximum number of indicators in a page.</p><br>
    /// - On success, responds with [`ListIndicatorsOutput`](crate::operation::list_indicators::ListIndicatorsOutput) with field(s):
    ///   - [`graph_arn(Option<String>)`](crate::operation::list_indicators::ListIndicatorsOutput::graph_arn): <p>The Amazon Resource Name (ARN) of the behavior graph.</p>
    ///   - [`investigation_id(Option<String>)`](crate::operation::list_indicators::ListIndicatorsOutput::investigation_id): <p>The investigation ID of the investigation report.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_indicators::ListIndicatorsOutput::next_token): <p>Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.</p> <p>Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.</p>
    ///   - [`indicators(Option<Vec::<Indicator>>)`](crate::operation::list_indicators::ListIndicatorsOutput::indicators): <p>Lists the indicators of compromise.</p>
    /// - On failure, responds with [`SdkError<ListIndicatorsError>`](crate::operation::list_indicators::ListIndicatorsError)
    pub fn list_indicators(&self) -> crate::operation::list_indicators::builders::ListIndicatorsFluentBuilder {
        crate::operation::list_indicators::builders::ListIndicatorsFluentBuilder::new(self.handle.clone())
    }
}