aws_sdk_transfer/client/list_security_policies.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListSecurityPolicies`](crate::operation::list_security_policies::builders::ListSecurityPoliciesFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_security_policies::builders::ListSecurityPoliciesFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`max_results(i32)`](crate::operation::list_security_policies::builders::ListSecurityPoliciesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_security_policies::builders::ListSecurityPoliciesFluentBuilder::set_max_results):<br>required: **false**<br><p>Specifies the number of security policies to return as a response to the <code>ListSecurityPolicies</code> query.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_security_policies::builders::ListSecurityPoliciesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_security_policies::builders::ListSecurityPoliciesFluentBuilder::set_next_token):<br>required: **false**<br><p>When additional results are obtained from the <code>ListSecurityPolicies</code> command, a <code>NextToken</code> parameter is returned in the output. You can then pass the <code>NextToken</code> parameter in a subsequent command to continue listing additional security policies.</p><br>
/// - On success, responds with [`ListSecurityPoliciesOutput`](crate::operation::list_security_policies::ListSecurityPoliciesOutput) with field(s):
/// - [`next_token(Option<String>)`](crate::operation::list_security_policies::ListSecurityPoliciesOutput::next_token): <p>When you can get additional results from the <code>ListSecurityPolicies</code> operation, a <code>NextToken</code> parameter is returned in the output. In a following command, you can pass in the <code>NextToken</code> parameter to continue listing security policies.</p>
/// - [`security_policy_names(Vec::<String>)`](crate::operation::list_security_policies::ListSecurityPoliciesOutput::security_policy_names): <p>An array of security policies that were listed.</p>
/// - On failure, responds with [`SdkError<ListSecurityPoliciesError>`](crate::operation::list_security_policies::ListSecurityPoliciesError)
pub fn list_security_policies(&self) -> crate::operation::list_security_policies::builders::ListSecurityPoliciesFluentBuilder {
crate::operation::list_security_policies::builders::ListSecurityPoliciesFluentBuilder::new(self.handle.clone())
}
}