aws_sdk_customerprofiles/client/list_event_streams.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 [`ListEventStreams`](crate::operation::list_event_streams::builders::ListEventStreamsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_event_streams::builders::ListEventStreamsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`domain_name(impl Into<String>)`](crate::operation::list_event_streams::builders::ListEventStreamsFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::list_event_streams::builders::ListEventStreamsFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::list_event_streams::builders::ListEventStreamsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_event_streams::builders::ListEventStreamsFluentBuilder::set_next_token):<br>required: **false**<br><p>Identifies the next page of results to return.</p><br>
9 /// - [`max_results(i32)`](crate::operation::list_event_streams::builders::ListEventStreamsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_event_streams::builders::ListEventStreamsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of objects returned per page.</p><br>
10 /// - On success, responds with [`ListEventStreamsOutput`](crate::operation::list_event_streams::ListEventStreamsOutput) with field(s):
11 /// - [`items(Option<Vec::<EventStreamSummary>>)`](crate::operation::list_event_streams::ListEventStreamsOutput::items): <p>Contains summary information about an EventStream.</p>
12 /// - [`next_token(Option<String>)`](crate::operation::list_event_streams::ListEventStreamsOutput::next_token): <p>Identifies the next page of results to return.</p>
13 /// - On failure, responds with [`SdkError<ListEventStreamsError>`](crate::operation::list_event_streams::ListEventStreamsError)
14 pub fn list_event_streams(&self) -> crate::operation::list_event_streams::builders::ListEventStreamsFluentBuilder {
15 crate::operation::list_event_streams::builders::ListEventStreamsFluentBuilder::new(self.handle.clone())
16 }
17}