aws_sdk_deadline/client/
list_session_actions.rs

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 [`ListSessionActions`](crate::operation::list_session_actions::builders::ListSessionActionsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_session_actions::builders::ListSessionActionsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`farm_id(impl Into<String>)`](crate::operation::list_session_actions::builders::ListSessionActionsFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::list_session_actions::builders::ListSessionActionsFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID for the session actions list.</p><br>
    ///   - [`queue_id(impl Into<String>)`](crate::operation::list_session_actions::builders::ListSessionActionsFluentBuilder::queue_id) / [`set_queue_id(Option<String>)`](crate::operation::list_session_actions::builders::ListSessionActionsFluentBuilder::set_queue_id):<br>required: **true**<br><p>The queue ID for the session actions list.</p><br>
    ///   - [`job_id(impl Into<String>)`](crate::operation::list_session_actions::builders::ListSessionActionsFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::list_session_actions::builders::ListSessionActionsFluentBuilder::set_job_id):<br>required: **true**<br><p>The job ID for the session actions list.</p><br>
    ///   - [`session_id(impl Into<String>)`](crate::operation::list_session_actions::builders::ListSessionActionsFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::list_session_actions::builders::ListSessionActionsFluentBuilder::set_session_id):<br>required: **false**<br><p>The session ID to include on the sessions action list.</p><br>
    ///   - [`task_id(impl Into<String>)`](crate::operation::list_session_actions::builders::ListSessionActionsFluentBuilder::task_id) / [`set_task_id(Option<String>)`](crate::operation::list_session_actions::builders::ListSessionActionsFluentBuilder::set_task_id):<br>required: **false**<br><p>The task ID for the session actions list.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_session_actions::builders::ListSessionActionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_session_actions::builders::ListSessionActionsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of results, or <code>null</code> to start from the beginning.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_session_actions::builders::ListSessionActionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_session_actions::builders::ListSessionActionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return. Use this parameter with <code>NextToken</code> to get results as a set of sequential pages.</p><br>
    /// - On success, responds with [`ListSessionActionsOutput`](crate::operation::list_session_actions::ListSessionActionsOutput) with field(s):
    ///   - [`session_actions(Vec::<SessionActionSummary>)`](crate::operation::list_session_actions::ListSessionActionsOutput::session_actions): <p>The session actions.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_session_actions::ListSessionActionsOutput::next_token): <p>If Deadline Cloud returns <code>nextToken</code>, then there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then <code>nextToken</code> is set to <code>null</code>. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 <code>ValidationException</code> error.</p>
    /// - On failure, responds with [`SdkError<ListSessionActionsError>`](crate::operation::list_session_actions::ListSessionActionsError)
    pub fn list_session_actions(&self) -> crate::operation::list_session_actions::builders::ListSessionActionsFluentBuilder {
        crate::operation::list_session_actions::builders::ListSessionActionsFluentBuilder::new(self.handle.clone())
    }
}