list_tenant_resources
async
¶
list_tenant_resources(
tenant_name: TenantName,
*,
config_overrides: Optional[AsyncSESv2ClientConfig] = None,
filter: Optional[ListTenantResourcesFilter] = None,
page_size: Optional[MaxItems] = None,
next_token: Optional[NextToken] = None,
) -> ListTenantResourcesResponse
List all resources associated with a specific tenant.
This operation returns a list of resources (email identities, configuration sets, or email templates) that are associated with the specified tenant. You can optionally filter the results by resource type.
Parameters:
-
tenant_name(TenantName) –The name of the tenant to list resources for.
-
filter(Optional[ListTenantResourcesFilter], default:None) –A map of filter keys and values for filtering the list of tenant resources. Currently, the only supported filter key is
RESOURCE_TYPE. -
page_size(Optional[MaxItems], default:None) –The number of results to show in a single call to
ListTenantResources. If the number of results is larger than the number you specified in this parameter, then the response includes aNextTokenelement, which you can use to obtain additional results. -
next_token(Optional[NextToken], default:None) –A token returned from a previous call to
ListTenantResourcesto indicate the position in the list of tenant resources.
Raises:
-
BadRequestException–The input you provided is invalid.
-
NotFoundException–The resource you attempted to access doesn't exist.
-
TooManyRequestsException–Too many requests have been made to the operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sesv2/_services/async_se_sv2.py
4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 | |