SESV2Client.delete_tenant_resource_association
rboto-sesv2==0.4.0 · Service index · Types
Model summary (excerpt): Delete an association between a tenant and a resource. When you delete a tenant-resource association, the resource itself is not deleted, only its association with the specific tenant is removed. After removal, the resource will no longer be available for use with that tenant's email sending operations.
Install and imports
from rboto import SESV2Client
from rboto_sesv2.types import (
DeleteTenantResourceAssociationOutput,
)
Signature
async def delete_tenant_resource_association(
*,
tenant_name: str,
resource_arn: str,
) -> DeleteTenantResourceAssociationOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
tenant_name |
Yes | The name of the tenant to remove the resource association from. |
resource_arn |
Yes | The Amazon Resource Name (ARN) of the resource to remove from the tenant association. |
Output
DeleteTenantResourceAssociationOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
No fields.
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
DeleteTenantResourceAssociationOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_sesv2.exceptions:
BadRequestError, NotFoundError, TooManyRequestsError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.