list_origination_numbers
¶
list_origination_numbers(
*,
config_overrides: Optional[SNSClientConfig] = None,
next_token: Optional[nextToken] = None,
max_results: Optional[MaxItemsListOriginationNumbers] = None,
) -> ListOriginationNumbersResult
Lists the calling Amazon Web Services account's dedicated origination numbers and their metadata. For more information about origination numbers, see Origination numbers in the Amazon SNS Developer Guide.
Parameters:
-
next_token(Optional[nextToken], default:None) –Token that the previous
ListOriginationNumbersrequest returns. -
max_results(Optional[MaxItemsListOriginationNumbers], default:None) –The maximum number of origination numbers to return.
Raises:
-
AuthorizationErrorException–Indicates that the user has been denied access to the requested resource.
-
InternalErrorException–Indicates an internal service error.
-
InvalidParameterException–Indicates that a request parameter does not comply with the associated constraints.
-
ThrottledException–Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.
-
ValidationException–Indicates that a parameter in the request is invalid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sns/_services/sns.py
1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 | |