aws_sdk_context/client/list_change_set_operations.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 [`ListChangeSetOperations`](crate::operation::list_change_set_operations::builders::ListChangeSetOperationsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_change_set_operations::builders::ListChangeSetOperationsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`change_set_id(impl Into<String>)`](crate::operation::list_change_set_operations::builders::ListChangeSetOperationsFluentBuilder::change_set_id) / [`set_change_set_id(Option<String>)`](crate::operation::list_change_set_operations::builders::ListChangeSetOperationsFluentBuilder::set_change_set_id):<br>required: **true**<br><p>The change set whose operations to page through, by its opaque instance ID.</p><br>
8 /// - [`agent_context_id(impl Into<String>)`](crate::operation::list_change_set_operations::builders::ListChangeSetOperationsFluentBuilder::agent_context_id) / [`set_agent_context_id(Option<String>)`](crate::operation::list_change_set_operations::builders::ListChangeSetOperationsFluentBuilder::set_agent_context_id):<br>required: **true**<br><p>The agent context that owns the change set, as an ID or ARN. Authorization is on this agent context's ARN, and a change set of another agent context is a ResourceNotFoundException.</p><br>
9 /// - [`max_results(i32)`](crate::operation::list_change_set_operations::builders::ListChangeSetOperationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_change_set_operations::builders::ListChangeSetOperationsFluentBuilder::set_max_results):<br>required: **false**<br><p>Maximum number of operations per page (upper bound, not a target). Defaults to 50. A value outside 1–100 fails with <code>ValidationException</code>.</p><br>
10 /// - [`next_token(impl Into<String>)`](crate::operation::list_change_set_operations::builders::ListChangeSetOperationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_change_set_operations::builders::ListChangeSetOperationsFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token from a previous response. Omit it for the first page.</p> <p>The request fails with <code>ValidationException</code>, and you must start again without a token, in these cases:</p> <ul> <li> <p>The token was issued before an <code>UpdateChangeSet</code> edit, and the change set is still <code>PENDING</code>.</p></li> <li> <p>The token was issued while an edited change set was <code>PENDING</code>, and the change set's status has since changed.</p></li> <li> <p>The token was issued to another end user or for another change set.</p></li> </ul> <p>On an <code>ACL_RESTRICTED</code> change set, AWS Context checks access before it reads the token, so a caller without access gets <code>AccessDeniedException</code> whatever token it sends. For an allowed end user, the token also carries the access decision, which expires after a few minutes. AWS Context then checks access again before it returns the page.</p><br>
11 /// - On success, responds with [`ListChangeSetOperationsOutput`](crate::operation::list_change_set_operations::ListChangeSetOperationsOutput) with field(s):
12 /// - [`items(Vec::<ChangeSetOperation>)`](crate::operation::list_change_set_operations::ListChangeSetOperationsOutput::items): <p>This page of the change set's operations.</p>
13 /// - [`next_token(Option<String>)`](crate::operation::list_change_set_operations::ListChangeSetOperationsOutput::next_token): <p>Pagination cursor for the next page. Absent when no more operations remain.</p>
14 /// - On failure, responds with [`SdkError<ListChangeSetOperationsError>`](crate::operation::list_change_set_operations::ListChangeSetOperationsError)
15 pub fn list_change_set_operations(&self) -> crate::operation::list_change_set_operations::builders::ListChangeSetOperationsFluentBuilder {
16 crate::operation::list_change_set_operations::builders::ListChangeSetOperationsFluentBuilder::new(self.handle.clone())
17 }
18}