list_whats_app_template_library
async
¶
list_whats_app_template_library(
id: LinkedWhatsAppBusinessAccountId,
*,
config_overrides: Optional[AsyncSocialMessagingClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
filters: Optional[Filter] = None,
) -> ListWhatsAppTemplateLibraryOutput
Lists templates available in Meta's template library for WhatsApp messaging.
Parameters:
-
next_token(Optional[NextToken], default:None) –The token for the next page of results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return per page (1-100).
-
id(LinkedWhatsAppBusinessAccountId) –The ID of the WhatsApp Business Account to list library templates for.
-
filters(Optional[Filter], default:None) –Map of filters to apply (searchKey, topic, usecase, industry, language).
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ValidationException–The request contains an invalid parameter value.
-
AccessDeniedByMetaException–You do not have sufficient access to perform this action.
-
DependencyException–Thrown when performing an action because a dependency would be broken.
-
InternalServiceException–The request processing has failed because of an unknown error, exception, or failure.
-
InvalidParametersException–One or more parameters provided to the action are not valid.
-
ResourceNotFoundException–The resource was not found.
-
ThrottledRequestException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_socialmessaging/_services/async_social_messaging.py
1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 | |