start_outbound_email_contact
¶
start_outbound_email_contact(
instance_id: InstanceId,
contact_id: ContactId,
destination_email_address: EmailAddressInfo,
email_message: OutboundEmailContent,
*,
config_overrides: Optional[ConnectClientConfig] = None,
from_email_address: Optional[EmailAddressInfo] = None,
additional_recipients: Optional[OutboundAdditionalRecipients] = None,
client_token: Optional[ClientToken] = None,
) -> StartOutboundEmailContactResponse
Initiates a flow to send an agent reply or outbound email contact (created from the CreateContact API) to a customer.
Parameters:
-
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.
-
contact_id(ContactId) –The identifier of the contact in this instance of Connect Customer.
-
from_email_address(Optional[EmailAddressInfo], default:None) –The email address associated with the Connect Customer instance.
-
destination_email_address(EmailAddressInfo) –The email address of the customer.
-
additional_recipients(Optional[OutboundAdditionalRecipients], default:None) –The additional recipients address of email in CC.
-
email_message(OutboundEmailContent) –The email message body to be sent to the newly created email.
-
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.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
ServiceQuotaExceededException–The service quota has been exceeded.
-
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
23696 23697 23698 23699 23700 23701 23702 23703 23704 23705 23706 23707 23708 23709 23710 23711 23712 23713 23714 23715 23716 23717 23718 23719 23720 23721 23722 23723 23724 23725 23726 23727 23728 23729 23730 23731 23732 23733 23734 23735 23736 23737 23738 23739 23740 23741 23742 23743 23744 23745 23746 23747 23748 23749 23750 23751 23752 23753 23754 23755 23756 23757 23758 23759 23760 23761 23762 23763 23764 23765 23766 23767 23768 23769 23770 23771 23772 23773 23774 23775 23776 23777 23778 23779 23780 23781 | |