aws_sdk_sns/client/
list_platform_applications.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 [`ListPlatformApplications`](crate::operation::list_platform_applications::builders::ListPlatformApplicationsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_platform_applications::builders::ListPlatformApplicationsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`next_token(impl Into<String>)`](crate::operation::list_platform_applications::builders::ListPlatformApplicationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_platform_applications::builders::ListPlatformApplicationsFluentBuilder::set_next_token):<br>required: **false**<br><p><code>NextToken</code> string is used when calling <code>ListPlatformApplications</code> action to retrieve additional records that are available after the first page results.</p><br>
8    /// - On success, responds with [`ListPlatformApplicationsOutput`](crate::operation::list_platform_applications::ListPlatformApplicationsOutput) with field(s):
9    ///   - [`platform_applications(Option<Vec::<PlatformApplication>>)`](crate::operation::list_platform_applications::ListPlatformApplicationsOutput::platform_applications): <p>Platform applications returned when calling <code>ListPlatformApplications</code> action.</p>
10    ///   - [`next_token(Option<String>)`](crate::operation::list_platform_applications::ListPlatformApplicationsOutput::next_token): <p><code>NextToken</code> string is returned when calling <code>ListPlatformApplications</code> action if additional records are available after the first page results.</p>
11    /// - On failure, responds with [`SdkError<ListPlatformApplicationsError>`](crate::operation::list_platform_applications::ListPlatformApplicationsError)
12    pub fn list_platform_applications(&self) -> crate::operation::list_platform_applications::builders::ListPlatformApplicationsFluentBuilder {
13        crate::operation::list_platform_applications::builders::ListPlatformApplicationsFluentBuilder::new(self.handle.clone())
14    }
15}