SESV2Client.create_tenant_resource_association
rboto-sesv2==0.4.0 · Service index · Types
Model summary (excerpt): Associate a resource with a tenant. Resources can be email identities, configuration sets, or email templates. When you associate a resource with a tenant, you can use that resource when sending emails on behalf of that tenant. A single resource can be associated with multiple tenants, allowing for resource sharing across different tenants while maintaining isolation in email sending operations.
Install and imports
from rboto import SESV2Client
from rboto_sesv2.types import (
CreateTenantResourceAssociationOutput,
)
Signature
async def create_tenant_resource_association(
*,
tenant_name: str,
resource_arn: str,
) -> CreateTenantResourceAssociationOutput: ...
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 associate the resource with. |
resource_arn |
Yes | The Amazon Resource Name (ARN) of the resource to associate with the tenant. |
Output
CreateTenantResourceAssociationOutput.
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
CreateTenantResourceAssociationOutput
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:
AlreadyExistsError, BadRequestError, NotFoundError, TooManyRequestsError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.