ServiceResource / Collection / platform_applications

platform_applications#

SNS.ServiceResource.platform_applications#

A collection of PlatformApplication resources.A PlatformApplication Collection will include all resources by default, and extreme caution should be taken when performing actions on all resources.

all()#

Creates an iterable of all PlatformApplication resources in the collection.

See also: AWS API Documentation

Request Syntax

platform_application_iterator = sns.platform_applications.all()
Return type:

list(sns.PlatformApplication)

Returns:

A list of PlatformApplication resources

filter(**kwargs)#

Creates an iterable of all PlatformApplication resources in the collection filtered by kwargs passed to method. A PlatformApplication collection will include all resources by default if no filters are provided, and extreme caution should be taken when performing actions on all resources.

See also: AWS API Documentation

Request Syntax

platform_application_iterator = sns.platform_applications.filter(
    NextToken='string'
)
Parameters:

NextToken (string) – NextToken string is used when calling ListPlatformApplications action to retrieve additional records that are available after the first page results.

Return type:

list(sns.PlatformApplication)

Returns:

A list of PlatformApplication resources

limit(**kwargs)#

Creates an iterable up to a specified amount of PlatformApplication resources in the collection.

See also: AWS API Documentation

Request Syntax

platform_application_iterator = sns.platform_applications.limit(
    count=123
)
Parameters:

count (integer) – The limit to the number of resources in the iterable.

Return type:

list(sns.PlatformApplication)

Returns:

A list of PlatformApplication resources

page_size(**kwargs)#

Creates an iterable of all PlatformApplication resources in the collection, but limits the number of items returned by each service call by the specified amount.

See also: AWS API Documentation

Request Syntax

platform_application_iterator = sns.platform_applications.page_size(
    count=123
)
Parameters:

count (integer) – The number of items returned by each service call

Return type:

list(sns.PlatformApplication)

Returns:

A list of PlatformApplication resources