aws_sdk_context/client/list_change_sets.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 [`ListChangeSets`](crate::operation::list_change_sets::builders::ListChangeSetsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_change_sets::builders::ListChangeSetsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`agent_context_id(impl Into<String>)`](crate::operation::list_change_sets::builders::ListChangeSetsFluentBuilder::agent_context_id) / [`set_agent_context_id(Option<String>)`](crate::operation::list_change_sets::builders::ListChangeSetsFluentBuilder::set_agent_context_id):<br>required: **true**<br><p>The agent context whose change sets you want to list, by its ID or ARN.</p><br>
8 /// - [`status(ChangeSetStatus)`](crate::operation::list_change_sets::builders::ListChangeSetsFluentBuilder::status) / [`set_status(Option<ChangeSetStatus>)`](crate::operation::list_change_sets::builders::ListChangeSetsFluentBuilder::set_status):<br>required: **true**<br><p>The status of the change sets to list, for example <code>PUBLISHED</code>. Required. A request lists one status, so to list several statuses, make one request for each. If you specify a value that isn't listed, the request fails with <code>ValidationException</code>.</p><br>
9 /// - [`access_control(AccessControl)`](crate::operation::list_change_sets::builders::ListChangeSetsFluentBuilder::access_control) / [`set_access_control(Option<AccessControl>)`](crate::operation::list_change_sets::builders::ListChangeSetsFluentBuilder::set_access_control):<br>required: **false**<br><p>The <code>accessControl</code> value to list change sets for. If you omit it, every change set in the status is listed, each with its <code>accessControl</code>. If you specify a value that isn't listed, the request fails with <code>ValidationException</code>.</p> <p>Valid values:</p> <ul> <li> <p><code>ACL_RESTRICTED</code> - Only an allowed end user can read the content (its operations), and the change set can't be edited. Every caller can read its metadata, and its proposal's <code>title</code> names no nodes or edges.</p></li> <li> <p><code>NO_ACL</code> - Every caller can read the content.</p></li> </ul><br>
10 /// - [`generated_by(Activity)`](crate::operation::list_change_sets::builders::ListChangeSetsFluentBuilder::generated_by) / [`set_generated_by(Option<Activity>)`](crate::operation::list_change_sets::builders::ListChangeSetsFluentBuilder::set_generated_by):<br>required: **false**<br><p>The activity that generated the change sets to list, for example <code>ENTITY_RESOLUTION</code>. If you omit it, change sets from every activity are listed. If you specify a value that isn't listed, the request fails with <code>ValidationException</code>. A change set without a <code>generatedBy</code>, for example one that AWS Context wrote when it loaded an ontology's schema, matches no value.</p> <p>Valid values:</p> <ul> <li> <p><code>DATA_SOURCE_EXTRACTION</code> - AWS Context extracted the content from a connected data source with a model, for example from the documents of an Amazon Bedrock knowledge base.</p></li> <li> <p><code>DATA_SOURCE_INGESTION</code> - AWS Context ingested content from a connected data source as a repeatable projection of the source, such as an AWS Glue Data Catalog sync.</p></li> <li> <p><code>ENTITY_RESOLUTION</code> - AWS Context merged duplicate entities into one canonical entity.</p></li> <li> <p><code>ONTOLOGY_GROUNDING</code> - AWS Context linked an ontology class to the data entities that instantiate it.</p></li> <li> <p><code>TRACE_ANALYSIS</code> - AWS Context derived skills and instructions from recorded agent sessions.</p></li> <li> <p><code>IMPORT_DATA_DICTIONARY_TASK</code> - An <code>IMPORT_DATA_DICTIONARY</code> task wrote the content. Change sets from earlier <code>IMPORT_VERIFIED_QUERIES</code> tasks can also carry this value.</p></li> <li> <p><code>IMPORT_VERIFIED_QUERIES_TASK</code> - An <code>IMPORT_VERIFIED_QUERIES</code> task wrote the content.</p></li> <li> <p><code>IMPORT_ONTOLOGY_TASK</code> - An <code>IMPORT_ONTOLOGY</code> task imported an ontology.</p></li> <li> <p><code>DIRECT_MODIFICATION</code> - A person, an agent, or an application called <code>CreateChangeSet</code> directly.</p></li> </ul><br>
11 /// - [`max_results(i32)`](crate::operation::list_change_sets::builders::ListChangeSetsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_change_sets::builders::ListChangeSetsFluentBuilder::set_max_results):<br>required: **false**<br><p>Maximum number of results per page (upper bound, not a target). The service might return fewer.</p><br>
12 /// - [`next_token(impl Into<String>)`](crate::operation::list_change_sets::builders::ListChangeSetsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_change_sets::builders::ListChangeSetsFluentBuilder::set_next_token):<br>required: **false**<br><p>Opaque pagination cursor from a prior response. Omit for the first page.</p><br>
13 /// - On success, responds with [`ListChangeSetsOutput`](crate::operation::list_change_sets::ListChangeSetsOutput) with field(s):
14 /// - [`items(Vec::<ChangeSetSummary>)`](crate::operation::list_change_sets::ListChangeSetsOutput::items): <p>The change set summaries. Always present, and empty when there are none. Stop paging when <code>nextToken</code> is absent, not when a page is short.</p>
15 /// - [`next_token(Option<String>)`](crate::operation::list_change_sets::ListChangeSetsOutput::next_token): <p>Pagination cursor for the next page. Absent when no more results exist.</p>
16 /// - On failure, responds with [`SdkError<ListChangeSetsError>`](crate::operation::list_change_sets::ListChangeSetsError)
17 pub fn list_change_sets(&self) -> crate::operation::list_change_sets::builders::ListChangeSetsFluentBuilder {
18 crate::operation::list_change_sets::builders::ListChangeSetsFluentBuilder::new(self.handle.clone())
19 }
20}