aws_sdk_datazone/client/list_environment_actions.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListEnvironmentActions`](crate::operation::list_environment_actions::builders::ListEnvironmentActionsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_environment_actions::builders::ListEnvironmentActionsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`domain_identifier(impl Into<String>)`](crate::operation::list_environment_actions::builders::ListEnvironmentActionsFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::list_environment_actions::builders::ListEnvironmentActionsFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain in which the environment actions are listed.</p><br>
/// - [`environment_identifier(impl Into<String>)`](crate::operation::list_environment_actions::builders::ListEnvironmentActionsFluentBuilder::environment_identifier) / [`set_environment_identifier(Option<String>)`](crate::operation::list_environment_actions::builders::ListEnvironmentActionsFluentBuilder::set_environment_identifier):<br>required: **true**<br><p>The ID of the envrironment whose environment actions are listed.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_environment_actions::builders::ListEnvironmentActionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_environment_actions::builders::ListEnvironmentActionsFluentBuilder::set_next_token):<br>required: **false**<br><p>When the number of environment actions is greater than the default value for the <code>MaxResults</code> parameter, or if you explicitly specify a value for <code>MaxResults</code> that is less than the number of environment actions, the response includes a pagination token named <code>NextToken</code>. You can specify this <code>NextToken</code> value in a subsequent call to <code>ListEnvironmentActions</code> to list the next set of environment actions.</p><br>
/// - [`max_results(i32)`](crate::operation::list_environment_actions::builders::ListEnvironmentActionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_environment_actions::builders::ListEnvironmentActionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of environment actions to return in a single call to <code>ListEnvironmentActions</code>. When the number of environment actions to be listed is greater than the value of <code>MaxResults</code>, the response contains a <code>NextToken</code> value that you can use in a subsequent call to <code>ListEnvironmentActions</code> to list the next set of environment actions.</p><br>
/// - On success, responds with [`ListEnvironmentActionsOutput`](crate::operation::list_environment_actions::ListEnvironmentActionsOutput) with field(s):
/// - [`items(Option<Vec::<EnvironmentActionSummary>>)`](crate::operation::list_environment_actions::ListEnvironmentActionsOutput::items): <p>The results of <code>ListEnvironmentActions</code>.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_environment_actions::ListEnvironmentActionsOutput::next_token): <p>When the number of environment actions is greater than the default value for the <code>MaxResults</code> parameter, or if you explicitly specify a value for <code>MaxResults</code> that is less than the number of environment actions, the response includes a pagination token named <code>NextToken</code>. You can specify this <code>NextToken</code> value in a subsequent call to <code>ListEnvironmentActions</code> to list the next set of environment actions.</p>
/// - On failure, responds with [`SdkError<ListEnvironmentActionsError>`](crate::operation::list_environment_actions::ListEnvironmentActionsError)
pub fn list_environment_actions(&self) -> crate::operation::list_environment_actions::builders::ListEnvironmentActionsFluentBuilder {
crate::operation::list_environment_actions::builders::ListEnvironmentActionsFluentBuilder::new(self.handle.clone())
}
}