1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeOpsItems`](crate::operation::describe_ops_items::builders::DescribeOpsItemsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_ops_items::builders::DescribeOpsItemsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`ops_item_filters(Vec<OpsItemFilter>)`](crate::operation::describe_ops_items::builders::DescribeOpsItemsFluentBuilder::ops_item_filters) / [`set_ops_item_filters(Option<Vec<OpsItemFilter>>)`](crate::operation::describe_ops_items::builders::DescribeOpsItemsFluentBuilder::set_ops_item_filters): <p>One or more filters to limit the response.</p>  <ul>   <li> <p>Key: CreatedTime</p> <p>Operations: GreaterThan, LessThan</p> </li>   <li> <p>Key: LastModifiedBy</p> <p>Operations: Contains, Equals</p> </li>   <li> <p>Key: LastModifiedTime</p> <p>Operations: GreaterThan, LessThan</p> </li>   <li> <p>Key: Priority</p> <p>Operations: Equals</p> </li>   <li> <p>Key: Source</p> <p>Operations: Contains, Equals</p> </li>   <li> <p>Key: Status</p> <p>Operations: Equals</p> </li>   <li> <p>Key: Title*</p> <p>Operations: Equals,Contains</p> </li>   <li> <p>Key: OperationalData**</p> <p>Operations: Equals</p> </li>   <li> <p>Key: OperationalDataKey</p> <p>Operations: Equals</p> </li>   <li> <p>Key: OperationalDataValue</p> <p>Operations: Equals, Contains</p> </li>   <li> <p>Key: OpsItemId</p> <p>Operations: Equals</p> </li>   <li> <p>Key: ResourceId</p> <p>Operations: Contains</p> </li>   <li> <p>Key: AutomationId</p> <p>Operations: Equals</p> </li>  </ul>  <p>*The Equals operator for Title matches the first 100 characters. If you specify more than 100 characters, they system returns an error that the filter value exceeds the length limit.</p>  <p>**If you filter the response by using the OperationalData operator, specify a key-value pair by using the following JSON format: {"key":"key_name","value":"a_value"}</p>
    ///   - [`max_results(i32)`](crate::operation::describe_ops_items::builders::DescribeOpsItemsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_ops_items::builders::DescribeOpsItemsFluentBuilder::set_max_results): <p>The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.</p>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_ops_items::builders::DescribeOpsItemsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_ops_items::builders::DescribeOpsItemsFluentBuilder::set_next_token): <p>A token to start the list. Use this token to get the next set of results.</p>
    /// - On success, responds with [`DescribeOpsItemsOutput`](crate::operation::describe_ops_items::DescribeOpsItemsOutput) with field(s):
    ///   - [`next_token(Option<String>)`](crate::operation::describe_ops_items::DescribeOpsItemsOutput::next_token): <p>The token for the next set of items to return. Use this token to get the next set of results.</p>
    ///   - [`ops_item_summaries(Option<Vec<OpsItemSummary>>)`](crate::operation::describe_ops_items::DescribeOpsItemsOutput::ops_item_summaries): <p>A list of OpsItems.</p>
    /// - On failure, responds with [`SdkError<DescribeOpsItemsError>`](crate::operation::describe_ops_items::DescribeOpsItemsError)
    pub fn describe_ops_items(
        &self,
    ) -> crate::operation::describe_ops_items::builders::DescribeOpsItemsFluentBuilder {
        crate::operation::describe_ops_items::builders::DescribeOpsItemsFluentBuilder::new(
            self.handle.clone(),
        )
    }
}