SESV2 / Client / delete_tenant_resource_association

delete_tenant_resource_association

SESV2.Client.delete_tenant_resource_association(**kwargs)

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.

See also: AWS API Documentation

Request Syntax

response = client.delete_tenant_resource_association(
    TenantName='string',
    ResourceArn='string'
)
Parameters:
  • TenantName (string) –

    [REQUIRED]

    The name of the tenant to remove the resource association from.

  • ResourceArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the resource to remove from the tenant association.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

    If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

Exceptions

  • SESV2.Client.exceptions.NotFoundException

  • SESV2.Client.exceptions.TooManyRequestsException

  • SESV2.Client.exceptions.BadRequestException