aws_sdk_iotsitewise/client/
list_executions.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 [`ListExecutions`](crate::operation::list_executions::builders::ListExecutionsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_executions::builders::ListExecutionsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`target_resource_type(TargetResourceType)`](crate::operation::list_executions::builders::ListExecutionsFluentBuilder::target_resource_type) / [`set_target_resource_type(Option<TargetResourceType>)`](crate::operation::list_executions::builders::ListExecutionsFluentBuilder::set_target_resource_type):<br>required: **true**<br><p>The type of the target resource.</p><br>
8    ///   - [`target_resource_id(impl Into<String>)`](crate::operation::list_executions::builders::ListExecutionsFluentBuilder::target_resource_id) / [`set_target_resource_id(Option<String>)`](crate::operation::list_executions::builders::ListExecutionsFluentBuilder::set_target_resource_id):<br>required: **true**<br><p>The ID of the target resource.</p><br>
9    ///   - [`resolve_to_resource_type(ResolveToResourceType)`](crate::operation::list_executions::builders::ListExecutionsFluentBuilder::resolve_to_resource_type) / [`set_resolve_to_resource_type(Option<ResolveToResourceType>)`](crate::operation::list_executions::builders::ListExecutionsFluentBuilder::set_resolve_to_resource_type):<br>required: **false**<br><p>The type of the resolved resource.</p><br>
10    ///   - [`resolve_to_resource_id(impl Into<String>)`](crate::operation::list_executions::builders::ListExecutionsFluentBuilder::resolve_to_resource_id) / [`set_resolve_to_resource_id(Option<String>)`](crate::operation::list_executions::builders::ListExecutionsFluentBuilder::set_resolve_to_resource_id):<br>required: **false**<br><p>The ID of the resolved resource.</p><br>
11    ///   - [`next_token(impl Into<String>)`](crate::operation::list_executions::builders::ListExecutionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_executions::builders::ListExecutionsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token used for the next set of paginated results.</p><br>
12    ///   - [`max_results(i32)`](crate::operation::list_executions::builders::ListExecutionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_executions::builders::ListExecutionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results returned for each paginated request.</p><br>
13    ///   - [`action_type(impl Into<String>)`](crate::operation::list_executions::builders::ListExecutionsFluentBuilder::action_type) / [`set_action_type(Option<String>)`](crate::operation::list_executions::builders::ListExecutionsFluentBuilder::set_action_type):<br>required: **false**<br><p>The type of action exectued.</p><br>
14    /// - On success, responds with [`ListExecutionsOutput`](crate::operation::list_executions::ListExecutionsOutput) with field(s):
15    ///   - [`execution_summaries(Vec::<ExecutionSummary>)`](crate::operation::list_executions::ListExecutionsOutput::execution_summaries): <p>Contains the list of execution summaries of the computation models.</p>
16    ///   - [`next_token(Option<String>)`](crate::operation::list_executions::ListExecutionsOutput::next_token): <p>The token for the next set of results, or null if there are no additional results.</p>
17    /// - On failure, responds with [`SdkError<ListExecutionsError>`](crate::operation::list_executions::ListExecutionsError)
18    pub fn list_executions(&self) -> crate::operation::list_executions::builders::ListExecutionsFluentBuilder {
19        crate::operation::list_executions::builders::ListExecutionsFluentBuilder::new(self.handle.clone())
20    }
21}