associate_email_address_alias
¶
associate_email_address_alias(
email_address_id: EmailAddressId,
instance_id: InstanceId,
alias_configuration: AliasConfiguration,
*,
config_overrides: Optional[ConnectClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> AssociateEmailAddressAliasResponse
Associates an email address alias with an existing email address in an Connect Customer instance. This creates a forwarding relationship where emails sent to the alias email address are automatically forwarded to the primary email address.
Use cases
Following are common uses cases for this API:
-
Unified customer support: Create multiple entry points (for example, [email protected], [email protected], [email protected]) that all forward to a single agent queue for streamlined management.
-
Department consolidation: Forward emails from legacy department addresses (for example, [email protected], [email protected]) to a centralized customer service email during organizational restructuring.
-
Brand management: Enable you to use familiar brand-specific email addresses that forward to the appropriate Connect Customer instance email address.
Important things to know
-
Each email address can have a maximum of one alias. You cannot create multiple aliases for the same email address.
-
If the alias email address already receives direct emails, it continues to receive direct emails plus forwarded emails.
-
You cannot chain email aliases together (that is, create an alias of an alias).
AssociateEmailAddressAlias does not return the following information:
-
A confirmation of the alias relationship details (you must call DescribeEmailAddress to verify).
-
The timestamp of when the association occurred.
-
The status of the forwarding configuration.
Endpoints: See Connect Customer endpoints and quotas.
Related operations
-
DisassociateEmailAddressAlias: Removes the alias association between two email addresses in an Connect Customer instance.
-
DescribeEmailAddress: View current alias configurations for an email address.
-
SearchEmailAddresses: Find email addresses and their alias relationships across an instance.
-
CreateEmailAddress: Create new email addresses that can participate in alias relationships.
-
DeleteEmailAddress: Remove email addresses (automatically removes any alias relationships).
-
UpdateEmailAddressMetadata: Modify email address properties (does not affect alias relationships).
Parameters:
-
email_address_id(EmailAddressId) –The identifier of the email address.
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
alias_configuration(AliasConfiguration) –Configuration object that specifies which email address will serve as the alias. The specified email address must already exist in the Connect Customer instance and cannot already be configured as an alias or have an alias of its own.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
IdempotencyException–An entity with the same name already exists.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
ResourceConflictException–A resource already has that name.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/connect.py
1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 | |