PinpointSMSVoiceV2.Paginator.
DescribeOptedOutNumbers
¶paginator = client.get_paginator('describe_opted_out_numbers')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from PinpointSMSVoiceV2.Client.describe_opted_out_numbers()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
OptOutListName='string',
OptedOutNumbers=[
'string',
],
Filters=[
{
'Name': 'end-user-opted-out',
'Values': [
'string',
]
},
],
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The OptOutListName or OptOutListArn of the OptOutList. You can use DescribeOptOutLists to find the values for OptOutListName and OptOutListArn.
An array of phone numbers to search for in the OptOutList.
An array of OptedOutFilter objects to filter the results on.
The information for opted out numbers that meet a specified criteria.
The name of the attribute to filter on.
An array of values to filter for.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'OptOutListArn': 'string',
'OptOutListName': 'string',
'OptedOutNumbers': [
{
'OptedOutNumber': 'string',
'OptedOutTimestamp': datetime(2015, 1, 1),
'EndUserOptedOut': True|False
},
],
}
Response Structure
(dict) --
OptOutListArn (string) --
The Amazon Resource Name (ARN) of the OptOutList.
OptOutListName (string) --
The name of the OptOutList.
OptedOutNumbers (list) --
An array of OptedOutNumbersInformation objects that provide information about the requested OptedOutNumbers.
(dict) --
The information for an opted out number in an Amazon Web Services account.
OptedOutNumber (string) --
The phone number that is opted out.
OptedOutTimestamp (datetime) --
The time that the op tout occurred, in UNIX epoch time format.
EndUserOptedOut (boolean) --
This is set to true if it was the end recipient that opted out.