1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListIdentityPolicies`](crate::operation::list_identity_policies::builders::ListIdentityPoliciesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`identity(impl Into<String>)`](crate::operation::list_identity_policies::builders::ListIdentityPoliciesFluentBuilder::identity) / [`set_identity(Option<String>)`](crate::operation::list_identity_policies::builders::ListIdentityPoliciesFluentBuilder::set_identity):<br>required: **true**<br><p>The identity that is associated with the policy for which the policies are listed. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: <code>user@example.com</code>, <code>example.com</code>, <code>arn:aws:ses:us-east-1:123456789012:identity/example.com</code>.</p> <p>To successfully call this operation, you must own the identity.</p><br>
    /// - On success, responds with [`ListIdentityPoliciesOutput`](crate::operation::list_identity_policies::ListIdentityPoliciesOutput) with field(s):
    ///   - [`policy_names(Vec::<String>)`](crate::operation::list_identity_policies::ListIdentityPoliciesOutput::policy_names): <p>A list of names of policies that apply to the specified identity.</p>
    /// - On failure, responds with [`SdkError<ListIdentityPoliciesError>`](crate::operation::list_identity_policies::ListIdentityPoliciesError)
    pub fn list_identity_policies(&self) -> crate::operation::list_identity_policies::builders::ListIdentityPoliciesFluentBuilder {
        crate::operation::list_identity_policies::builders::ListIdentityPoliciesFluentBuilder::new(self.handle.clone())
    }
}