disassociate_email_address_alias
async
¶
disassociate_email_address_alias(
email_address_id: EmailAddressId,
instance_id: InstanceId,
alias_configuration: AliasConfiguration,
*,
config_overrides: Optional[AsyncConnectClientConfig] = 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/async_connect.py
11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 | |