// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListEventSubscriptions`](crate::operation::list_event_subscriptions::builders::ListEventSubscriptionsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_event_subscriptions::builders::ListEventSubscriptionsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`resource_arn(impl Into<String>)`](crate::operation::list_event_subscriptions::builders::ListEventSubscriptionsFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::list_event_subscriptions::builders::ListEventSubscriptionsFluentBuilder::set_resource_arn):<br>required: **false**<br><p>The ARN of the assessment template for which you want to list the existing event subscriptions.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_event_subscriptions::builders::ListEventSubscriptionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_event_subscriptions::builders::ListEventSubscriptionsFluentBuilder::set_next_token):<br>required: **false**<br><p>You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the <b>ListEventSubscriptions</b> action. Subsequent calls to the action fill <b>nextToken</b> in the request with the value of <b>NextToken</b> from the previous response to continue listing data.</p><br>
/// - [`max_results(i32)`](crate::operation::list_event_subscriptions::builders::ListEventSubscriptionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_event_subscriptions::builders::ListEventSubscriptionsFluentBuilder::set_max_results):<br>required: **false**<br><p>You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.</p><br>
/// - On success, responds with [`ListEventSubscriptionsOutput`](crate::operation::list_event_subscriptions::ListEventSubscriptionsOutput) with field(s):
/// - [`subscriptions(Vec::<Subscription>)`](crate::operation::list_event_subscriptions::ListEventSubscriptionsOutput::subscriptions): <p>Details of the returned event subscriptions.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_event_subscriptions::ListEventSubscriptionsOutput::next_token): <p>When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the <b>nextToken</b> parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.</p>
/// - On failure, responds with [`SdkError<ListEventSubscriptionsError>`](crate::operation::list_event_subscriptions::ListEventSubscriptionsError)
pub fn list_event_subscriptions(&self) -> crate::operation::list_event_subscriptions::builders::ListEventSubscriptionsFluentBuilder {
crate::operation::list_event_subscriptions::builders::ListEventSubscriptionsFluentBuilder::new(self.handle.clone())
}
}