disassociate_email_address_alias
¶
disassociate_email_address_alias(
email_address_id: EmailAddressId,
instance_id: InstanceId,
alias_configuration: AliasConfiguration,
*,
config_overrides: Optional[ConnectClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> DisassociateEmailAddressAliasResponse
Removes the alias association between two email addresses in an Connect Customer instance. After disassociation, emails sent to the former alias email address are no longer forwarded to the primary email address. Both email addresses continue to exist independently and can receive emails directly.
Use cases
Following are common uses cases for this API:
-
Department separation: Remove alias relationships when splitting a consolidated support queue back into separate department-specific queues.
-
Email address retirement: Cleanly remove forwarding relationships before decommissioning old email addresses.
-
Organizational restructuring: Reconfigure email routing when business processes change and aliases are no longer needed.
Important things to know
-
Concurrent operations: This API uses distributed locking, so concurrent operations on the same email addresses may be temporarily blocked.
-
Emails sent to the former alias address are still delivered directly to that address if it exists.
-
You do not need to delete the email addresses after disassociation. Both addresses remain active independently.
-
After a successful disassociation, you can immediately create a new alias relationship with the same addresses.
-
200 status means alias was successfully disassociated.
DisassociateEmailAddressAlias does not return the following information:
-
Details in the response about the email that was disassociated. The response returns an empty body.
-
The timestamp of when the disassociation occurred.
Endpoints: See Connect Customer endpoints and quotas.
Related operations
-
AssociateEmailAddressAlias: Associates an email address alias with an existing email address 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 alias relationship to remove. The alias association must currently exist between the primary email address and the specified alias email address.
-
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.
-
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
11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 | |