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
23933 23934 23935 23936 23937 23938 23939 23940 23941 23942 23943 23944 23945 23946 23947 23948 23949 23950 23951 23952 23953 23954 23955 23956 23957 23958 23959 23960 23961 23962 23963 23964 23965 23966 23967 23968 23969 23970 23971 23972 23973 23974 23975 23976 23977 23978 23979 23980 23981 23982 23983 23984 23985 23986 23987 23988 23989 23990 23991 23992 23993 23994 23995 23996 23997 23998 23999 24000 24001 24002 24003 24004 24005 24006 24007 24008 24009 24010 24011 24012 24013 24014 24015 24016 24017 24018 | |